This anomaly applies to IC Rev. Engineering B, build codes QFAA-BA0, CHAA-AA0.
Symptoms
May receive unexpected events and wakeups from LPCOMP.
Conditions
LPCOMP is configured to send an event or to wake up the chip. LPCOMP.TASKS_START task is set and LPCOMP.EVENTS_READY event has been received.
Consequences
Unpredictable system behavior caused by falsely triggered events and wakeups.
Workaround
Use the following configuration sequence.
- Configure the LPCOMP to send an event or wake up the chip, but do not enable any PPI channels or IRQ to be triggered from the LPCOMP events.
- Trigger the LPCOMP.TASKS_START task and wait for the LPCOMP.EVENTS_READY event.
- After receiving the LPCOMP.EVENTS_READY event wait for 115 µs.
- After 115 µs, clear the LPCOMP.EVENTS_DOWN, LPCOMP.EVENTS_UP, and LPCOMP.EVENTS_CROSS events.
LPCOMP is now ready to be used.