Hello all im trying to build a device with Arduino MKR1000 which is having support for I2S audio input/out.
I have a HDMI receiver board from their I can take I2S out and connected to I2S input to my MKR1000 board and reading I2S data from A0 pin and saving captured data in to SD card with text format( Binary data ).
Here I have problem in speed because when im doing the SD card data saving execution im losing some incoming I2S data samples from my HDMI receiver . I got few suggestion to increase the speed with DMA implementation instead of using CPU but I don’t know how to implement DMA for I2S data reading and saving in SD card , can you please suggest/help to solved my problem.
My Project expectation is :
Play audio wav file and capture all digital data(Binary data ) and compare with original Audio wav file( Binary file ).
Attached the my I2S Arduino code please check and help me any modification I can do here.
I2S_Buffer_read.ino (1.58 KB)