After entering sleep,ret=SPI_read(0x22); ret=0x28,send a CAN frame with ID 121,the MCU is awakened.
But,After entering sleep,ret=SPI_read(0x22); ret=0x28,send a CAN frame with ID not 121,the MCU cannot awakened.then,ret=SPI_read(0x22); ret=0x30. COSCS=1,CBSS=0;
and if you follw the previous send a CAN frame with ID 121,the MCU cannot awakened too.
我看你写的,你是想要什么结果?
:
After entering sleep,ret=SPI_read(0x22); ret=0x28,send a CAN frame with ID 121,the MCU is awakened.
But,After entering sleep,ret=SPI_read(0x22); ret=0x28,send a CAN frame with ID not 121,the MCU cannot awakened.then,ret=SPI_read(0x22); ret=0x30. COSCS=1,CBSS=0;
and if you follw the previous send a CAN frame with ID 121,the MCU cannot awakened too.
---当进入睡眠后,发送错误帧后,再发送特定帧也能唤醒。而不是只能发送特定帧,发送错误帧后,再发送特定帧就不能唤醒
---
Furthermore a frame on the bus needs to be free of CRC, stuff and form errors to be a valid WUF.
Any error after the CRC delimiter is ignored and does not invalidate a received WUF.