cancel
Showing results for 
Search instead for 
Did you mean: 

Will an OFF state STM32 power up during SPI transaction

Clament John
Associate II
Posted on April 21, 2017 at 12:13

We know a micro can be powered up using its GPIO. If you didn't know - 

https://www.eevblog.com/forum/blog/eevblog-831-power-a-micro-with-no-power-pin!/

I have an STM32F0103 which will be in OFF state (VCC = 0 V) and another uC which will be connected to it through SPI. The second uC can initiate an SPI transaction - call chip select, send SCK etc, but the STM is still in its OFF state. So my question is

1.Will this cause the STM to get powered for a brief duration (when the pin is high)? I know it won't get enough current (the second uC GPIO pin won't supply enough), but will this flickering power cycle cause problems?

2.What should I do to prevent this if it happens?

#power-management #stm32
1 ACCEPTED SOLUTION

Accepted Solutions
S.Ma
Principal
Posted on April 21, 2017 at 20:57

The application implementation seems risky reliability speaking.

The unpowered GPIOs might degrade the transiting SPI device signals.

True open dain 'power fail safe' SDA/SCL pins of an I2C bus mode would be better suited at lower bitrate.

Otherwise maybe adding cheap serial resistors on the SPI lines going to the unpowered SPI device to minimize issues?

View solution in original post

1 REPLY 1
S.Ma
Principal
Posted on April 21, 2017 at 20:57

The application implementation seems risky reliability speaking.

The unpowered GPIOs might degrade the transiting SPI device signals.

True open dain 'power fail safe' SDA/SCL pins of an I2C bus mode would be better suited at lower bitrate.

Otherwise maybe adding cheap serial resistors on the SPI lines going to the unpowered SPI device to minimize issues?