I'm working on a data logger. It intakes data with three SPI RX only slaves using DMA double buffer mode. It works fine except occasionally the f_write, which usually takes ~150 ms, takes ~1850 ms. Does anyone know why and if it's avoidable?
I'm using a Nucleo F746ZGThe SPI is setup in RX only slave mode and uses DMA Double buffer mode. The data rate changes, but at max I should be writing right at 126 kBytes per second to the drive. I'm using fatfs and USB driver with the cubemxide sou...