AnsweredAssumed Answered

Measuring time using an STM32F407VGT6

Question asked by dumitrescu.alex on Mar 20, 2015
Latest reply on Mar 21, 2015 by ych
I'm using a custom board for charging and testing batteries. Its 'brain' is an STM32F407VGT6 microcontroller. I'm developing in Ubuntu (14.04.2 LTS), using ChibiStudio (ChibiOS/RT 3.0 development branch and Eclipse Kepler). While in charge mode, I need to see how much time has passed since I initially started charging the battery. I'm having trouble with writing the necessary steps required for the time measurement. The microcontroller has an internal real-time clock (RTC). It also has timers. And ChibiOS has a time measurement function. However, I went through the documentation, researched online, but I still cannot make it work. Any help or guidance would be appreciated. Thank you.
 Alex Dumitrescu