We are using Aurix TC3xx microcontroller and NXP FS65XX SBC for our project work.
We have the following requirement:
a) When the Microcontroller is ON CAN communication should be enabled.
b) When Microcontroller puts SBC to LPOFF mode, CAN should be OFF.
c) When there is a wakeup event on CAN channel, SBC shall wake up Microcontroller and resume Normal CAN communication.
Help us to understand which configuration is correct for implementing CAN wakeup functionality using the SBC CAN Trcvr.
1. Configure SBC CANTrcvr with CAN Mode as 11 mode (Normal Mode) during SBC initialization, for enabling the CAN communication (TX and RX). And before SBC goes to LPOFF mode ( During the Microcontroller ShutDown stage), configure the SBC CANTrcvr with CAN Mode as 10 mode (Sleep/Wakeup capability). Once the wakeup event on CAN occurred, configure the CAN mode to 11 for enabling the normal CAN communication.
2. Configure SBC CANTrcvr with CAN Mode as 10 mode (Sleep/Wakeup Capability) during SBC initialization and automatically CAN communication is started. Microcontroller puts the SBC to LPOFF mode. And when there is a wakeup event on CAN, SBC comes out of LPOFF mode and SBC will restore CAN mode initial configuration (10 ->Sleep/Wakeup capability) and normal CAN communication resumes.
Thanks,
Abhinand D