Page 1 of 1

HW_EnterPowerDown not working if activity on CAN2

Posted: Tue 20. Sep 2022, 19:53
by cgmollo62
Hi. In our router firmware we call HW_EnterPowerDown if there are no messages received on CAN1 for more than 5 seconds. However, the router was not powering-down (sleeping) as expected until we removed a device connected to the CAN2 side of the router. This device was periodically sending a CAN message. Our firmware does not read any messages from CAN2. Will message activity on the CAN2 port override the call to HW_EnterPowerDown? Please advise. We are using router IPEH-002214. Thanks!

Chris Mollo
Sr. Project Engineer
AVL Mobility Technologies, Inc.

Re: HW_EnterPowerDown not working if activity on CAN2

Posted: Wed 21. Sep 2022, 09:54
by PEAK-Support
If you power down the system with

Code: Select all

HW_EnterPowerDown();
every received CAN frame on CAN1 or CAN2 will wake up the router again.
This is set in the hardware layout by the solder jumpers.
We have added these solder jumpers in our design which allow to enable/disable the function for each CAN channel separately.
Please send us a short email to support[at]peak-system.com, and we will send you more technical information on how to prepare the device for your needs.
We do not want to publish this part of the schematic in a public forum.

Re: HW_EnterPowerDown not working if activity on CAN2

Posted: Wed 21. Sep 2022, 13:39
by cgmollo62
Thank you very much for the quick reply. I guess I was stuck on the thought that only CAN data received on CAN1 would wake the router. I will email you for the schematic on the solder jumpers to configure the router to not wake on CAN2 traffic. Thanks again!