#4746 closed defect (fixed)

Armv7-M SysTick clock driver uses off by one reload value

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 6.1
Component: arch/arm Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:


Change History (1)

comment:1 Changed on 10/26/22 at 09:36:01 by Dariusz Sabala <dariusz.sabala@…>

Resolution: fixed
Status: assignedclosed

In 1eae6f2/rtems:

bsps/arm: fix Cortex-M7 systick reload value

  • see ARM DUI 0646C Arm Cortex-M7 Devices Generic User Guide "The RELOAD value is calculated according to its use. For example, to generate a multi-shot timer with a period of N processor clock cycles, use a RELOAD value of N-1. If the SysTick? interrupt is required every 100 clock pulses, set RELOAD to 99."
  • see routines used in CMSIS project for reference

Close #4746.

Note: See TracTickets for help on using tickets.