[12] COMP: Reference ladder is not correctly calibrated

nRF52832 Revision 1 Errata

This anomaly applies to Revision 1, build codes QFAA-Bx0, CIAA-Bx0, QFAB-Bx0.

It was inherited from the previous SoC revision Engineering C.

Symptoms

COMP does not compare correctly.

Conditions

Always.

Consequences

COMP module is unusable.

Workaround

Execute the following code before enabling the COMP module:

*(volatile uint32_t )0x40013540 = ((volatile uint32_t *)0x10000324 & 0x00001F00) >> 8;
This workaround is included in MDK version 8.12.0 and later.