I edited my message exactly when you answered to the original one.
I'm also wondering if it is possible to make my setupLogging() and finishLogging() function any faster ? With my debug I see that it usually takes 20 to 30ms to start and 10ms to...
I don't remember reading these values in the examples but it's really interesting to keep in mind ! 1MB/s would give approximately a sampling rate of 6.5kHz with the timestamp (%10lu) and the 15 floats (%09.4f) which is more than enough for me...
Yes, I’ve done a lot of benchmarking on this, and as long as your data rate is well below the max of about 20 MB/s, calls to write() return in less than 5 us, which is fantastic. A number that’s easy to remember is 1 MB/s with only 1% of CPU. My...
Yes exactly ! I spent a few days gathering informations on the best practices to log on a SD card, especially at high rates and finally based my code on this example and it's working like a charm !
Indeed, I may have overthought this. I should check that this is not a problem because I am receiving CAN messages randomly. (I set a frequency at which I would like to receive them on the odrive and it tries to stick to it but it is not very...
Hello everyone,
As part of my thesis on electric bikes, I’m using a Teensy 4.1 (and arduino IDE on windows) to collect and process data from a large brushless motor controlled by an ODrive Pro. Communication with the ODrive and other components...