Skip to main content
GHrib.1
Associate III
November 26, 2022
Solved

SFR view, wrong address of registers bit field?

  • November 26, 2022
  • 4 replies
  • 1690 views

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?

0693W00000WJYL9QAP.png0693W00000WJYKuQAP.png

This topic has been closed for replies.
Best answer by Piranha

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.

4 replies

S.Ma
Principal
November 26, 2022

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.

Piranha
PiranhaBest answer
Principal III
November 26, 2022

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.

KDJEM.1
ST Technical Moderator
November 28, 2022

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 "Best answer" on the reply which solved your issue or answered your question.
KDJEM.1
ST Technical Moderator
March 25, 2024

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 "Best answer" on the reply which solved your issue or answered your question.