Problems placing TJA1145 CAN Transceiver into sleep mode

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

Problems placing TJA1145 CAN Transceiver into sleep mode

2,354 Views
matthewdreisbac
Contributor I


I have seemingly tried everything to get the TJA1145 into sleep mode. According to the data sheet the TJA1145 will enter sleep mode if "there are no pending wake-up events and at least one regular wake-up source" I have tried using both the WAKE pin and the partial networking features with no luck. CWE is enabled, CW is cleared, WPRE and WPFE are enabled, PNCOK is configured correctly, CPNC is enabled. Still when the TJA1145 is set to sleep mode (MC = 001) it is unable to enter sleep mode. What am I missing here?

Labels (1)
4 Replies

1,432 Views
snow
Contributor I

Hello! Now I have the same problem, that I can't control the TJA1145 to enter the sleep mode. And I also clear the event status. But the System event status register (address 61h), PO bit is always 1 , and I set 1 to clear isn't useful. So the TJA1145 can't enter the sleep mode. And now I don't konw how to solve it...

0 Kudos

1,432 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello,

The following flow chart might help you with entering Sleep Mode:

pastedImage_1.png

Best regards,

Tomas

0 Kudos

1,432 Views
yuezhao
Contributor II

Hello: I experienced a problem with TJA 1145 also...

I'm able to put it to sleep, but I want it to wake up via a specific signal inside message 0x3C0, so I tried to set Frame control register to 0x5E48, which according to my understanding, it should check all 8 data bytes in 0x3C0 based on my data mask setting.  Then I set the data masks:

#define PNDMMask0 0xD000
#define PNDMMask1 0xD200 
#define PNDMMask2 0xD400
#define PNDMMask3 0xD600
#define PNDMMask4 0xD800
#define PNDMMask5 0xDA00
#define PNDMMask6 0xDC00
#define PNDMMask7 0xDE00

According to the datasheet, if I set them all to 00, it should never wake up. however, I'm able to wake it up with all the following messages.

0x3C0: 00 00 00 00 00 00 00 00,

0x3C0: 00 00 00 00 00 00 00,

0x3C0: 00 00

Do you know what I did wrong here?

Thanks!

0 Kudos

1,432 Views
matthewdreisbac
Contributor I

I found my problem, Entering Sleep Mode requires clearing of all pending events. accomplished by writing "1" to all the event status' 61h through 64h.