Problem in Reading .pcm files from SD Card using FatFS in fx3s

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
user_2925471
Level 1
Level 1

Hello,

I am using Cypress Fx3S microcontroller in my application. I am using FatFS commands for Read and Write operations from SD Card. I am successfully able to read .txt file. But I am unable to read the .pcm file. Kindly, help me in finding a way to read .pcm file as it is inevitable in my application.

Regards,

Raghavendra.T.R

0 Likes
1 Solution

Hello Madhusudhan,

Thank you for the reply.

The problem is resolved. I was converting the buffer read to string unknowingly. That was the reason for the issue.

Regards,

Raghavendra.T.R

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

Hi Raghavendra,

What problem are you exactly facing when handling the PCM files? Which APIs return error? Did you try our FatFs example project? If the pcm file is too large, please make sure that the reads, buffering and transferring to PC via USB are done in a sequential and well planned manner.

Regards,

- Madhu Sudhan

0 Likes

Hello Madhusudhan,

Thank you for the reply.

The problem is resolved. I was converting the buffer read to string unknowingly. That was the reason for the issue.

Regards,

Raghavendra.T.R

0 Likes