Hello:
I have got stuck by this problem for quite a long time and the due of my project is approaching, solving this problem becomes more urgent. Due to the poor familiarity of the C6713 board and software-level development, I tried repeatedly and still didn't know how to effectively import data from wav file via the audio jack to the external memory of C6713 DSK.
This is my code:
This code is simple. I use Mcbsp API function to read in wav data from my mp3 player and use a temporal buffer to contain a frame of data.
The testing result is very ugly and seems that my trial is in vain:
I want to load 0.1 value into the DSK but why when I checked the memory as floating point perspective, I didn't see 0.1?
However, one member gave me this suggestion:
I should consider the data type consistency.
I should amend endianess.
Can anybody give me some hints if you have the experience of importing audio signal from the mp3 or PC to the external memory of C6000 dsk?
I don't know why importing data from wav file into the memory is so difficult to implement!
thank you very much
Yu
One of the members of E2E forum helped me with following suggestions: