cancel
Showing results for 
Search instead for 
Did you mean: 

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

hans536
Associate III

Please answer..

1 REPLY 1
hans536
Associate III

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!