Skip to content
RED SAGSkills
medium10 pts · first answer countsembedded-cconcurrency

Reading a 64-bit tick on a 32-bit MCU

A SysTick ISR increments a volatile uint64_t ticks. On Cortex-M4, main occasionally reads a value that jumps by about 4.29 billion. What is the cause and a fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions