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?

This discussion is locked. Please start a new topic to ask your question.
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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.