LPSPI CLK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
877件の閲覧回数
Psabouri
Contributor II

Hi,

I have a S32K344 evaluation board. I am configuring the LPSPI_0 to transfer 16-bit data at 8MHz. The CLK is outputted on PTC8 (standard plus pad).  As you can see in the figure below, the CLK periodicity is incorrect and it is changing!!! Why CLK is behaving like this?

LPSPI_0 functional clock is 80MHz

CCR1[SCKHLD] = CCR1[SCKSET] = 4

Psabouri_0-1657681524704.png

When the bus rate is decreased to 5MHz, the CLK behaves correctly.

0 件の賞賛
1 解決策
853件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @Psabouri 

The problem may be in the configuration of your sample rate, you should increase the sample rate in order to have a better resolution of the clock signal. 

 

B.R.

VaneB

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
854件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @Psabouri 

The problem may be in the configuration of your sample rate, you should increase the sample rate in order to have a better resolution of the clock signal. 

 

B.R.

VaneB

0 件の賞賛
800件の閲覧回数
Psabouri
Contributor II

That make sense, thank you for your response.