Speeding Up SPI Communication with S32K344 - ERR050456 workaround

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

Speeding Up SPI Communication with S32K344 - ERR050456 workaround

200件の閲覧回数
serhatTUG4N
Contributor I

Hello,

I am currently working on SPI communication with the S32K344. The communication is happening within a time-critical task, so it’s crucial that it’s fast.

As you can see in the attached Logic Analyzer screenshot, the actual data exchange takes 2.042 us. However, 3.498 us is spent beforehand to ensure that FIFOs will be empty before starting a new transfer session (as per ERR050456 workaround). This significantly slows down the overall process.

Logic Analyzer Output:

serhatTUG4N_0-1709912248532.png

SPI Settings:

serhatTUG4N_1-1709912316105.png

 

Is there a way to speed up this process? Any suggestions or guidance would be greatly appreciated.

Thank you in advance for your help.

0 件の賞賛
1 返信

159件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @serhatTUG4N,

It depends on the CPU freq. Cache, etc.

But I'm afraid, you would need to modify the driver to lower the overhead significantly.

 

Regards,

Daniel.

 

 

 

 

0 件の賞賛