Skip to main content
Kevlar700
Associate II
January 18, 2022
Solved

Missing GPIO ASCR register in the reference manual

  • January 18, 2022
  • 8 replies
  • 3619 views

Is the GPIO ASCR register purposefully left out of the register section of the reference manual for STM32L4+ series?

Thanks

This topic has been closed for replies.
Best answer by Imen.D

Hello @Community memberhadwick​ ,

Thank you for your post. 

Your issue is tracked internally (ticket number: 122878) for check and take the necessary action.

PS: Ticket number 122878, this is an internal tracking number and is not accessible or usable by customers).

Imen

8 replies

waclawek.jan
Super User
January 18, 2022

Only STM32L475xx/476xx/486xx have GPIO_ASCR.

JW

Kevlar700
Kevlar700Author
Associate II
February 4, 2022

Are you sure?

In that case the STM32L4R9 SVD file is incorrect. Though it has a few other bugs as well.

Is 1.8 the latest version available or what do you use internally, if not svd?

GPIOA->H ASCR register also shows up in the STM32 Cube IDE peripheral registers view on the STM32L4R9AI

waclawek.jan
Super User
February 6, 2022

You made me unsure, so I had to look up my own writeup and it indeed contains link to the source, this ST presentation.

JW

Hi @Imen DAHMEN​ , can you please have a look at this issue? Either that presentation lies, or, as @Community memberhadwick​  said above, the SVD files are incorrect.

Kevlar700
Kevlar700Author
Associate II
February 14, 2022

TIM16 OR1 also seems to be a bit short in the C code and SVD as well. Either that or the many remapping options in the ref manual (TI1_RMP) do not exist (hard to believe)?

Shall I post my svd file with fixes to 1.9? (The ST Cube IDE debugger uses v1.9 that is not on the website).

Kevlar700
Kevlar700Author
Associate II
February 15, 2022

Should I raise this with support? @Imen DAHMEN​ 

Imen.DBest answer
Technical Moderator
February 16, 2022

Hello @Community memberhadwick​ ,

Thank you for your post. 

Your issue is tracked internally (ticket number: 122878) for check and take the necessary action.

PS: Ticket number 122878, this is an internal tracking number and is not accessible or usable by customers).

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Kevlar700
Kevlar700Author
Associate II
February 17, 2022

Thank You

Here is my 1.9 SVD with changes that I believe to be fixes, in case it is useful

Kevlar700
Kevlar700Author
Associate II
March 8, 2022

The power control registers are also incorrect! Perhaps a full audit is required @Imen DAHMEN​ ?

waclawek.jan
Super User
March 8, 2022

Can you please be more specific?

Thanks,

JW

Kevlar700
Kevlar700Author
Associate II
April 25, 2022

Hi @Imen DAHMEN​ would you be so good as to have the USB checked as well, please. Particularly OTG_GCCFG as the SVD matches the C header but the reference manual shows very different registers?

Edit: Scratch that, I found the right registers in the C header and the RM looks correct. So I shall correct my SVD file.