Closed oyama closed 5 months ago
If the FAT file system on the SD card is used without adjusting the write buffer size, etc, Low-speed SD cards can be saved at around 500 Hz without problems. High-speed SD cards U1 and above can save at 1000 Hz and above.
Simultaneous file IO on two current cores may not be a realistic example for a microcontroller. A more realistic example with clearly separated roles, such as logging in one core and sensing in the other, would be preferable.
For example, 9-axis inertial sensor data could be produced at 100-200 Hz in core1 and consumed via Queue to an SD card storage task in core1. It is not known if the write speed can be achieved in time.