Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

the pins of AVR

Status
Not open for further replies.
Can we tie the pin to vcc with a 10k resistor and define it as input or define as output and tie pin to ground with a 1k resistor?
Sorry.... Slightly different to Pic's
Datasheet said:
14.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 th e 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
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top