本帖最后由 oxygenzz 于 2019-4-4 18:03 编辑
楼主CANTX和CANRX脚是用哪个?怎么配置的?有使能IO中断吗?
K80的ECAN模块进入SLEEP模式后,CANTX 状态由IO 寄存器TRIS/LAT控制。是否是这个原因导致异常唤醒?
Disable/Sleep mode reverts CANTX control to TRISx/LATx instead of going to Recessive
state.
In normal mode, the CAN module automatically overrides the appropriate TRIS bit for CANTX. The user
must ensure that the appropriate TRIS bit for CANRX is set.
|