I'm working with STM32h745 SPI to interface adc ADS7046. I trying to achieve sampling rate at least 2msps.
Below I attach some snap for SCLK and CS signal. i trying to minimize time between sclk regenerate pulses. it is taking long time so I can't be able to reach sampling rate. I trying with different methods like Interrupt, DMA but same got. so can you suggest possible method to acquiring max 2msps sampling rate using stm32h745.
Red= CS signal, Blue= SCLK.... controller SYS clock frequency 400Mhz
Tcycle SCLK sys clock configuration SCLK regenerate spi code