The chip manual states that AFR0 and AFR1 cannot be used at the same time
AFR1 Alternate function remapping option 1 (2)
0: AFR1 remapping option inactive: default alternate function(1);
1: Port A3 alternate function = SPI_NSS; port D2 alternate function =TIM2_CH3.
AFR0 Alternate function remapping option 0(2)
0: AFR0 remapping option inactive: Default alternate functions(1);
1: Port C5 alternate function = TIM2_CH1; port C6 alternate function =TIM1_CH1; port C7 alternate function = TIM1_CH2.
1. Refer to the pinout description.
2. Do not use more than one remapping option in the same port. It is forbidden to enable both AFR1 and AFR0.
In fact, there is no problem in testing simultaneous use, just pay attention to the ports.
In addition, ST-LINK-->option bytes in IAR also need to be configured accordingly. The figure shows that AFR0 is configured.
The official STVP is also configured during burning.
Previous article:IAR EW for STM8 3.11.1 Chinese package Chinese tutorial
Next article:Common problems and solutions for STM8 microcontrollers
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- EEWORLD University - How to design a single-phase shunt meter using an independent metering ADC
- Rectification circuit filtering
- [2022 Digi-Key Innovation Design Competition] STM32F7508-DK and other materials unboxing
- Have you ever used a conical inductor?
- MSP430 download unknown devices problem solved
- [Project source code] Audio acquisition + FFT spectrum analysis + VGA display spectrum value based on FPGA
- EPLAN
- Download to get gifts | TE outdoor monitoring, an important guarantee and trend choice for creating a safe and stable society!
- How to process the signal of BLDC feedback speed measuring motor
- Seeking agent chip GD32F405