时钟选用内部时钟,当PTC3属性配置成FTM2通道3时,频率100hz,占空比50%,UART的初始化会导致系统不间断复位,屏蔽UART初始化则正常。
FTM2初始化
UART初始化
Hi,
我认为FTM2和Uart1没有任何关系, 关于你的问题,你已经允许FTM2和Uart1的中断,请检查是否有相应的中断服务程序。
你必须将中断服务程序添加到vectors.c 中。
谢谢
XiangJuneRong
Hi,
The uart of Kea128 supports Irda, it is possible that it take effects on the uart?
Pls refer to section 3.2.5 UART0/1/2_RX capture in UM of KEA128.
Hope it can provide a clue for you
BR
XiangJun Rong