SPI - Clock & Chip select timing configuration problem

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

SPI - Clock & Chip select timing configuration problem

1,333 次查看
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 回复数

1,129 次查看
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 项奖励
回复

1,101 次查看
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 项奖励
回复

1,098 次查看
Riyasma07
Contributor III

Hi @VaneB ,

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

0 项奖励
回复

1,081 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @Riyasma07 

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

0 项奖励
回复

1,056 次查看
Riyasma07
Contributor III

Hi @VaneB,

The screenshot of signals from S32K3

Riyasma07_0-1712115553257.pngRiyasma07_1-1712115802580.png

 

0 项奖励
回复

1,038 次查看
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 项奖励
回复

1,291 次查看
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 项奖励
回复

1,287 次查看
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 项奖励
回复

1,163 次查看
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 项奖励
回复

1,310 次查看
Riyasma07
Contributor III

@VaneB  Any updates?

0 项奖励
回复