"I am trying to establish CAN communication using the S32K144 MCU and TJA1145. First, I am in the process of configuring the TJA1145 for SPI communication.
To verify that SPI communication is functioning correctly, I attempted to receive the ID value from the TJA1145. I combined the register address 0x7E with the read bit to transmit 0xFD, and the data was 0x00. I expected to receive the value 0x74, which is assigned to the register address.
However, according to the MCU, the same data as MOSI was observed on the MISO pin through the oscilloscope.
C1 : MISO | C2 : MOSI | C3 : CLK | C4 : CS
I am curious about what I might have missed that could have caused this issue.
Hi kimmk
What about read for others registers? still back to wrong data for same issue ?
Hello, guoweisun.
Other registers also exhibit the same phenomenon.
The first photo shows the operation of inputting Normal (0x07) into the Mode Control register (0x01) of the TJA1145.
The second photo shows the operation of reading register 0x01 to check if it has been applied correctly.
I am experiencing the same symptoms in all communication operations, and I am unable to determine what I have configured incorrectly.
Should be the SPI configuration issue,I suggest to download the example drive for reference.
TJA1145A | HS CAN Partial Networking Transceiver | NXP Semiconductors
I have restricted access to that item
Since drafting an NDA is outside of my authority, it is difficult for me to refer to that material.
That's better for your to sign NDA also you can do on line:
Because lots of products need customer sign NDA to get support or documentations.