Tool/software:
Issue Description:
I use the STM32H7 SPI to read the ADS131M02’s converted data. After the power up, the MCU read the data correctly, but sometimes, the read data is not correct(CRC is not correct), and the abnormal can’t the recover until the system reset.
One point is that : sometimes ,I checked the MISO waveform, the waveform is consistent with the incorrect data.
My operation sequence is :
- Init SPI
- Init DMA
- Hardware reset ADS131M02
- Write the offset and gain register.
- Sync the ADS131M02 reading(Hardware reset pin)
- Start the DMA reading at the falling edge of DRDY signal(GPIO EXIT)
- Check and read the converted data in the SPI complete callback.