Author Topic: Understanding MCU pin specification  (Read 2222 times)

0 Members and 1 Guest are viewing this topic.

Offline Vindhyachal.taknikiTopic starter

  • Frequent Contributor
  • **
  • Posts: 487
Understanding MCU pin specification
« on: December 16, 2014, 06:04:15 am »
1. I am using STM8S003F3 whose datasheet I have attached.
2. I have question understanding its parameters : Injection current & power on any pin from external source when MCU is powered off.
3. Typically MCU have two diodes connected on pin so that whenever pin voltage exceed/lower 0.3V from supply they get turn on. Now we can place a resistor in between to limit the injection current.

Case 1: When MCU is powered
E.g if I apply Vin = 7V external, then internal diode will turn on , so that internal pin circuit will see that voltage. If diode has .3V drop then voltage will 5.3V.
Now to limit the current , I can place a resistor like 10K. It will always limit the current within Iinj(max) of pin.
Now how much value can be Vin i.e what could be its max value
I guess it can't be 100V & if I limit the current then MCU will work pin by turning on its diode.
There will be some breakdown voltage. Where it is mentioned in datasheet.


Case 2: When MCU is unpowered
e.g I am using uart or adc. Then even if MCU is unpowered. External sensor/uart will keep on giving some voltage on pin.
E.g external uart keep tx pin high.

So how to protect the MCU pin in this case when it is unpowered?
Will limiting the current to Iinj(max) will save the pin?
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4078
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: Understanding MCU pin specification
« Reply #1 on: December 16, 2014, 10:09:10 am »
Instead of disconnecting Vdd, put the chip in power-down mode by software.
Ignoring the note under the absolute maximum ratings, twice, isn't going to help you with your complaints if you get field failures.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf