oyama / pico-vfs

Thin virtual file system for Raspberry Pi Pico
Other
5 stars 0 forks source link

Realistic multicore example #50

Closed oyama closed 2 weeks ago

oyama commented 2 weeks ago

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.

oyama commented 2 weeks 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.