[12] COMP: Reference ladder is not correctly calibrated

This anomaly applies to IC Rev. Engineering A, build codes QFAA-AA0, QFAA-AC0, CGAA-AA0.

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;

Documentation feedback | Developer Zone | Subscribe | Updated 2016-07-05