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

How do i generate or obtain hex data for my I2S design

I have a project to generate audio using a codec. I will store the audio data in hex format on my nrf52 device and with the aid of the i2s interface, I will send the hex data to a audio codec which will then convert it to audio.

I have finished the whole programme and tested it. I am getting audio at the output but is is not exactly like the audio i recorded so I am not sure if the hex data I have is correct. I got the data by recording the sample audio with audio city then i used a hex software to convert the PCM data to hex data. But I am not sure if the hex data is correct.

The PCM audio is meant to have a sampling rate of 8KHz, mono and 16 bits.

Thanks.

Parents
  • Hi Karlsen, Thanks for your reply. I recorded the data with audacity (by www.audacityteam.com). and i converted it to hex data using Hex workshop software (by www.hexworkshop.com). I have made a meticulous check of my software (and both master and the slave devices configuration), i am the software is okay and in accordance to the I2S standard. I shall appreciate your help as this is my university master thesis project.

Reply
  • Hi Karlsen, Thanks for your reply. I recorded the data with audacity (by www.audacityteam.com). and i converted it to hex data using Hex workshop software (by www.hexworkshop.com). I have made a meticulous check of my software (and both master and the slave devices configuration), i am the software is okay and in accordance to the I2S standard. I shall appreciate your help as this is my university master thesis project.

Children
No Data
Related