2024-09-04 12:43 AM
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?
BR
Stefano
Solved! Go to Solution.
2024-09-04 02:19 AM - edited 2024-09-04 02:21 AM
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
2024-09-04 02:19 AM - edited 2024-09-04 02:21 AM
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
2024-09-04 02:41 AM
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
2024-09-04 09:20 AM
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
2024-09-05 06:08 AM
Hi,
To follow-up on this issue and avoid the confusion, an internal ticket is submitted (#190295).
-Amel
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.