cancel
Showing results for 
Search instead for 
Did you mean: 

How to activate Compensation Cell on STM32F217?

StefanoRossi
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

2 REPLIES 2

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

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