Skip to main content
Explorer II
September 4, 2024
Solved

How to activate Compensation Cell on STM32F217?

  • September 4, 2024
  • 3 replies
  • 1091 views

Hi all,
we are encountering difficulties in activating the compensation cell option. Even if the SYSCFG_CMPCR bit 0 has been configured as 1 we never get the READY in bit 8 (always 0).

Various tests have been carried out, but to no avail, so let's start from the beginning. Could you list what are the steps for activation to be successful for this microcontroller?

 

StefanoRossi_0-1725435430350.png

 

BR

Stefano

    This topic has been closed for replies.
    Best answer by waclawek.jan

    Is SYSCFG clock set (RCC_APB2ENR.SYSCFGEN)?

    > we never get the READY in bit 8

    Screenshot shows, that the SYSCFG_CMPCR register value is 0x101, i.e. bit 8 *is* set.

    Screenshot also shows that debugger incorrectly displays *bit 7* as the READY bit.
    JW

    3 replies

    Super User
    September 4, 2024

    Is SYSCFG clock set (RCC_APB2ENR.SYSCFGEN)?

    > we never get the READY in bit 8

    Screenshot shows, that the SYSCFG_CMPCR register value is 0x101, i.e. bit 8 *is* set.

    Screenshot also shows that debugger incorrectly displays *bit 7* as the READY bit.
    JW

    Explorer II
    September 4, 2024

    Right, that's true. Thanks for reply. Then maybe there is an error on the STM32CubeProgrammer register maps?

    In any case this is not a problem for me.

    Thank you

    StefanoRossi_0-1725442823084.png

     

    ST Employee
    September 4, 2024

    This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.

    Technical Moderator
    September 5, 2024

    Hi,

    To follow-up on this issue and avoid the confusion, an internal ticket is submitted (#190295).

    -Amel