TJA1128_SPI Write and Read

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

TJA1128_SPI Write and Read

652 Views
samchin
Contributor I

1. I have a question about TJA1128 read/write operation through SPI interface,
I have checked datasheet, but not find read operation in that. 
If I want to read again CRC, what is the way that I could do that?

2. Aside to Write operation for CRC value,
I should enter configuration mode, choose 0x30h of the address and set new data value.
Would it be correct if I want to change CRC value in TJA1128 IC?

Sincerely Look forward to your kindly feedback!  

pastedImage_3.png

pastedImage_2.png

pastedImage_1.png

Labels (1)
0 Kudos
1 Reply

583 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

1) the RO bit in the first byte distinguish between read or write operation. The first byte contains the 7-bit address along with a RO bit (the LSB). The RO bit must be 0 to indicate a write operation (if this bit is 1, a read operation is assumed and any data on the SDI pin is ignored).

2) the calculated CRC value must be written to CRC register when SBC configuration register (address 10h to 15h) are going to be programmed. the required steps are given in device datasheet or related Application Hint document (available through Docstore, I think).

BR, Petr

0 Kudos