The problem with reading and writing registers in TJA1145

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

The problem with reading and writing registers in TJA1145

149件の閲覧回数
DVLY
Contributor I

I tried using MCAL to deliver SPI drivers for read and write operations on TJA1145, but the data I received was always fixed and I'm not sure what caused it. Can you give me some guidance? Thank you very much

DVLY_0-1716793216763.png

The first and second times are for writing, and the third time is for re reading

IMG_20240527_145005.jpg

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

39件の閲覧回数
DVLY
Contributor I

Thank you very much for your help. I have found the reason

0 件の賞賛
返信

137件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi,

From your oscilloscope snapshot, I cannot check if the timing and format of the SPI message is correct.

A very common problem is that timing parameters are violated, so please make sure everything is in accordance with the following specs:

Capture.JPG

Capture 1.JPG

BRs, Tomas

0 件の賞賛
返信