FS2400 CAN wake up

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FS2400 CAN wake up

785 次查看
kk211911
Contributor I

Hello, the fs2400 works as Debug mode. when  i wake up it via CAN from LPOFF mode,  can doesn't work.  I tried to clear the CAN_WU_I flag following the data sheet, but it can not take effect.  How to clear the CAN_WU_I flag?

kk211911_0-1728541432007.png

After i dId power reset , CAN works.  

 

0 项奖励
回复
2 回复数

772 次查看
kk211911
Contributor I

I have  also tried write the whole reg to 0x0 and write CAN_WU_I bit to 0, the flag can not be cleared.

fs2400_write_register(&l_xDev, FS2400_REG_M_WU1_FLG, 0x0)

fs2400_write_bit(&l_xDev, FS2400_REG_M_WU1_FLG, FS2400_REG_M_WU1_FLG_CAN_WU_I, 0)

Any other registers should be re-init after a CAN wake-up pattern?

 

0 项奖励
回复

775 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Kun,

When the FS2400 is in Debug mode, the CAN transceiver is active regardless of the CAN_MODE[1:0] bits state of the M_CAN register.

To clear the CAN_WU_I flag, write 0 to bit 0 of the M_WU1_FLG register.  

BRs, Tomas

0 项奖励
回复