Dear support,
Having successfully implemented a daisy chain of 2 ADS131A04 as depicted in Figure 99, we are running into trouble when using a single ADC in synchronous master interface mode.
Everything works fine in synchronous master mode until we send the command to run at a faster SPI clock. The ADC replies properly our sent commands, even once the high frequency SCLK is set but the slave buffer is shifted by one bit since the clock frequency change. The used microcontroller is a STM32F4. Since the MCU is configured as slave, there is no option to shift the Rx buffer other than per 8 or 16 bits.
The ADC is configured as master mode (M0=GND) and the DONE output is looped to the CSn input.
we used fixed word of 24-bit (M1=GND) and Hamming CRC disable (M2=GND)
The MCU settings are CPOL=0 and CPHA=1 (sampling on falling edge).
All this happens in configure device steps from flow chart Figure 109. Device not yet WAKEUP)
Is it expected to have the SCLK changing frequency in the middle of the next SPI frame?
Have you ever encountered such issue, any tips to solve this? Is there a specific precaution before changing SPI clock, such as ADC state or preliminary settings?
You can find attached the screenshots of the SPI bus signals.
ch1= DRDYn from ADC(MCU CSn)
ch4 = Done from ADC
ch2 = Dout from ADC (0x220000)
ch3 = SCLK from ADC (8MHz)
ch1= DRDYn from ADC (MCU CSn)
ch2 = Dout (0x2d0200)
ch3 = SCLK from ADC (4MHz to 8MHz)
Thank you ahead for your help!
Yannick