Ppassive wait

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MiSa_288856
Level 1
Level 1

Hallo,

   

I wish my micro (CY8C29x66) to stay in a sleeping state for a very short while (i.e. 2ms) is this possible?

   

What's the side effect of staying in this state i.e. running devices such as UARTs, I2C or ADC, DAC how do they behave ?

   

If I have an user interrupt routine defined for the UART RX event will this 'wake-up' my micro from the sleeping state?

   

Best regards,

   

  Michele Santucci

0 Likes
1 Reply
MR_41
Employee
Employee
First like received

When the processor is put to sleep, the SysClk is also switched off.  So, peripherals like I2C, UART etc which need the SysClk to operate will not work.  As these peripherals do not work, it is not possible to wake up the processor on interrupts from these peripherals.  However, if you have peripherals that are running on the 32KHz clock, these peripherals can run when the processor is in sleep more and these interrupts can wake up the processor.

   

 

   

Best Regards,

   

Ganesh

   

The PSoC Hacker

0 Likes