Possible TPS65217C/Beaglebone Black Issue

2,328 views
Skip to first unread message

James Littlefield

unread,
Nov 18, 2013, 8:00:55 PM11/18/13
to beagl...@googlegroups.com
New to BBB but experienced with embedded systems.

I'm working on a project using the BBB.    Supplying +5V (up to 3A) directly to the pins on P9 from a quality bench supply.   I've found that briefly switching the +5V supply OFF and then back on can pretty reliably leave the BBB in an odd state characterized by...
a)  No LEDs on
b)  Very little current drawn from supply (10mA or less)
c)  +5 present on P9.5 and P9.6
d)  0.687V on P9.7 and P9.8 ( should be SYS_5V ). 
e) P9.9  = 3.57V
f)  P9.10 = 0V

I've found that once the system is in this mode no amount of pressing/holding the momentary BBB pushbuttons will get the system working again.    Removing input power,  waiting 10 sec or so, then restoring power will get things working again.

Has anyone else seen this?    It seems sort of like an issue with the TPS65217C chip but I've not found any reported errata on that part.

Thanks
Jim


Gerald Coley

unread,
Nov 18, 2013, 8:14:05 PM11/18/13
to beagl...@googlegroups.com
Obviously the PMIC is not liking what you are doing. The 3A current is not a factor in this scenario.

Check the timing diagrams in the datasheet and make sure you are not violating the power up ramp requirements  No lights means there is no power to the rest of the board and the PMIC has basically shutdown either due to a lockup of the sate machine or an over current condition  The only way to reset the state machine, is to pull power and start the process over.

It could also be seeing excess current if you have anything else plugged into the I/O pins. If you are careful you could try grounding the reset pin on the PMIC and see if it recovers when in this state. I don't recall how many states are affected by the reset line.

No, I have never seen or heard of this before.

Gerald



Gerald


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

James Littlefield

unread,
Nov 22, 2013, 10:18:16 PM11/22/13
to beagl...@googlegroups.com
Watching the 5V supply on a scope I see that there is a sort of 5V "brownout" during the time that the power is switched off but it does not go down much below 2.5V.    This appears to leave the PMIC with most of the outputs latched OFF.     I will add some external stuff to switch the 5V all the way off if the BBB hangs.

Jim 

Gerald Coley

unread,
Nov 22, 2013, 11:59:56 PM11/22/13
to beagl...@googlegroups.com
Is there anything else plugged in when the power is switched off?

Gerald

James Littlefield

unread,
Nov 23, 2013, 2:30:06 PM11/23/13
to beagl...@googlegroups.com
When I first observed the behavior I was testing a custom cape (sort of an LCD4 clone w/ some mechanical changes).     To eliminate the cape as a factor I did the same test without the cape and powering the BBB directly from the header pins.    The results were the same either way.

Regards,
Jim

APRichelieu

unread,
Dec 9, 2013, 4:57:50 AM12/9/13
to beagl...@googlegroups.com
Then you should be aware of brownout. If the voltage goes below operating level you must
recover by making sure that the voltage goes below a threshold which is application dependant.
It could be below 100 mV. Only very advanced circuits will recover from brownout in a desirable way.

Kees k

unread,
Dec 13, 2013, 10:49:07 AM12/13/13
to beagl...@googlegroups.com
Hey, did you try another power supply? Probably the PS has problem supplying the current and drops voltage? Or there is a current limitation. 

I tried to reproduce by only connecting P9.5, P9.6 and P9.1 (GND) , but could not.

James Littlefield

unread,
Dec 17, 2013, 7:35:13 AM12/17/13
to beagl...@googlegroups.com
As I said in the original post,  the bench supply is capable of more than 3A...far more than the BBB takes.    I've duplicated the problem on 2 difference bench supplies and with multiple BBBs (ie the problem is not specific to one particular BBB board).    

J-

ad...@mxm-upgrade.com

unread,
Apr 4, 2014, 5:17:26 AM4/4/14
to beagl...@googlegroups.com
Just to confirm this.

From the TPS datasheet:

OFF In OFF mode the PMIC is completely shut down with the exception of a few circuits to monitor the AC,
USB
, and push-button input. All power rails are turned off and the registers are reset to their default
values
. The I2C communication interface is turned off. This is the lowest-power mode of operation. To exit
OFF mode one of the following wake
-up events has to occur:
The push button input is pulled low.
The USB supply is connected (positive edge).
The AC adapter is connected (positive edge).
To enter OFF state, set the OFF bit in the STATUS register to 1 and then pull the PWR_EN
pin low
. Please note that in normal operation OFF state can only be entered from ACTIVE
state
. Whenever a fault occurs during operation such as thermal shutdown, power-good fail,
under voltage lockout
, or PWR_EN pin timeout, all power rails are shut-down and the device
goes to OFF state
. The device will remain in OFF state until the fault has been removed and
a
new power-up event has occurred.

When the brownout occurs, the unit goes in the "off" state and happily stays there. Apperently, the voltages subject to brownout recovering does not define as a "positive edge".

If anyone has a pretty solution for this, I'd be interested. Obviously, I can implement some kind of a watchdog that cuts the 5V altogether at some point but is there a SW or other 'easy' solution?

John Syn

unread,
Apr 4, 2014, 3:58:44 PM4/4/14
to beagl...@googlegroups.com

From: <ad...@mxm-upgrade.com>
Reply-To: <beagl...@googlegroups.com>
Date: Friday, April 4, 2014 at 2:17 AM
To: <beagl...@googlegroups.com>
Subject: [beagleboard] Re: Possible TPS65217C/Beaglebone Black Issue

Just to confirm this.

From the TPS datasheet:

OFF In OFF mode the PMIC is completely shut down with the exception of a few circuits to monitor the AC,
USB
, and push-button input. All power rails are turned off and the registers are reset to their default
values
. The I2C communication interface is turned off. This is the lowest-power mode of operation. To exit
OFF mode one of the following wake
-up events has to occur:
The push button input is pulled low.
The USB supply is connected (positive edge).
The AC adapter is connected (positive edge).
To enter OFF state, set the OFF bit in the STATUS register to 1 and then pull the PWR_EN
pin low
. Please note that in normal operation OFF state can only be entered from ACTIVE
state
. Whenever a fault occurs during operation such as thermal shutdown, power-good fail,
under voltage lockout
, or PWR_EN pin timeout, all power rails are shut-down and the device
goes to OFF state
. The device will remain in OFF state until the fault has been removed and
a
new power-up event has occurred.

When the brownout occurs, the unit goes in the "off" state and happily stays there. Apperently, the voltages subject to brownout recovering does not define as a "positive edge".

If anyone has a pretty solution for this, I'd be interested. Obviously, I can implement some kind of a watchdog that cuts the 5V altogether at some point but is there a SW or other 'easy' solution?
Unfortunately no, there is no software solution since the processor has no power. You have to use a power supply monitor/controller with a state machine to deal with this issue. This type of circuit is normally included a small energy reserve (battery or supercaps) so that the OS has time to close open files and prevent file system corruption during power fail issues. Normally, any power supply interruptions initiates an orderly shutdown of the OS. When the processor finally halts, power is removed from the PMIC. When power is available, power is applied to the PMIC and everything powers up normally. There are several corner cases that must be considered, such as power interruption during power up phase or power available during power down phase. A simple state machine takes care of these corner cases. Overall, the circuitry includes several voltage regulators (input buck convertor, output boost convertor), energy balance (supercaps), battery charger (battery), and a state machine (8 bit micro or my preference - GreenPAK). 

Regards,
John


On Tuesday, December 17, 2013 1:35:13 PM UTC+1, James Littlefield wrote:
As I said in the original post,  the bench supply is capable of more than 3A...far more than the BBB takes.    I've duplicated the problem on 2 difference bench supplies and with multiple BBBs (ie the problem is not specific to one particular BBB board).    

J-


On Friday, December 13, 2013 10:49:07 AM UTC-5, Kees k wrote:
Hey, did you try another power supply? Probably the PS has problem supplying the current and drops voltage? Or there is a current limitation. 

I tried to reproduce by only connecting P9.5, P9.6 and P9.1 (GND) , but could not.

On Tuesday, November 19, 2013 2:00:55 AM UTC+1, James Littlefield wrote:
New to BBB but experienced with embedded systems.

I'm working on a project using the BBB.    Supplying +5V (up to 3A) directly to the pins on P9 from a quality bench supply.   I've found that briefly switching the +5V supply OFF and then back on can pretty reliably leave the BBB in an odd state characterized by...
a)  No LEDs on
b)  Very little current drawn from supply (10mA or less)
c)  +5 present on P9.5 and P9.6
d)  0.687V on P9.7 and P9.8 ( should be SYS_5V ). 
e) P9.9  = 3.57V
f)  P9.10 = 0V

I've found that once the system is in this mode no amount of pressing/holding the momentary BBB pushbuttons will get the system working again.    Removing input power,  waiting 10 sec or so, then restoring power will get things working again.

Has anyone else seen this?    It seems sort of like an issue with the TPS65217C chip but I've not found any reported errata on that part.

Thanks
Jim


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

James Littlefield

unread,
Apr 4, 2014, 6:58:34 PM4/4/14
to beagl...@googlegroups.com
Thanks for confirming my original observation!   I think John raises some important points regarding power handling...some of which go well beyond the context of my original post.    As he suggests a software solution is not an option ...unless you have some other platform to run the software on!    For the application about which I originally posted, we are less concerned with power fail warnings, writing system state to nv memory, etc so the only real issue for us is that when power is available we want the Bone to run!    Unfortunately,   if there is a power disturbance that is enough to trigger the TPS65217C into shutdown you can have perfectly good power for a month and the system will never come back on.     I worked around this by doing something like the following....

1.  Find a watchdog chip that will run off the raw 5V supply available and connect the watchdog ICs  input/tickler to some digital signal which tends to be available an an early stage in the boot process.    The horizontal/vertical sync lines for an external LCD are available on the P8/P9 headers and usually start toggling pretty soon.    You also need to make sure that the watchdog IC can be configured for a fairly long timeout period and that its reset output is also longish (seconds).
2.  Wire the RESET output of the watchdog IC to a power switch so that if the watchdog times out it will cut power to the BBB.    There are some fairly inexpensive USB host power switch ICs that can handle 2A so these are sometimes appropriate.     Another option,  if you are stepping down a raw input voltage to 5V for the bone and the dc/dc converter IC has a shutdown input,  you can use the watchdog IC to turn off the dc/dc converter.   In this case you have to generate an independent 5V supply just for the watchdog IC ...but a simple linear regulator can do that for low cost given the small current required.

With this configuration  if your TPS65217 gets stuck in the shutdown state the watchdog will eventually time out,  cut 5V power,  and (hopefully) kick the TPS back into normal operation.    One thing to watch for however,  is that with the TPS in shutdown mode,  there is very little current drawn from the 5V supply so it will take some time for the 5V supply to decay to 0V  even with the power source removed.    This is why you need a watchdog IC with a long reset output pulse width.   

Maybe the TPS65217D will have some additional internal logic which makes all this unnecessary!

Jim-



   


You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/p0CwsGzNYNw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

Przemek Klosowski

unread,
Apr 4, 2014, 9:54:18 PM4/4/14
to beagl...@googlegroups.com
As a general comment, whenever people are talking about edge
detection, there's an implied timing specification of the sharpness
and/or quality of that edge---there's an implied slope and setup/hold
times, and your actual V(t) may be such that it is not seen as a
valid, recognized positive edge.

Specifically, the voltage rise could be too fast or too slow, or the
voltage dip is too shallow, or there are ringing/bouncing artefacts
that lock out the edge detector.


On Fri, Apr 4, 2014 at 5:17 AM, <ad...@mxm-upgrade.com> wrote:
> Just to confirm this.
>
> From the TPS datasheet:
>
> OFF In OFF mode the PMIC is completely shut down with the exception of a few
> circuits to monitor the AC,
> USB, and push-button input. All power rails are turned off and the registers
> are reset to their default
> values. The I2C communication interface is turned off. This is the
> lowest-power mode of operation. To exit
> OFF mode one of the following wake-up events has to occur:
> * The push button input is pulled low.
> * The USB supply is connected (positive edge).
> * The AC adapter is connected (positive edge).

jay.l...@gmail.com

unread,
Apr 25, 2014, 7:58:30 PM4/25/14
to beagl...@googlegroups.com
I just foolishly posted pretty much the same question...

I'm seeing very similar behavior, I also noticed that it can still be powered from the USB when in this state but not VDD_5V.

Can you please elaborate on the brownouts that you're seeing. You said they're occurring when "the power is switched off", is this in software, i.e. "shutdown -h now"? I haven't been able to see this on my scope but I also can't reliably recreate the situation in which it occurs.

I know the PMICs are the same on RevA and RevB, but I believe I've only seen this on RevB boards.

Thanks!
jay

James Littlefield

unread,
Apr 28, 2014, 10:39:40 AM4/28/14
to beagl...@googlegroups.com
Hi Jay,

I think this was covered in my original post....

"I'm working on a project using the BBB.    Supplying +5V (up to 3A) directly to the pins on P9 from a quality bench supply.   I've found that briefly switching the +5V supply OFF and then back on can pretty reliably leave the BBB in an odd state characterized by...
a)  No LEDs on
b)  Very little current drawn from supply (10mA or less)
c)  +5 present on P9.5 and P9.6
d)  0.687V on P9.7 and P9.8 ( should be SYS_5V ). 
e) P9.9  = 3.57V
f)  P9.10 = 0V"

The command line is not involved.

I was using a lab supply and just switching it off for about 500ms then back on.     I have also been able to cause the problem using an adjustable output supply by lowering the input voltage to around 2V then going back up to 5V.

Regards,
Jim




--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/p0CwsGzNYNw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

Ulf Samuelsson

unread,
Apr 30, 2014, 7:47:08 AM4/30/14
to beagl...@googlegroups.com
So you generate a Brown-Out condition, which means that you operate the part outside the spec.
Dont expect to get any electronic to work after you enter Brown-Out...
Once Brown-Out occurs, you typically have to recover by totally removing power 
until you are below certain thresholds which are chip dependent.
This can take a number of seconds.

To protect agaist Brown-Out you need a backup battery (or a SuperCap) and electronics
which shuts down the Beaglebone gracefully and keps the Beaglebone off power until
nomal power is restored.

Best Regards
Ulf Samuelsson

James Littlefield

unread,
May 1, 2014, 8:43:57 PM5/1/14
to beagl...@googlegroups.com
Brown-out conditions are handled quite robustly by many devices including many micro-controllers and at least some of the PMICs that I've used in other systems.... but apparently not the one used on the BBB.      

The particular behavior about which I posted is not related to "graceful shutdown" but rather to coming back up when power returns. The TPS65217 part will apparently never re-enable its outputs after a brownout ...no matter how long the valid input voltage persists.

There are a number of mitigation approaches which all require additional external circuitry but don't need additional backup power sources.

Cheers,
Jim





   

viewpoi...@gmail.com

unread,
Aug 9, 2014, 12:42:35 PM8/9/14
to beagl...@googlegroups.com
Could this problem be a result of leaving the Reset pin (44) of U2 (TPS65217C) unconnected in the BBB design?
Would resetting U2 cause a recovery?

Gerald Coley

unread,
Aug 11, 2014, 4:33:44 PM8/11/14
to beagl...@googlegroups.com
Well, as I understand it, resetting the PMIC resets the PMIC. That would in some cases cause the destruction of the processor. But, feel free to give it a shot.

Gerald



You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Lawrence Menten

unread,
Jan 12, 2015, 8:22:21 AM1/12/15
to beagl...@googlegroups.com
I just posted a similar (same?) problem.  Funky voltage measurements on TPs similar or the same as yours.  Just tried the system again this AM after reporting problem to rma just to discover that BBB booted up perfectly and is now operational again. 

Gerald Coley

unread,
Jan 12, 2015, 1:24:28 PM1/12/15
to beagl...@googlegroups.com
I saw that.

Gerald


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

nehaloha...@gmail.com

unread,
Jun 25, 2018, 9:53:50 AM6/25/18
to BeagleBoard


On Monday, November 18, 2013 at 8:00:55 PM UTC-5, James Littlefield wrote:

nehaloha...@gmail.com

unread,
Jun 25, 2018, 9:53:50 AM6/25/18
to BeagleBoard
Sir, my beaglebone black board  when power up using 5V adaptor power led blink once and get off .when i check voltage at 3.3V pin it gives 0V  at that paticular pin.After reading datasheet it tell PMIC shutdown mode.Will you please tell me any solution for this? 


On Monday, November 18, 2013 at 8:00:55 PM UTC-5, James Littlefield wrote:

Robert Nelson

unread,
Jun 25, 2018, 9:58:46 AM6/25/18
to Beagle Board
On Mon, Jun 25, 2018 at 6:43 AM, <nehaloha...@gmail.com> wrote:
> Sir, my beaglebone black board when power up using 5V adaptor power led
> blink once and get off .when i check voltage at 3.3V pin it gives 0V at
> that paticular pin.After reading datasheet it tell PMIC shutdown mode.Will
> you please tell me any solution for this?

tps died..

Regards,


--
Robert Nelson
https://rcn-ee.com/

Graham

unread,
Jun 25, 2018, 7:47:15 PM6/25/18
to BeagleBoard
Could also be poor Voltage regulation of 5V adaptor.
The Voltage at the input of the BBB TPS MUST stay between 4.5 and 5.5 Volts or TPS will go into self protect and do as you describe.
Even one millisecond outside of Voltage limits will trip self protect.
Best to keep power input Voltage between 4.75 and 5.25 Volts at all times.
Put scope on the power pin and make sure Voltage stays good.
--- Graham

==

Neha Lohar

unread,
Jun 26, 2018, 9:03:42 AM6/26/18
to beagl...@googlegroups.com
Sir, Thank you for reply
I checked the input voltage and i am getting 5.25V at tps pin. Can you please tell me what would be issue? 

And if tps is died how can i recover it? 


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/p0CwsGzNYNw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/b0ca2c02-a83e-4e42-8568-fc5bb1cf47ec%40googlegroups.com.

Graham

unread,
Jun 26, 2018, 9:04:30 PM6/26/18
to BeagleBoard
Did you check with oscilloscope?
Regular Voltmeter can not see short transients that will trip TPS chip into self-protect.

If TPS chip is damaged, you must replace the chip, or purchase another BBB board.

--- Graham

==

Gerald Coley

unread,
Jun 26, 2018, 9:42:38 PM6/26/18
to beagl...@googlegroups.com

Replacing the TPS65217 chip will not fix the board. The processor is most liley blown. When the light flashes, that is the TPS65217 turning on and then shutting down due to excess currecnt on one of the rails, typicaly the 1.8V or 3.3V rail.

 

Gerald

You received this message because you are subscribed to the Google Groups "BeagleBoard" group.

To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/c4414e15-8f02-4823-94be-8dc78eddeb35%40googlegroups.com.

Neha Lohar

unread,
Jun 26, 2018, 9:43:59 PM6/26/18
to beagl...@googlegroups.com
Thank you for reply
Yes sir, i checked on oscilloscope even later i checked reset pin of tps65217 ic which should go low if pmic is in shutdown mode,  but i see high signal on that pin. 

Reply all
Reply to author
Forward
0 new messages