2140522_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2140522_en-US

2140522_en-US

How can TJA1465 determine that the current wake-up cause is a specific frame wake-up

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

Re: How can TJA1465 determine that the current wake-up cause is a specific frame wake-up

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?

Re: How can TJA1465 determine that the current wake-up cause is a specific frame wake-up

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

Re: How can TJA1465 determine that the current wake-up cause is a specific frame wake-up

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.

  • To activate CAN biasing in CAN Offline mode (transition from CAN offline to CAN OfflineBias)
  • To trigger a CAN wake-up event

The following conditions must be met to trigger a wake-up event via a CAN WUP.

  • The CAN transceiver is in CAN Offline or CAN OfflineBias mode
  • CAN wake-up enabled (CWE = 1)
  • CAN wake-up frame detection (WUF) deactivated (CPNC = 0 or PNCOK = 0)

 

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.

  • Identifier-only filtering (PNDM = 0)
  • Identifier + data length code + data mask filtering (PNDM = 1)

The following conditions must be met to enable CAN WUF functionality.

  • CAN biasing needs to be activated (CAN OfflineBias, CAN ListenOnly or CAN Active mode).
  • CAN wake-up enabled (CWE = 1)
  • CAN partial networking configuration completed (PNCOK = 1)
  • CAN partial networking enabled (CPNC = 1)
  • No CAN partial networking error detected (CPNERRS = 0)
Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 06:21 PM
Updated by: