SPI - Clock & Chip select timing configuration problem

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

SPI - Clock & Chip select timing configuration problem

855 次查看
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 回复数

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

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

620 次查看
Riyasma07
Contributor III

Hi @VaneB ,

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

0 项奖励
回复

603 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @Riyasma07 

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

0 项奖励
回复

578 次查看
Riyasma07
Contributor III

Hi @VaneB,

The screenshot of signals from S32K3

Riyasma07_0-1712115553257.pngRiyasma07_1-1712115802580.png

 

0 项奖励
回复

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

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

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

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

832 次查看
Riyasma07
Contributor III

@VaneB  Any updates?

0 项奖励
回复