SPI communication with FXIO

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

SPI communication with FXIO

ソリューションへジャンプ
914件の閲覧回数
WeiCh
Contributor III

I encountered two problems in configuring FXIO for SPI communication with S32K312:


1. The baud rate configured by EB is 100KHz, but according to the measurement results, it is actually 200K. What's going on?


2. The configuration of the three parameters Cs2Cs, Clk2Cs and Cs2Clk in EB seems to be invalid for FXIO. What's going on?


The following are screenshots of the configuration and test results.

_0-1731420359526.png_1-1731420385078.png

 

0 件の賞賛
返信
1 解決策
887件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @WeiCh,

 

1.

Is the system clock set precisely to one of the clock options listed in the RM?

For example:  152. Option B - Reduced Speed mode (CORE_CLK @ 120 MHz)

 

2.

This is a HW feature of the LPSPI module.

 

Regards,

Daniel

元の投稿で解決策を見る

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

Hello @WeiCh,

 

1.

Is the system clock set precisely to one of the clock options listed in the RM?

For example:  152. Option B - Reduced Speed mode (CORE_CLK @ 120 MHz)

 

2.

This is a HW feature of the LPSPI module.

 

Regards,

Daniel

0 件の賞賛
返信
883件の閲覧回数
WeiCh
Contributor III

Yes,clock config is Option-B.I have found the answer in the latest version of the update record. It should be that there is a problem with the clock source selected when calculating the baud rate.Thinks!

 

0 件の賞賛
返信