Author Topic: Atmel SAM7 low-power timer PWM in wait mode  (Read 1363 times)

0 Members and 1 Guest are viewing this topic.

Offline KoenTopic starter

  • Frequent Contributor
  • **
  • Posts: 502
Atmel SAM7 low-power timer PWM in wait mode
« on: July 06, 2016, 05:10:49 am »
Hello,

     ST's STM32 allow some chips including a "low power timer" LPTIM to output PWM even in µA STOP mode.

     Is this possible with Atmel SAM Cortex-M7 chips ? I found references to "32-bit low-power Real-time Timer (RTT)" but nothing about it being able to drive a PWM pin during µA "wait mode".

Thank you,
Koen
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Re: Atmel SAM7 low-power timer PWM in wait mode
« Reply #1 on: July 06, 2016, 05:42:07 am »
I don't think SAMx7 can do that. Its clock tree is pretty simple and when peripheral clock is disabled, it is disabled for good.
Alex
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Re: Atmel SAM7 low-power timer PWM in wait mode
« Reply #2 on: July 06, 2016, 05:55:48 am »
It looks like LPTIM in low power mode can only run from internal 32 kHz RC oscillator.

You can look at RTC and its RTCOUT0 and RTCOUT1 outputs. It is not exactly PWM, but may work in your application.

Although "PROG_PULSE - Duty cycle programmable pulse" may be what you are looking for.
Alex
 

Offline KoenTopic starter

  • Frequent Contributor
  • **
  • Posts: 502
Re: Atmel SAM7 low-power timer PWM in wait mode
« Reply #3 on: July 06, 2016, 06:27:20 am »
Thank you. It's not critical, it's to continue controlling a backlight driver while the MCU is stopped. I'm looking at MCUs with embedded HS-USB to replace the STM32F7.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf