cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6570-DK | VENC_SDCard_ThreadX | Using exFAT

dksmith
Associate

I have been modifying the VENC_SDCard_ThreadX example to read in raw data through pipe0 with success. However, my bottleneck appears to be the SD card write speed; I understand that this example was designed to write compressed h.264 files - and it looks like it only writes at around 320 kB/s.

Since I am capturing much more data, I would like to use exFAT instead of FAT32, and write to a UHS I card at max speed (SDR104). I defined FX_ENABLE_EXFAT within fx_user.h, but it I am still unable to write to an exFAT formatted card.

fx_media_open() passes just fine, but upon inspection it appears that the available clusters always is 0. Am I missing any steps? Any insight would be appreciated.

2 REPLIES 2
Saket_Om
ST Employee

Hello @dksmith 

Could you share you code please, then we can assist you more effectively. 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om
dksmith
Associate

Hello,

To test writing to exFAT I have just been running the unmodified VENC_SDCard_ThreadX example code. I made sure FX_ENABLE_EXFAT was defined in fx_user.h. This was my only edit.