You are here

Internal Data Logging

3 posts / 0 new
Last post
KS0n
Offline
Last seen: 1 year 7 months ago
Joined: 2017-12-15 11:03
Posts: 2
Internal Data Logging

Data logging directly to the flash memory of the STM32F4 would be convenient.

I'm not sure what variant of the F4 is used, but it can have up to 1MB of flash, which could store hours of data without additional hardware.

With the accelerometer of the VESC6, it would be nice to plot acceleration vs. current and power. If you have a GoPro, it you could overlay the stats without additional logging to a phone.

Roger Wolff
Offline
Last seen: 2 months 3 weeks ago
VESC Original
Joined: 2017-05-24 12:27
Posts: 202

The problem is that the CPU cannot execute instructions (from flash) while the flash is writing the data. The short version is: the CPU is halted for a few miliseconds during "write to flash" and that is unacceptable while controlling a motor. 

 

KS0n
Offline
Last seen: 1 year 7 months ago
Joined: 2017-12-15 11:03
Posts: 2

Makes sense, thanks.