Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - set 0 to unuse pins

(you are viewing a thread; or go back to list of threads)

set 0 to unuse pins (by Alex)
Hello, i´ve read that when making a circuit board for MCU´s unused pins have to be set 0 in order to avoid Antenna effect for example, is this ladder correct for that purpose?


i set cycletime 0, so it is made with 4.2.0v
Fri May 12 2017, 17:11:09, download attachment unusedpins_set0.ld
(no subject) (by Ihor Nehrutsa)
In ideal, follow Atmel's guideline for unconnected pins.

13.2.6 Unconnected Pins
If some pins are unused, it is recommended to ensure that these pins have a defined level. Even though most of the digital inputs are disabled in the deep sleep modes as described above, floating inputs should be avoided to reduce current consumption in all other modes where the digital inputs are enabled (reset, active mode and idle mode).

The simplest method to ensure a defined level of an unused pin, is to enable the internal pull-up. In this case, the pull-up will be disabled during reset. If low power consumption during reset is important, it is recommended to use an external pull-up or pull-down.

Connecting unused pins directly to VCC or GND is not recommended, since this may cause excessive currents if
the pin is accidentally configured as an output.

Also:
If the pin is directly connected to GND and you accidentally enable the internal pull-up, you're wasting electricity.
If the pin is directly connected to GND and you accidentally configure it as an output and set it HIGH, you've fried the processor.
If the pin is directly connected to VCC and you accidentally configure it as an output and set it LOW, you've fried the processor.
Fri May 12 2017, 18:01:41
(no subject) (by Alex)
Interesting. I´m going to check that information, thanks for your reply
Fri May 12 2017, 18:05:47
(no subject) (by Ziggy)
Aleksei,

Comrade Stalin ( uncle Joe) said

trast iz gud... kantrol iz betr

democratically elected president Ronald Raygun said

trust... BUT verify

so.. what Ihor said
Fri May 12 2017, 18:54:34
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):