Skip to main content
Graduate
November 26, 2022
Solved

SFR view, wrong address of registers bit field?

  • November 26, 2022
  • 4 replies
  • 1450 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

    Visitor II
    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.

    PiranhaAnswer
    Graduate II
    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.

    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

    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