_io_read() function issues

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

_io_read() function issues

397 Views
oliviachristyva
Contributor III

Hi all,

I am trying to read an Audio file from a USB. But my file is 686K. I want to read it directly using a pointer by incrementing the pointer with the buffer size. But it is not working. Does anybody have a solution for this issue. I cannot use SPI . I have to read it directly and give it to a DMA buffer. 

When I developed the code first time it works fine but in the second loopingit stck inn the _io_read and nothing is happening. Is it because everytime I need to open the file or can I read it multiple times with just one open function.

0 Kudos
0 Replies