Problem with wake up TJA1145

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

Problem with wake up TJA1145

980 Views
yuezhao
Contributor II

Hello: I experienced a problem with TJA 1145 

 

I'm able to put it to sleep, but I want it to wake up via a specific signal inside message 0x3A0, so I tried to set Frame control register to 0x48, 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 all to 00:

#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.

0x3A0: 00 00 00 00 00 00 00 00,

0x3A0: 00 00 00 00 00 00 00,

0x3A0: 00 00

Do you know what I did wrong here?

 

Thanks!

part of datasheet attached:


Tags (1)
1 Reply

763 Views
yuezhao
Contributor II

All helps appreciated!

0 Kudos