2022-11-26 02:22 AM
I am working with STM32G474RET6U MCU and I would like to check the values of bit filed EXTSEL (ADCx->CFGR.EXTSEL) the problem is that according to SFR view this bit field starts on 6th bit of CFR register, but according to the reference manual it should start on the 5th bit.
Is this a mistake of STM or am I missing something?
Solved! Go to Solution.
2022-11-26 10:26 AM
That is an error in SVD file. The SVD files are with so many errors that reporting those one by one will never fix those...
@KDJEM.1 , also the EXTSEL field in the reference manual should be shown as a single 5-bit wide field, not that mess of a separate bits.
2022-11-26 05:05 AM
Usually the RefMan is the reference.
In debug mode, use memory view for SFR and check itvagsinst SFR view which maybe using svd description file format.
2022-11-26 10:26 AM
That is an error in SVD file. The SVD files are with so many errors that reporting those one by one will never fix those...
@KDJEM.1 , also the EXTSEL field in the reference manual should be shown as a single 5-bit wide field, not that mess of a separate bits.
2022-11-28 05:19 AM
Hello @Gašper Hribar & @Piranha,
Thank you for bringing these issues to our attention.
I reported Internally.
SVD related issue tracked in internal ticket 139893.
Documentation related issue tracked under the number 139898.
These are internal tracking numbers and are not accessible or usable by customers.
Kaouthar
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.
2024-03-25 02:40 AM
Hello,
The SVD issue has been solved in the STM32G4 system view description version 2.2.
The typo in the reference manual has been fixed in RM0440 Rev 8.
Thank you for your contribution in STCommunity.
Kaouthar
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.