Friday, 26 April 2019

microcontroller - Do I have to provide VCC to every VCC pin on Atmega32u4 MCU?


Atmega32u4 has 7 VCC pins. Can I connect 1 of the 7 VCC pins to the power supply to power the MCU, and use the rest of the VCC pins (6 of them) on the MCU to power other peripherals, such as LEDs?



Answer



Not sure where you see 7. The datasheet shows 2 AVCC, 2 VCC, 1 UVCC and 1 VUSB.



The 2 AVCC are used to power the Analog circuitry, and not connecting them, and not filtering it, would mean shitty analog to digital or digital to analog conversions. If you don't need the ADC or DAC features it's not mandatory.


The VCC powers the digital circuitry. You should connect both. YMMV if you don't. Drawing too much power cab cause issues then.


The UVCC is for powering the USB circuitry. Again if you don't use it...


VBUS is actually an input that connects to USB power, for sensing when a usb cable is connected.


And there is the GND pins. All should be connected. Technically one tends to be AGND but still, connect it.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...