1992889_en-US

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

1992889_en-US

1992889_en-US

SPI communication with FXIO

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


Re: SPI communication with FXIO

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!


Re: SPI communication with FXIO

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

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 03:09 PM
更新者: