2022-02-09 05: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.
2022-02-22 06:03 AM
Hello @KiptonM
Regarding the STM32G0, the issue was confirmed on 3 ADC registers naming {TR1; TR2; TR3}
We have updated the drivers to be aligned with the reference manual as follows:
The fix will be present in the next STM32G0 FW package release.
Thank you again for your contribution.
BeST Regards,
Walid
2022-03-16 03: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