7 years, 2 months ago.

save data to csv or txt file (Nucleo-64 STM32L476)

Dear,

How do I can save data to a file like a csv, txt.... file.

I am using the "Nucleo-64 STM32L476" board so the "Local file system" code does not work on this board.

Can someone help me?

Greetings,

Niels

1 Answer

7 years, 2 months ago.

If there's non-volatile memory on your board you can store your data there. They're not part of the mbed HAL though, and the STM32 chips don't have a standard way of doing NVM/EEPROM APIs. Often reading data is exposed through memory-mapped addresses, and to write you'll need to write to registers. Some background for another STM32 is in this question.

Accepted Answer