FS2400 CAN wake up

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FS2400 CAN wake up

656 Views
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 Kudos
Reply
2 Replies

643 Views
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 Kudos
Reply

646 Views
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 Kudos
Reply