This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPI Flash write using DMA

Hi,

I have camera interfaced on GPIOs of nRF52832.. I am reading image data at the rate 80KHz. Is it possible to write the data to SPI Flash (Slave) by DMA or by any other way such that I won't need to buffer much image data before write it to the flash ? Will that be possible at such higher rate ?

Parents
  • Hi Vishal

    The DMA of the SPI master can only read from the RAM, so at some point the data will have to be stored in a RAM buffer for you to write it over the SPI. I don't understand exactly how your camera interface works, but I would assume that you can prepare the next SPI transfer in one buffer while the previous transaction is being written from a different buffer?

    Best regards
    Torbjørn

Reply
  • Hi Vishal

    The DMA of the SPI master can only read from the RAM, so at some point the data will have to be stored in a RAM buffer for you to write it over the SPI. I don't understand exactly how your camera interface works, but I would assume that you can prepare the next SPI transfer in one buffer while the previous transaction is being written from a different buffer?

    Best regards
    Torbjørn

Children
No Data
Related