Author Topic: Grrr! Wasted hours...  (Read 1819 times)

0 Members and 1 Guest are viewing this topic.

Offline colorado.robTopic starter

  • Frequent Contributor
  • **
  • Posts: 420
  • Country: us
Grrr! Wasted hours...
« on: September 10, 2018, 12:56:27 am »
I just spent many hours chasing down a problem trying to get current on an STM32L4 chip down to 3uA in stop mode.  Once I initialized the RTC or UART, I could never get the current consumption below 250uA.  I thought at first it was a board/GPIO issue, but the RTC uses no GPIOs.  Even initializing just this one IP block caused the problem.

I decided to try this on a Nucleo64 dev board I had lying around and the same code just worked.  :rant:

I finally convinced myself that I could have damaged the MCU during the initial PCB power-on where I had a wiring mistake that took one of the power domains well below its 3V3 nominal value.  The weird thing is the rest of the chip worked flawlessly.  It was just this odd Stop mode current issue.  The MCU even drew the expected current in standby or shutdown mode.

I replaced the MCU and the code I was working on for two days just worked:palm:
 

Offline Mr. Scram

  • Super Contributor
  • ***
  • Posts: 9810
  • Country: 00
  • Display aficionado
Re: Grrr! Wasted hours...
« Reply #1 on: September 10, 2018, 01:56:19 am »
This is why I generally order two or more of something. I love being able to do a sanity check with a second part. It typically shows me the problem isn't in the part, but in the designer. ;D
 

Offline coppercone2

  • Super Contributor
  • ***
  • Posts: 10669
  • Country: us
  • $
Re: Grrr! Wasted hours...
« Reply #2 on: September 10, 2018, 02:12:27 am »
or the programmer
or the compiler
or the cable
or the physical location (i had a mcu that kept randomly resetting when it was in a particular location, the thing was so bad I had to put a notebook ontop of the esd mat and it was fine, the things on isolated brass stand offs!)
or the angle (cracked socket)

« Last Edit: September 10, 2018, 02:15:15 am by coppercone2 »
 

Offline LapTop006

  • Supporter
  • ****
  • Posts: 467
  • Country: au
Re: Grrr! Wasted hours...
« Reply #3 on: September 10, 2018, 04:11:57 am »
Last week for me being convinced I'd killed a board due to overvoltage (the old HP supply it was hooked up to makes it *very* easy to add an extra few volts), then the next day while using that board as a reference noticed I'd simply failed to solder the data pins on the UART and that was why the board seemed dead.
 

Offline dmills

  • Super Contributor
  • ***
  • Posts: 2093
  • Country: gb
Re: Grrr! Wasted hours...
« Reply #4 on: September 10, 2018, 09:14:52 am »
I spent a good week chasing 'faulty relays' on a batch of production board at work.
Could NOT for the life of me reproduce on my bench, but the test department were having all kinds of issues...

The problem?

The test departments signal source had a honking great loudspeaker in **JUST** the wrong place, and they were resting the DUT on top of the signal generator causing the speaker magnet to hold the relay in! Oh how we laughed.

Regards, Dan. 
 

Offline Zucca

  • Supporter
  • ****
  • Posts: 4591
  • Country: it
  • EE meid in Itali
Re: Grrr! Wasted hours...
« Reply #5 on: September 10, 2018, 10:13:57 am »
well below its 3V3 nominal value.

So you can damage the MCU if you apply 1V instead of 3V3? I always thought the components damages are due to overvoltage not undervoltage situations. Wired...
Maybe there were others MCU power rails on, while one was down....  :-//
Can't know what you don't love. St. Augustine
Can't love what you don't know. Zucca
 

Offline xaxaxa

  • Regular Contributor
  • *
  • Posts: 248
  • Country: ca
Re: Grrr! Wasted hours...
« Reply #6 on: September 10, 2018, 02:40:12 pm »
looks like esd damage to me
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf