Hi
I modified the SPI master example to read an 16-bit ADC at 44.1 kHz.
While the HAL_TIMER achieves its ~22 microseconds quite good, the SPI driver is quite slow: the CS pin stays low for 7.5 us for a 8 MHz transfer of ca 2 us (see picture). Do I have a possibility to optimize that?
And I don't know if it's related: when I reduce the timer to 20 us, just after starting up it works fine (the toggles on the 'TIMER' channel have ca 19.9 us):
But after 28 ms it changes and I get the following shapes, as if the time did get some delay and has to catch up (total time of an ON-OFF toggle is 38.8 us):
Is the 20 us value a limit for this application?
Thanks,
Sébastien