Skip to main content
Visitor II
January 31, 2019
Question

STM32L412RBT, IO damaged very easily?

  • January 31, 2019
  • 9 replies
  • 3037 views

Hi,

I'm using STM32L412RBT, LQFP64pin.

As the attached schematic, we are using some GPIO's as BTN inputs.

But, unfortunately, the GPIO got damaged very easily without special reason.

The pin voltage stuck at 1.0 ~ 1.7V when the button is not pressed.

We assembled 10 boards, and 3MCUs has this problem.

We had used the similar schematic with STM32F201, STM32F767, and so on.

But, this is the first time we're using STM32L412RBT and now we have problem.

As I know, STM32L412 is one of most recently released MCU from ST.

Is there any known issue regarding to GPIO damage ?

Or is there special design guide for STM32L412 ?

* If you want, I can send one or two MCUs for your analysis.

* If there is any known issue, I need to change the MCU to a compatible one.

 * IO damage occurs on MCU RESET input pins also.

0690X000006DKTjQAO.png

VDD is 3.3V.

Best Regards,

Danny

    This topic has been closed for replies.

    9 replies

    Technical Moderator
    January 31, 2019

    Hello @taz1000​ 

    You can contact your FAE for analyze  this issue.

    Kind Regards,

    Imen

    Technical Moderator
    February 1, 2019

    Hi @Community member​ ,

    You are right, I already raised internally this error for a fix.

    Note, Datasheet is accessible from STM32L412CB or other product pages.

    Kind Regards,

    Imen.

    Graduate
    February 1, 2019

    I suppose the question I would be asking is why this happens on SW3, but not on SW2. (I assume they have similar external circuits).

    And looking at the data sheet, I see that PB8 for SW3 has an I/O structure of FT_f whereas PB3 for SW2 has an I/O structure of FT_a.

    What's the difference? They're both 5V-tolerant. But FT_f isn't something I have seen on stm32f7. It seems to be a new structure intended to allow the pin to be used for I2C at 1 MHz.

    I don't see an errata document for stm32l41x, so maybe this is a fairly new family for which ST are still preparing the document. Also I see in the data-sheet, Table 19 current characteristics has a different line for FT_f maximum sink current, but the same absolute-maximum value. And in table 70, the FT_f pins can sink much harder when in FM+ mode.

    So my next question is should FT_f pins be treated differently?

    Is it a weakness in ST's circuit-design?

    Do you ever (even at start-up or during production-testing or as a transient when setting up the pins) set PB8 as an output?

    How (I didn't see it glancing through the reference manual) does one select FM+ mode for FT_f pins? Is it possible these pins are accidentally ending up in that state.

    But yes, I think your next step is to contact your FAE.

    Hope this helps,

    Danish

    ST Employee
    February 5, 2019

    FM+ is enabled inside SYSCFG_CFGR1.

    Super User
    February 1, 2019

    The 'L422 errata mention PB8, in a weird context of 48-pin SMPS package, which in turn is missing in the 'L422 DS... The 'L422 is most probably the same silicon die as the 'L412, only with enabled crypto.

    What's the behaviour of the PB8 pin during reset, i.e. when NRST is grounded?

    Is the PB8 behaviour as if a cca 10kOhm pulldown be enabled, i.e. if you change the external pullup, does the output voltage follow linearly?

    JW

    ST Employee
    February 5, 2019

    The errata item about PB8 is not related to functional limitation, but to the fact this GPIO is not internally locked on 48 pin SMPS package on both L412 and L422, regardless the package is supported by the given sales type (but you are right, L422 errata needs an update to remove this item).

    What is the GPIO configuration, what is the content of GPIOB registers ? (MODER, PUPDR) ?

    taz1000Author
    Visitor II
    February 8, 2019

    All button input pins are configured to be

    input mode

    no pull-up, no pull-down

    Super User
    February 8, 2019

    Did you verify this by actually reading out the content of relevant GPIO registers?

    JW

    Visitor II
    April 7, 2019

    Please share to know what is the final ans. if possible please!

    taz1000Author
    Visitor II
    December 25, 2019

    I had changed the MCU to STM32F4xx for higher performance and memory sizes.

    ( no change in HW , only MCU is changed.)

    After changing the MCU, I don't have the issue any more.

    Visitor II
    April 7, 2019

    The external pull-ups are not needed as they can be activated at GPIO levels.

    If the internal pull-down is activated, the voltage might not be 3.3V

    Reverse the reasoning, for the pin as output and in the debugger manually set to 1 and 0 and check the output voltage.

    Unless the PCB making pick and place machine has issues and creates a damaging ESD overspec shock, it might be something else, unless there is something mentionned in the errata sheet...

    Visitor II
    December 25, 2019

    I smell the button is populated with wrong orientation. Check the button by disconectting the 100 Ohm.

    Also, with internal pull up in the MCU, the external 10k is not needed.

    With SW debouncing, the 100nF capacitor and 100 Ohm resistor are optional as well.