Let your Atmel SAM4L MCU do SleepWalking

Like several other Atmel core microprocessor devices, the new SAM4L ARM Cortex-M4 based MCU supports SleepWalking. This is a state where you can service interrupts and measure or test outside events while keeping the CPU core in a low-power sleep state.

  • Unnecessary wake-ups are one of the main events that cause excessive power consumption. An interrupt wakes the entire system up to check a trivial condition. In most cases the system goes directly back to sleep again. Having the CPU wake to check these repetitive events uses a lot of power. A monitoring example shows how you can use SleepWalking to reduce the power consumption of your system.
The SAM4L series integrates Atmel’s proprietary picoPower® technology

The SAM4L series integrates Atmel’s proprietary picoPower® technology

Say you are monitoring a temperature sensor. If the value exceeds a threshold, your program should take an action such as turning on the air conditioning. Using a traditional approach, an interrupt would wake the system and the core at regular intervals to check the temperature. Very often the temperature is below the threshold and the program takes no action other than servicing the interrupt. The wake-up was unnecessary. In our case, the system would wake up over and over during winter and the threshold will rarely be exceeded. That means a lot of wasted MCU power. With SleepWalking you set the measurement and testing at the peripheral level. Only when the event is qualified will the rest of the system wake-up.

That is what Atmel calls intelligent peripherals. There is a nice video that shows the SleepWalking concept.

5 thoughts on “Let your Atmel SAM4L MCU do SleepWalking

  1. Pingback: Death of the DSP | The Atmel edge

  2. Chad Williams (@VectorcomDesign)

    Its good to know the device can save power like this. When designing for low power its important to consider the power consumption of other parts of the Microcontroller which may be used to make the measurement such as the analog to digital converter. The power consumption of voltage references, opamps and any other analog components also needs to be considered.

    Like

    Reply
  3. Pingback: Wearable computing with Atmel MCUs | Bits & Pieces from the Embedded Design World

  4. Pingback: 13 million wearable IoT devices for corporate wellness | Bits & Pieces from the Embedded Design World

  5. Pingback: Wearable device revenue – $6 billion by 2018 | Bits & Pieces from the Embedded Design World

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s