Skip to main content
hans536
Associate III
May 17, 2023
Question

SPC58: How to wake up from standby using CAN interrupt ?

  • May 17, 2023
  • 1 reply
  • 1231 views

Please answer..

This topic has been closed for replies.

1 reply

hans536
hans536Author
Associate III
May 17, 2023

Wake up was performed through the CAN module.

As I intended, My board went into standby mode and woke up through CAN interrupt.

​What I'm wondering is if there's a problem with the way(wake up sequnce) I used it.

I proceeded in the following way.

  1. Enabled int29 of wake 0
  2. When main is executed, wkpu is stopped through wkpu_lld_stop (&WKPUD1)
  3. Before entering standby mode, wkpu_lld_start was executed

When I did this, I woke up after receiving the signal of can interrupt.

If you do this, will there be any problems?

And I have one more question.

The above method is considered to wake up by receiving high and low electrical signals on the can communication pin, rather than waking up through a can message.

Is there a way to wake up through a can message other than this way? Or is it possible?

Comments or answers are welcome!