cancel
Showing results for 
Search instead for 
Did you mean: 

Are the Systick registers correct in svd file for STM32g491?

TMark.14
Associate III

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?

1 ACCEPTED SOLUTION

Accepted Solutions
LaurentL
ST Employee

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

View solution in original post

3 REPLIES 3
LaurentL
ST Employee

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

TMark.14
Associate III

Ok, I guess this works for me, even though 2 different register definitions in one svd file seems like a bug

Thank you.

LaurentL
ST Employee

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