Skip to main content
Graduate II
September 27, 2024
Solved

Protect the MCU without making hardware changes.

  • September 27, 2024
  • 3 replies
  • 2380 views

Hello everyone,

I’m facing an issue described in this link: My STM32 device is overheating and has malfunctioned.

My STM32G070CBT MCU has been damaged, specifically from the PC6 pin, which wasn’t in use. Unfortunately, the pin is connected to another device that is shorted to the chassis, and this is a finished product that has already been released. Here’s what I cannot do:

  • I cannot modify the PCB design.
  • I cannot add protection diodes.
  • I cannot cut the cable.

Given these constraints, is there a way to protect the MCU without hardware changes? For instance, could setting PC6 to pull-down mode or output mode help mitigate the issue?

Thanks!

    This topic has been closed for replies.
    Best answer by Andrew Neil

    @Wadeva wrote:

    Hello, I’m a bit confused.  


    Likewise!

    Pulling an unused pin to ground shouldn't cause any problems at all - in fact, it is a common practice to do so!

    AndrewNeil_0-1727686155877.png

    https://www.st.com/resource/en/application_note/an5096-getting-started-with-stm32g0-series-hardware-development-stmicroelectronics.pdf 

     

    The only problem would be when it is configured as an output and driven high.

    Or left unconfigured and floating.

    3 replies

    WadevaAuthor
    Graduate II
    September 25, 2024

    (moved from previous thread)

    Now, my challenge is different. Since the design is already completed and the PCBs have been manufactured, it’s unlikely that we can make changes to the layout at this stage. Is there a way I can protect this unprotected pin to safeguard the MCU from ESD without redesigning the PCB? Alternatively, is there a way to reduce the risk of the device being damaged?

    Super User
    September 25, 2024

    @Wadeva wrote:

    Now, my challenge is different. 


    Please start a new thread for a new question.

    Provide a link here, so that people can find it.

    You can provide a link in the new thread back to here for reference.

    You're going to need to give more details about this "unprotected" pin - show schematic, etc.

    Graduate II
    September 25, 2024

    unprotected pin that is connected to the chassis ground of the device

    >> Since the design is already completed and the PCBs have been manufactured,
    >> it’s unlikely that we can make changes to the layout at this stage.

    Bad idea with that BIG design error! I wonder how that one got through any design checks.

    You could still test the device's ESD behavior.
    If the chassis is perfectly grounded and chassis potential is the same as STM32's local GND, it might still work...

    But as it is already having problems without ESD... or have you solved the heat problem by changing GPIO mode of that pin?

    WadevaAuthor
    Graduate II
    September 30, 2024

    Hello LCE,

    We conducted tests in the past, but unfortunately, they were done incorrectly, so we didn’t notice the issue until malfunctioning problems began. While we don’t have time to perform another ESD test right now, we plan to do so in the future.

    Although we haven’t changed any pin configurations and no further devices have failed, it feels like a ticking time bomb—we don’t know when the problem might occur again.

     

    Super User
    September 27, 2024

    @Wadeva wrote:

    PC6 pin, which wasn’t in use. Unfortunately, the pin is connected to another device that is shorted to the chassis, 


    If PC6 is configured as an input (which is the default state), that shouldn't matter.

    So make sure that PC6 is configured as an input - or just left unconfigured.

    WadevaAuthor
    Graduate II
    September 27, 2024

    Hello Andrew,

    This pin indeed unconfigured. 

    Super User
    September 27, 2024

    Then pulling it to ground would cause no problem.