ADC Wake and Transmit on Threshold with a Housekeeping MCU
One common housekeeping function that a microcontroller (MCU) can perform is using the integrated analog-to-digital converter (ADC) to interface to other devices on a board such as battery monitors or temperature sensors.
If the MCU is using timers to trigger ADC reads, or even receiving ADC values continuously, the system can consume quite a bit of power. One solution is to have the integrated ADC operate independently of the central processing unit (CPU). This way, the rest of the MCU can go to sleep and will only wake up when the ADC reads a value that crosses a certain threshold. At this point, the ADC will generate an interrupt and wake up the MCU.
We cover this application of waking up the MCU on an ADC threshold being crossed in our training video “ADC Wake and Transmit on Threshold”. In this video we will walk you through a simple GUI that you can use for evaluation, the hardware needed to get started and how this example is implemented in code.
From here, you can try the GUI yourself from the link below, run the code on your MSP430 Launchpad and learn more through other resources such as the tech note on this application.