Disturbance on Chip Select line

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

Disturbance on Chip Select line

942件の閲覧回数
Shivaprasad_sp
Contributor II

I am working on SPI on the S32k3x Q172 Board the data is getting disturbed due to Clock/Enable line disturbances I have connected the SPI lines to the logic analyser i have observed a pattern that the clock pulse and enable line is disturbing and then data is getting corrupted ,could any one give me a solution to configure the SPI Master on S32k344 .

Sometimes I am getting the correct data but most of the time i am getting the error or incorrect data i am sending 0x1,0x2,0x3,0x4,0x5,0x6,0x7 and most of the time i am getting corrupted data i am attaching the imagesnxp1.PNGnxp2.PNGnxp3.PNG

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

838件の閲覧回数
Shivaprasad_sp
Contributor II

Hi @IsaulO 

Have you tested my code that I have shared in the post, For me I am getting some disturbances on the Enable Line. Can you share the code that you have tested or the configurations that you have done in the logic analyzer configuration side. 

0 件の賞賛
返信

793件の閲覧回数
IsaulO
NXP Employee
NXP Employee

Hi @Shivaprasad_sp 

The example we tested was the "Lpspi_Ip_Transfer_S32K344.zip" project attached in the link previously shared.

Example S32K344 SPI Transmit & Receive Using DMA DS3.5 RTD500 - NXP Community

 

Regarding the Logic Analyzer, we used the default configuration:

IsaulO_0-1733855514390.png

Hope it helps you.
BR,
IsaulO.

0 件の賞賛
返信

897件の閲覧回数
IsaulO
NXP Employee
NXP Employee

Hi @Shivaprasad_sp

In this same post I am responding to the case Incorrect data on SPI S32k3x q172 EVB - NXP Community.

From the images shared above we observe that the message coming from the Slave changes between images, we suggest you check the configuration of your Slave and Analyzer.

We have tested data transmission from the master (S32K344) and observed consistent behavior. See the image below:

IsaulO_1-1733413668806.png

Also, we recommend working with the latest software versions. For better reference, you can check the following example on how to work with LPSPI with low-level drivers and high-level drivers.

Example S32K344 SPI Transmit & Receive Using DMA DS3.5 RTD500 - NXP Community

Hope it helps you.
BR,
IsaulO.

0 件の賞賛
返信