STM8S103 OptionByte 若同时使能AFR0和AFR1 有什么前车经验借鉴?

2019-07-19 21:03发布

大家好!

本人刚接触ST单片机,最近在调试STM8S103,发现一个问题,请教大家。
数据手册上关于管脚映射的说明如下所示:

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.

问题:
我在调试中发现:即使同时使能了上述两项(AFR0,AFR1),MCU似乎也正常工作。
现在我暂时不想改动硬件设计请教大家:同时使能AFR0和AFR1会导致什么BUG吗?

谢谢!



友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。