Problems with clock prescalers and saleae on an STM32H563ZI nucleo board when using SPI
Hello,
we are using the saleale logic 8 to read data transfer between an STM32 MCU and an IC through SPI (ADS8166 ADC).
The CLK frequency is 1.5 for the SPI configuration with a prescaler of 2 so at the end we have CLK of 750 kHz.
For some reason SOMETIMES we can't read the data properly through the MISO channel with this configuration, even though the saleale has a sample frequency of 50 Ms/s. The saleale configuration is correct and the MOSI signal is always read accordingly. The debugger always reads the correct values so the data being transfered is correct but the saleale reads it wrong. Find attached screenshots of the measurments.
Any idea of what could we be doing wrong?
should be reading 0xAA:
