SBC FS65 SPI COMMUNICATION ISSUE

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

SBC FS65 SPI COMMUNICATION ISSUE

2,428 次查看
Shailendrag
Contributor I

Hi

Am trying to create a SPI Communication between SBC Evolution Board KITFS6523CAEEVM and AURIX Controller TC387. In loopback it's working fine. But when trying with SBC board am facing issue. Am trying to read SPI register using read command (0x1400). As per sheet am expecting response as 0x0FD2. But when am sending 10 read command am getting around two times correct response (Not always) and rest are incorrect. Response are fluctuating. Tried by reading other register also but facing same issue, response are not constant

Pls help me on this

Thanks

Shailendra

标签 (1)
0 项奖励
回复
1 回复

2,420 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Shailendra,

Do you have a logic analyzer or an oscilloscope to see what is going on the bus and double check the proper format/timing?

Note that the FS65 uses the ‘Mode 1′ SPI protocol, which means that the base value of the SCLK signal is zero (CPOL = 0), data are sampled on a falling edge and changed on a rising edge (CPHA = 1).

SPI.JPG

 

Best regards,

Tomas

0 项奖励
回复