SPI - Clock & Chip select timing configuration problem

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

SPI - Clock & Chip select timing configuration problem

851件の閲覧回数
Riyasma07
Contributor III

In SPI configurator, when I try to change the timing values for Clk2Cs, Cs2Clk & Cs2Cs from 0.000001 sec to 0.00001 sec, I'm facing an error.

Riyasma07_0-1710737287266.png

But when I hover over the timing fields, it shows the timing can be set in the range of 100ns to 0.0001 sec.

Riyasma07_2-1710737433550.png

 

 

0 件の賞賛
返信
10 返答(返信)

647件の閲覧回数
Riyasma07
Contributor III

Hi @VaneB, Seems like it is causing problem with code. I've set the timing as 0.00003 sec and checked, there is no response from the slave.

0 件の賞賛
返信

619件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @Riyasma07 

Are you using an external device or is it connected to other SPI modules of the S32K3? Are you using the example code?

0 件の賞賛
返信

616件の閲覧回数
Riyasma07
Contributor III

Hi @VaneB ,

Yes, we are using an external device and not using example project. 

0 件の賞賛
返信

599件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @Riyasma07 

Could you share an image of the signals coming out from the S32K3?

0 件の賞賛
返信

574件の閲覧回数
Riyasma07
Contributor III

Hi @VaneB,

The screenshot of signals from S32K3

Riyasma07_0-1712115553257.pngRiyasma07_1-1712115802580.png

 

0 件の賞賛
返信

556件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @Riyasma07 

The signs seem correct, but to make sure the problem is not caused by S32K3, please try testing the SPI example with the settings you require.

0 件の賞賛
返信

809件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @Riyasma07 

Sorry for the late response, due to workload my response was delayed.

Which RTD version are you using? Also, please provide your clock configuration.

 

B.R.

VaneB

0 件の賞賛
返信

805件の閲覧回数
Riyasma07
Contributor III

Hi @VaneB ,

I'm using RTD Version 3.0.0

The clock configuration is

Riyasma07_0-1710907587242.png

and I'm using SPI0

Riyasma07_1-1710907616854.png

 

 

0 件の賞賛
返信

681件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @Riyasma07 

Sorry for the delay.

I had verified this situation and the cause of the problem looks to be related to S32DS and not for a wrong configuration. The error should not cause any problem with your code. 

0 件の賞賛
返信

828件の閲覧回数
Riyasma07
Contributor III

@VaneB  Any updates?

0 件の賞賛
返信