AnsweredAssumed Answered

SDIO/FatFS file write in SD Card on STM32F405 fails when ADC interrupt is running [SOLVED]

Question asked by dolezal.ivan on Jan 16, 2015
Latest reply on Jan 27, 2015 by dolezal.ivan
Hello,
I have implemented SD Card with FatFS using firstly STCubeMX driver in a polling mode, secondly by adaptation of  the \STM324xG_EVAL\Applications\FatFs\FatFs_uSD example in DMA/Intr mode.
I am writing a line of about 100 characters every 40 ms in the card using f_puts for a long time (using 1-bit access only - another issue sent to the forum).
Unfortunatelly, running an interrupt lasting 1-2 us every 35 us (measured by a scope and yes, I need it seriously) causes that in time of order 1-100 s the function f_puts fails with return code -1.
I tried to increase the stack but it is not the case.
Thank you for any advice.
Ivan

Outcomes