AnsweredAssumed Answered

STM32CUBEMX and Systick problem

Question asked by mikalajunas.vaidas on Oct 27, 2016
Latest reply on Oct 29, 2016 by mikalajunas.vaidas
does anybody faced some problems with STM32CubeMX generated code when systick overflows? Normally ir overflows every 50 days (uint32) if set to 1ms... As all Cube drivers have the same style with delays (if (getSystick() < ...) ) some strange things can happen on overflow... I did not experienced any problems for now, but would like to hear what do you do to prevent such situations, maybe change Systick type to uint64 or something else?

Thank You.