Effect of live wire insertion/removal of SPI signals
Hello, I am looking for a solution to my problem.
I am using an STM32C031 to light LEDs using SPI signals.
I am using a connector to connect the STM32 mounting board to the LED mounting board. The connector connects the DC power supply and the SPI signals DATA and CLK of the STM32OUT.
When this connector is plugged or unplugged in several times, a phenomenon appears in which all of the connected LEDs blink abnormally. Verification of the waveform revealed that the waveform was abnormal at the SPIOUT of the STM32. This abnormal waveform cannot be corrected without turning the power of the STM32 itself on and off.
We investigated the possibility of correcting the problem programmatically and found that changing the SPI baud rate from 3 MBits/s to 1.5 MBits/s did not produce the abnormal waveform at the active wire insertion/withdrawal. However, I am not sure if this is a fundamental solution.
Is it possible that this kind of SPI baud rate setting changes the behavior when physical damage is inflicted?
Best Regards,
