FS2400 CAN wake up

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FS2400 CAN wake up

699件の閲覧回数
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 返答(返信)

686件の閲覧回数
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 件の賞賛
返信

689件の閲覧回数
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 件の賞賛
返信