Hello,
I have interfaced the MPC5674F DSPI_C channel with a NOR Flash (S25FL512S). The communication works correctly at 16 MHz, and I am able to read the status register, returning 0x82 as expected. However, when I increase the clock speed to 33 MHz, the data read by the software is incorrect (0xC1 instead of 0x82).
Observations:
- I probed the MISO and CLK signals using an oscilloscope.
- At both 16 MHz and 33 MHz, the oscilloscope shows the correct data (0x82) being transmitted from the flash.
- Despite this, the data read by the software is manipulated and incorrect at 33 MHz.
I am attaching screenshots of the waveforms for both clock speeds:
Waveform @ 16MHz

Waveform @33 MHz

software_read@33 MHz

software_read@16 MHz




Could you help me identify the root cause of this issue? Specifically, why is the software misinterpreting the correct data at 33 MHz, even though the waveforms appear correct on the oscilloscope? Could this be related to timing, configuration, or any limitations of the DSPI interface at higher clock speeds?
Looking forward to your insights.
Thank you!
Narendra .C
# MPC5674F, #SPI