enable wake up on received CAN messages

Announcements

From sunburn to sun earn – we’ve got the power! Watch our #poweringgreen videos now.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Kazarian
Level 2
Level 2
25 sign-ins 5 questions asked 10 replies posted

I can set the TLE9261 into stop mode successfully, the watchdog is disabled in this mode and the current consumption is in the expected range.

i want to configure the SBC so once it detect a CAN message it will wake up.

Wake pins should not be used, since they are grounded in my board (Not connected).

Kazarian_0-1673339452868.png

 

here is the sequence followed for putting the SBC into stop mode.

  1. check if SBC in normal Mode.
  2.  read SWK_STA reg = 0x40
  3. Clear SYSERR bit (BUS_STAT_1  = 0x00  )
  4. Set CAN-OFF (BUS_CTRL_1 = 0x04), then ON with SWK  (BUS_CTRL_1 = 0x05)
  5. Check SWK_STAT for SWK_SET == 1
  6. Clear Wake Status Registers WK_STAT_1 = 0x00 WK_STAT_2= 0x00
  7. Deactivate WD in stop mode WK_CTRL_1 = 0x04
  8. SET WD_STM_EN_0 to 1 WD_CTRL = 0x40
  9. Select Stop mode M_S_CTRL = 0xC0

i think since SWK_SET is set to 1, the SBC should wake up once it receive a CAN message, but this did not happen, the module never leave the stop mode.

any suggestion please.

Regards

0 Likes
1 Solution
AnilKumar
Moderator
Moderator
Moderator
First question asked 50 solutions authored 10 likes received

Hello,

Sorry for the delay.

A wake-up event on CAN and WKx during the stop mode will create an interrupt on pin INT only but not change the SBC mode. Refer Chapter 5.1.3 of datasheet.

Moreover, the data to set stop mode in M_S_CTRL should be 0x80. Please check again.

Thanks

Anil

View solution in original post

0 Likes
2 Replies
Kazarian
Level 2
Level 2
25 sign-ins 5 questions asked 10 replies posted

Hello Team,

any news about this topic ?

Thanks.

0 Likes
AnilKumar
Moderator
Moderator
Moderator
First question asked 50 solutions authored 10 likes received

Hello,

Sorry for the delay.

A wake-up event on CAN and WKx during the stop mode will create an interrupt on pin INT only but not change the SBC mode. Refer Chapter 5.1.3 of datasheet.

Moreover, the data to set stop mode in M_S_CTRL should be 0x80. Please check again.

Thanks

Anil

0 Likes