I attached the code I am using. Slightly modified from original example. On my side the effect is reproducible (for broken.c I use the command 0x55 AA 02).
My setup meets all conditions mentioned. I also disconnect PCAN-USB.
Router Label: IPEH-002212 00857
Lib used: libPCAN-Router-ProGNU1.0.1ys.a ...
Search found 4 matches
- Fri 21. Feb 2020, 16:38
- Forum: PCAN-Router Pro
- Topic: How-to configure the router to wake-up by CAN using C-code
- Replies: 7
- Views: 9895
- Thu 20. Feb 2020, 18:24
- Forum: PCAN-Router Pro
- Topic: How-to configure the router to wake-up by CAN using C-code
- Replies: 7
- Views: 9895
Re: How-to configure the router to wake-up by CAN using C-code
The code example "5_RTC" is working and router is correctly waking-up by alarm or CAN input.
However, if I strip down the example to not configure RTC (uncommenting call to main_checkRTC()), neither putting the system to sleep does work (LEDs still on) nor waking it up again.
Seems the router is ...
However, if I strip down the example to not configure RTC (uncommenting call to main_checkRTC()), neither putting the system to sleep does work (LEDs still on) nor waking it up again.
Seems the router is ...
- Wed 19. Feb 2020, 15:22
- Forum: PCAN-Router Pro
- Topic: How-to configure the router to wake-up by CAN using C-code
- Replies: 7
- Views: 9895
Re: How-to configure the router to wake-up by CAN using C-code
Hello S.Schott, Thanks for your reply.
I tried both settings (_MODE_POWERDOWN and _MODE_STANDBY) without success.
Are those the only settings I need to take care of?
I tried both settings (_MODE_POWERDOWN and _MODE_STANDBY) without success.
Are those the only settings I need to take care of?
- Wed 19. Feb 2020, 13:18
- Forum: PCAN-Router Pro
- Topic: How-to configure the router to wake-up by CAN using C-code
- Replies: 7
- Views: 9895
How-to configure the router to wake-up by CAN using C-code
Hi all,
I am looking for configuration help/code snippets to enable the PCAN-Router Pro to wake-up by CAN using the C-API.
Putting the router to sleep works with this code
CAN_SetTransceiverMode(CAN_BUS1, CAN_TRANSCEIVER_MODE_WAKEUP);
CAN_SetTransceiverMode(CAN_BUS2, CAN_TRANSCEIVER_MODE_WAKEUP ...
I am looking for configuration help/code snippets to enable the PCAN-Router Pro to wake-up by CAN using the C-API.
Putting the router to sleep works with this code
CAN_SetTransceiverMode(CAN_BUS1, CAN_TRANSCEIVER_MODE_WAKEUP);
CAN_SetTransceiverMode(CAN_BUS2, CAN_TRANSCEIVER_MODE_WAKEUP ...