Reading statue registers of sja1124

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Reading statue registers of sja1124

530 次查看
Khaled_tn
Contributor II

Hello,

 I managed to send spi frames to my Eval board of the SJA1124 although the frames I am receiving (SDO) are identical to the ones I am sending.

for example, after calling the SJA1124_Init, I've sent the frame {0x10, 0x83, 0, 0, 0, 0} to read the interruptions registers, I've received the Identical frame from the SDO pin from the board. I've also tried to send the frame {0x10, 0x83, F, F, F, F} to check if I will get the same response I've received the frame {0x10, 0x83, F, F, F, F}.


Someone have any idea haw should normally the board responds to the SPI frames (through the SDO pin)?
Thanks.

0 项奖励
回复
2 回复数

489 次查看
Khaled_tn
Contributor II

Hello Tomas, thank you for your answer but I am already using the function of the example application and SJA1124 software driver. I will take a look at the application hints to see if there is a solution there.
Khaled

0 项奖励
回复

498 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Khaled,

It is hard to say what is wrong, I would recommend you to download and take a look at the following items which are available as Secure Files (requiring an NDA) on the SJA1124 website:

1. SJA1124 - Example software package including the example application and SJA1124 software driver.

Image_2022-10-12_13-18-58.png

2. AH1705 (AH504214 - SJA1124 / TJA1124 Application Hints (1.4))

Image_2022-10-12_13-19-56.png

If your company has not signed the NDA with NXP yet, you can request it from:
https://www.nxp.com/support/support:SUPPORTHOME

And for more information about Secure access rights, please refer to this website:
https://www.nxp.com/support/support/secure-access-rights:SEC-ACCESS

BR, Tomas

0 项奖励
回复