HW_EnterPowerDown not working if activity on CAN2

Universal Programmable Converter for CAN FD and CAN
Post Reply
cgmollo62
Posts: 10
Joined: Tue 28. Jun 2022, 13:06

HW_EnterPowerDown not working if activity on CAN2

Post by cgmollo62 » Tue 20. Sep 2022, 19:53

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.

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: HW_EnterPowerDown not working if activity on CAN2

Post by PEAK-Support » Wed 21. Sep 2022, 09:54

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.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

cgmollo62
Posts: 10
Joined: Tue 28. Jun 2022, 13:06

Re: HW_EnterPowerDown not working if activity on CAN2

Post by cgmollo62 » Wed 21. Sep 2022, 13:39

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!

Post Reply