Hello,
I'm running a small project that includes logging sensor data from an accelerometer via SPI to an SD card. I'm aiming to capture data from the accelerometer as quickly as possible and so I'm looking at low-latency SD card logging.
I've been exploring the ExFatLogger example from the SdFat library. However, I need to store data that exceeds the limits of unsigned 16-bit values (0 to 65535). Using a +-4g accelerometer, I need to account for possible values of -39240 to 39240 mm/s2 (9.81 * 4 * 1000).
I've tried various different changes within the "logData" function but I still can't successfully log data without errors that include "too many overruns", or .bin/.csv that is stricken with error data. I've already changed the 'uint16_t' within the ExFatLogger.h to int32_t.
Has anyone achieve signed 32-bit logging using the ExFatLogger example or similar?