Given below is the datasheet of ATmega2560 by Atmel. Pin Number Name Description 10, 31, 61, 80 VCC Supply Pins 11, 32, 62, 81, 99 GND Ground pins 98 AREFF Reference supply for ADC 100 AVCC Supply pin for analog peripherals 33, 34 XATL Crystal oscillators pins 30 RESET Reset pin 2, 3 PE0, PE1 Digital pin (TX0, RX0) 46-47 PD2,PD3 Digital Pins (TX1, RX1) 12,13 PH0,PH1 Digital Pin (TX2, RX2) 63, 64 PJ0, PJ1 Digital Pins (TX3, RX3) 5-7 PE3-PE5 Digital Pin (PWM) 15-18, 24-26 PH0-PH6, PB4-PB7 Digital Pin (PWM) 38-40 P元-PL5 Digital Pin (PWM) 19, 20 PB0, PB1 Digital Pin (SS, SCK) 35-37 PL0-PL2 Digital Pin 47-60 PC0-PC7 Digital Pin 70-78 PA7-PA0 Digital Pins 4,8,9,14 PE2,PE6,PE7,PH2 Digital Pin 28-29, 51-52, 70, 1 PG3-PG4, PG0-PG1, PG2, PG5 Digital Pins 82-97 PF7-PF0, PK7-PK0 Analog Pins ATmega2560 pinout Datasheet The complete pinout is given in the table below. It also has 4 UART ports (8 pins), 5 SPI peripherals, and 1 I2C port. Out of 54 digital pins, 15 can be used as PWM pins. There are a total of 100 pins on ATmega2560, of which 16 are analog input pins and 54 digital input/output pins. Read also: ATmega328p Pinout, datasheet, and specifications ATmega2560 Pinout The output current from the input-output pins is near around 40mA. The input voltage range of the ATmega2560 is 2.7V – 5.5V. The ATmega2560 offers 4 ports of UART communication (TX-RX), 5 SPI peripherals, and one I2C peripheral. Six of the 32 registers can be used as three 16-bit indirect address register pointers for Data Space addressing, enabling efficient address calculations. The ATmega2560 has 32 × 8-bit general-purpose working registers with a single clock cycle access time. In order to reduce power consumption, the clocks modules not being used can be halted by using different sleep modes. All the clocks of Atmega2560 need not be active at a given time. The ATmega2560 has multiple clocks, i.e., CPU clock, I/O clock, Flash clock, ADC clock, and Asynchronous clock. As far as other hardware on the Mega goes, it also touts four serial ports for general attachments, a USB connection (with a dedicated ATmega16U2 processor for interfacing with your computer), a reset button and a power supply port. In addition, ATmega2560 contains 256KB In-System Reprogrammable Flash memory for program storage.įor software security, the Flash Program memory space is divided into two sections, the Boot Program section and the Application Program section. See the graphic below for a (dare I say) mega-map of the Mega’s pins. Single register operations can also be executed in the ALU.ĪTmega2560 has two main memory spaces: the Data Memory and the Program Memory. The ALU supports arithmetic and logic operations between registers or between a constant and a register. The program memory is In-System Reprogrammable Flash memory This concept enables instructions to be executed in every clock cycle. While one instruction is being executed, the next instruction is pre-fetched from the program memory. To maximize performance, the Atmega2560 uses an AVR-RISC (Harvard architecture) – with separate memories and buses for program and data. The resulting architecture is more code efficient and ten times faster than conventional CISC microcontrollers. All 32 registers are directly connected to the Arithmetic Logic Unit (ALU). The AVR core of ATmega2560 combines a rich set of instructions with 32 general-purpose working registers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |