Skip to main content
KUHAN JON
Associate II
February 7, 2018
Question

Non normal operation of STM32F103x

  • February 7, 2018
  • 6 replies
  • 1651 views
Posted on February 07, 2018 at 09:31

Hi, everybody.

I have a trouble in using STM32F103RET6 MCU.

The problem is as follows.

My board has one STM32F103RET6 as a controller and uses SPI2, UART2, 4 channels of ADC and some GPIOs.

I downloaded the simple firmware using JLINK/SW mode.

The board worked well for some minitues and after sometime, looked as halted.

I doubt if MCU might be breakdown and so tested the resistance between VDD and GND using multitestet diode testing mode.

The resistance was measured as 50 or 200 or 19 in both direction.

But i found that after keeping the board as power off for several hours, that resistance was came back to the value of 412 in reverse direction and 1550 in forward direction.

I replaced with new chip but that phenomena was occured repeatedly.

I used LP5907MFX-2.8(2.8V/200mA LDO) as a power supply for MCU.

I cannot understand this phenomena.

Please help me to explain this phenomena.

Thanks.Kuhan.

    This topic has been closed for replies.

    6 replies

    waclawek.jan
    Super User
    February 7, 2018
    Posted on February 07, 2018 at 09:43

    The blame is always put on the most expensive part.... What about a reversed polarized capacitor?

    JW

    S.Ma
    Principal
    February 7, 2018
    Posted on February 07, 2018 at 09:52

    Any hot components on the board when things turn ugly?

    henry.dick
    Associate II
    February 7, 2018
    Posted on February 07, 2018 at 12:06

    '

    I cannot understand this phenomena.'

    it is definitely ***NOT*** that simple fireware.

    Look somewhere else,

    AvaTar
    Senior III
    February 7, 2018
    Posted on February 07, 2018 at 12:11

    it is definitely ***NOT*** that simple fireware.

    Look somewhere else,

    My initial thoughts, too.

    Does a debugger lose contact to the MCU during those 'events' ?

    Or might it just be stuck in the hardfault handler ... ?

    KUHAN JON
    KUHAN JONAuthor
    Associate II
    February 8, 2018
    Posted on February 08, 2018 at 02:44

    Hi, thanks for your replies.

    Yes, AvaTar.

    When STM32F103RET6 is halted, the debugger loses contact to the CPU.

    And i add some information.

    When that MCU was halted, i desoldered all peripheral componenets such as capacitors and LDO.

    But the resistance situation was still measured as those wrong value.

    I keeped it for 5 hours. After 5 hours, the resistance between VDD and GND was repaired to the normal values.

    I again soldered the new peripheral componenets and tested.

    That strange phenomena was repeated.

    I am on verge of collapse!!

    perhaps is the system clock unstable?

    But anyway, i cannot analyse that phenomena.

    I have other STM32 series board such as STM32F103VET6, STM32F103C8T6.

    I tested those board, but those are all normal.

    Tesla DeLorean
    Guru
    February 8, 2018
    Posted on February 08, 2018 at 04:27

    Do you have a schematic for this board?

    Do you drive any of the pins with 5V levels?

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    KUHAN JON
    KUHAN JONAuthor
    Associate II
    February 8, 2018
    Posted on February 08, 2018 at 05:26

    Hi, Clive One.

    Thanks for your reply.

    Yes, I have a schematic.

    And i have not dirved any of the pins with 5V levels.

    I will attach the schematic.

    https://pan.baidu.com/s/1dHnjKNv

    KUHAN JON
    KUHAN JONAuthor
    Associate II
    February 8, 2018
    Posted on February 08, 2018 at 14:11

    Thanks,Avatar.

    I will do as you said.