Hibernation problem

We are testing

Power.Hibernate(Power.WakeUpInterrupt.CAN)

that wakeup usbizi when is activity on canbus. After first start it works ok. We send one message and usbizi wakeup ok. But after next hibernate usbizi wakeup anytime without canbus activity . :frowning:

We will look into it.

This is related to 2 things:

  1. Either you do have CAN data or error frames that causes the wakeup
  2. Or we need to clear some flag after we wakeup.

Note that this will probably not be fixed till in 4.2 is out in few month. However, you can fix this using “register” class to access the processor and make the fix. http://www.nxp.com/documents/user_manual/UM10237.pdf

From LPC2478 user manual table 62

[quote]CANWAKE When one, activity of the CAN bus will wake up the processor
from Power-down mode. Any change of state on the CAN
receive pins will cause a wakeup when this bit is set.[/quote]

So I suppose it should work. but probably Gus is right. the could be a register that should be cleared.

ok thanks I try clear register using


var reg = new Register(0xE01FC144);
reg.ClearBits(64); //canwake bit6

but its same result. :frowning:

I try attach ErrorReceivedEvent .Only When application start it was fired with args CAN.Error.BusOff and it causes sender.Reset();

I also try disconect from CANbus transceiver. (alone fez Panda throw usb power). same result

Did you found a solution?
I have the same problem.