Why does the ST software have different names for registers than the documentation does?
I am trying to program the STM32G031
I read the documentation then I have to search in the files for what you renamed it to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-09 5:05 PM
I am looking at RM0444 page 402 and 404 (Rev 5)
Documentation Software
ADC_ISR ADC1->ISR
ADC_IER ADC1->IER
ADC_CR ADC1->CR
ADC_CFGR1 ADC1->CFGR1
ADC_CFGR2 ADC1->CFGR2
ADC_SMPR ADC1->SMPR
ADC_AWD1TR ADC1->TR1 ?????
ADC_AWD2TR ADC->TR2 ?????
ADC_CHSELR ADC->CHSELR
ADC_AWD3TR ADC->TR3 ?????
ADC_DR ADC1->DR
ADC_AWD2CR ADC->AWD2CR
ADC_AWD3CR ADC->AWD3CR
ADC_CALFACT ADC->CALFACT
ADC_CCR ADC->CCR
Why make all but three match the documentation?
I found them defined in stm32g031xx.h Lines 122 to 148
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-16 3:16 AM
Hello @KiptonM​
I have good news for you.
The patch is now available on Github.
Please note that the fix has been implemented on two parts:
Thanks for your contribution.
BeST Regards,
Walid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-10 1:44 AM
Probably a failure of the quality review of the project... Probably the consistency between the doc and the software is not an acceptability criterion.
There are many like that. Most frustrating are the reference manuals moved from one family to another without updating the specific characteristics of the target family.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-10 2:17 AM
these are the different registers which are operating for a specific purpose.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-14 3:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-14 3:41 PM
I wonder if anyone will fix this...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-14 3:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-15 4:26 AM
Ooops! Same with stm32L476RG on SPI ... Reliable ecosystem! These silicon companies throw new chips on the market year by year, but the customers have problems to use them. ... We tend to desolder the used "old" µC from pcb as you do not get the hot stuff on the market, anyway. Exploring bugs like the quoted one does not make happy engineers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-15 6:31 AM
It has been up for almost a week and nobody from ST has acknowledged there may be a problem and a fix is on the way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-15 6:34 AM
I know it won't make you happier, but with some searching I could probably find threads complaining of the same kind of inconsistency, dating maybe 10 years ago.
It does not mean that ST should not care more, but it is what it is.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-18 12:35 AM
Hello @KiptonM​
Thank you for having reported this point.
We are actively working on it. Analysis is ongoing to identify the origin of this discrepancy.
We will get back to you as soon as possible.
BeST Regards,
Walid
