Hello,
I'm sampling the ADC using PPI like in the saadc example of the sdk12. For the ADC I use TIMER 1.
And I want to write those ADC values on a SD Card over SPI. For that I'm using the fatfs example (SPI0 is used, I think without DMA).
Sampling the ADC works and when I don't sample I can also write some test values on my SD Card. But as soon as I want to do both in combination it doesn't work anymore.
While debugging I see that the program doesn't leave the write function anymore, I think it's stuck in the default_wait_func function but I don't know why.
I'm using the nrf52 development board.
Does anyone has an idea?
I'm thankful for any advice.
Regards Lea