I would like to ask the experts, TJA1465 is only configured with WUF. When I perform a specific frame wake-up, how can I determine the current wake-up cause? I can be sure that the CW bit will be set to 1, but there are other messages being sent on the bus, and CW will also be set to 1, which will cause interference. Are there any other ways or registers to determine the wake-up cause
The two wake-up distinctions are set in advance via CPNC / PNCOK, and he has a wake pin for local wake-ups.
The TJA1465 supports remote wake-up via a CAN wake-up pattern (WUP) or selective wake-up via a CAN wake-up frame (WUF).
---
So it's wake up with wake pin, configured with CPNC / PNCOK that is selected to wake up, do not configure CPNC / PNCOK to wake up is WUP wake up, explain clearly?
Thank you very much for your answer. Maybe I didn't describe it clearly. I have already implemented Specific Frame Wake-up (WUF). When the ECU is awakened, I would like to know if there is a way to determine through register setting or other methods that the reason for the wake-up is due to this specific frame, because there are other wake-up sources in the entire network that need to be distinguished
These two wakeups are still fundamentally different see below, as well as the settings before the wakeup:
CAN wake-up pattern (WUP)
The CAN wake-up pattern (WUP) is used for two purposes.
The following conditions must be met to trigger a wake-up event via a CAN WUP.
CAN wake-up frame (WUF)
CAN partial networking through selective wake-up detection allows a device in a CAN network to be selectively
woken up in response to a wake-up frame (WUF) on the CAN bus.
Selective wake-up detection uses one of two filtering methods.
The following conditions must be met to enable CAN WUF functionality.