Have some problem TJA1145 SPI receive data

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Have some problem TJA1145 SPI receive data

1,689件の閲覧回数
kimmk
Contributor III

"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.
스크린샷 2025-03-26 111349.png


However, according to the MCU, the same data as MOSI was observed on the MISO pin through the oscilloscope.

Scope Capture.jpg

C1 : MISO | C2 : MOSI | C3 : CLK | C4 : CS

I am curious about what I might have missed that could have caused this issue.

タグ(3)
0 件の賞賛
返信
5 返答(返信)

1,681件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

Hi kimmk

What about read for others registers? still back to wrong data for same issue ?

0 件の賞賛
返信

1,676件の閲覧回数
kimmk
Contributor III

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.

Scope Capture_Write.jpg

 

The second photo shows the operation of reading register 0x01 to check if it has been applied correctly.

Scope Capture_Read.jpg

I am experiencing the same symptoms in all communication operations, and I am unable to determine what I have configured incorrectly.

タグ(2)
0 件の賞賛
返信

1,640件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

Should be the SPI configuration issue,I suggest to download the example drive for reference.

TJA1145A | HS CAN Partial Networking Transceiver | NXP Semiconductors

guoweisun_0-1743039781041.png

 

0 件の賞賛
返信

1,629件の閲覧回数
kimmk
Contributor III

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.
스크린샷 2025-03-27 142053.png

タグ(1)
0 件の賞賛
返信

1,615件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

That's better for your to sign NDA also you can do on line:

Support | NXP Semiconductors

Because lots of products need customer sign NDA to get support or documentations.

guoweisun_0-1743121694609.png

 

0 件の賞賛
返信