Event-based buffer transfer from M4 to permanent file in A7 Linux fs
Hi,
I have a firmware doing permanent acquisition and processing of a signal coming from SPI on the M4 side - consider it an audio stream.
On-demand I would like to save the processed buffer (say ~10 consecutive buffers once in a while, e.g. 1s every 10s) from the SRAM to a permanent file accessible from the A7 Linux userspace.
What would be the best way to do this with the least impact on the M4 load ?
My first guess was DMA from SRAM to DDR and then have Linux write from DDR to eMMC/SD but isn't there a more direct way ?
Thanks a lot
Yann

