Hi community,
I am working on a project with the LPC55S69 microcontroller and facing an issue with SPI communication. My setup involves the LPC55S69 as the master, communicating with an external ADC. The problem is intermittent data loss or corruption during transmission.
Verified clock polarity and phase (CPOL/CPHA) match between master and slave.
Checked the SPI clock speed to ensure it’s within the ADC's supported range.
Added pull-up resistors on the MISO line to stabilize the signal.
Measured signals on an oscilloscope and noticed occasional glitches.
I suspect it might be related to DMA configuration or improper pin muxing. Can someone guide me on optimizing the LPC55S69 SPI settings or share similar experiences: ??
Any suggestions on debugging tools or techniques would also be appreciated. Thanks in advance !! I have also read this thread https://community.nxp.com/t5/LPC-Microcontrollers/Intermittent-SPI-hangs-on-LPC55S69-flutter/td-p/1608853 but couldn't get any solution
Looking forward to your insights.
With Regards,
Daniel Jose
I think you can use a simple SDK SPI example from the LPC55S69 SDK to rule out hardware or driver-level issues.
And you can also test a different SPI slave to verify if the issue is specific to the ADC or the LPC55S69 configuration.
BR
Harry