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:
SPI Settings:
Is there a way to speed up this process? Any suggestions or guidance would be greatly appreciated.
Thank you in advance for your help.
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.