psoc3 unable to plac SPI_master in hibernate

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

cross mob
nico_1482356
Level 1
Level 1

Hi,

   

We have a design using the SPI master (2.5v) and other IPs (ADC, LCD, shift regs...). When the whole design is put in hibernate the power consumption stays too high (16mA) even if peripheral sleep functions are called.

   

When the SPI master IP is removed, the power consumption in hibernate mode is ok (~50uA).

   

Is there any issues regarding the SPI IP in hibernate mode ?

   

 

   

Thanks in advance

   

Best regards

   

Nicolas

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Did you put the SPI's GPIO pins into High-Z mode?

   

 

   

Bob

View solution in original post

0 Likes
4 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Did you put the SPI's GPIO pins into High-Z mode?

   

 

   

Bob

0 Likes
nico_1482356
Level 1
Level 1

Hi Bob

   

yes we did it. We have no problems with the other peripherals (uart, shift reg, counter...). The SPI prevents the core to enter in hibernate. Power consumption stays around 15mA @3.3V.  We check the generated code of the SPI module and we saw nothing strange.

   

Thanks for the answer !

   

Best regards

   

Nicolas

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Nicolas, I would suggest you to create a support case (top of this page->Design support) and get in contact to cypress directly.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Hi Nicolas,

   

How are you confirming that PSoC 3 is going into sleep mode ? Is there a functionality in main loop which stops executing ? What I mean is, only current is staying higher or CPU did not enter sleep mode itself ?

   

Have you called SPI component's sleep API ? 

   

Can you check  by having no wake up sources in sleep API ? This will rule out if any wake up source is misbehaving. 

   

 

   

Thank you,

   

Pavan

0 Likes