2021-09-02 09:19 AM
In CubeIDE SFR view systick registers names do not match Programming Manual definitions.
SFR:
register | address
STCSR | 0xE000E010
STRVR | 0xE000E014
STCVR | 0xE000E018
STCR | 0xE000E01C
pm0214, page 246:
register | address
STK_CTRL | 0xE000E010
STK_LOAD | 0xE000E014
STK_VAL | 0xE000E018
STK_CALIB | 0xE000E01C
So which register definition is correct?
Solved! Go to Solution.
2021-09-02 09:43 AM
In SFR view, there are SYSTICK in Cortex_M4 registers and STK in STM32G491xx registers.
STK seems ok if compares to pm0214 naming.
Rgds,
Laurent
2021-09-02 09:43 AM
In SFR view, there are SYSTICK in Cortex_M4 registers and STK in STM32G491xx registers.
STK seems ok if compares to pm0214 naming.
Rgds,
Laurent
2021-09-02 12:53 PM
Ok, I guess this works for me, even though 2 different register definitions in one svd file seems like a bug
Thank you.
2021-09-03 01:56 AM
They are not in the same file, there is 2 svd files but I agree we should not see this reg twice.
Issue is already spotted but this will take time to be fixed.
Rgds,
Laurent