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