Example: confidence

ATmega328P - Arduino

7810D-AVR-01/15 Features High performance, low power AVR 8-bit microcontroller Advanced RISC architecture 131 powerful instructions most single clock cycle execution 32 8 general purpose working registers Fully static operation Up to 16 MIPS throughput at 16 MHz On-chip 2-cycle multiplier High endurance non-volatile memory segments 32K bytes of in-system self-programmable flash program memory 1 Kbytes EEPROM 2 Kbytes internal SRAM Write/erase cycles: 10,000 flash/100,000 EEPROM Optional boot code section with independent lock bits In-system programming by on-chip boot program True read-while-write operation Programming lock for software security Peripheral features Two 8-bit Timer/Counters with separate prescaler and compare mode One 16-bit Timer/Counter with separate prescaler, compare mode, and capture mode

ATmega328P [DATASHEET] 7810D–AVR–01/15 6 2. Overview The Atmel® ATmega328P is a low-power CMOS 8-bit microcontroller based on the AVR® enhanced RISC architecture. By executing powerful instructions in a single clock cycle, th e ATmega328P achieves throughputs approaching 1MIPS per MHz

Tags:

  Metal, Atmega328p, The atmel

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of ATmega328P - Arduino

1 7810D-AVR-01/15 Features High performance, low power AVR 8-bit microcontroller Advanced RISC architecture 131 powerful instructions most single clock cycle execution 32 8 general purpose working registers Fully static operation Up to 16 MIPS throughput at 16 MHz On-chip 2-cycle multiplier High endurance non-volatile memory segments 32K bytes of in-system self-programmable flash program memory 1 Kbytes EEPROM 2 Kbytes internal SRAM Write/erase cycles: 10,000 flash/100,000 EEPROM Optional boot code section with independent lock bits In-system programming by on-chip boot program True read-while-write operation Programming lock for software security Peripheral features Two 8-bit Timer/Counters with separate prescaler and compare mode One 16-bit Timer/Counter with separate prescaler, compare mode.

2 And capture mode Real time counter with separate oscillator Six PWM channels 8-channel 10-bit ADC in TQFP and QFN/MLF package Temperature measurement Programmable serial USART Master/slave SPI serial interface Byte-oriented 2-wire serial interface (Phillips I2C compatible) Programmable watchdog timer with separate on-chip oscillator On-chip analog comparator Interrupt and wake-up on pin change Special microcontroller features Power-on reset and programmable brown-out detection Internal calibrated oscillator External and internal interrupt sources Six sleep modes.

3 Idle, ADC noise reduction, power-save, power-down, standby, and extended standbyATmega328P8-bit AVR Microcontroller with 32K Bytes In-SystemProgrammable FlashDATASHEETAT mega328P [DATASHEET]7810D AVR 01/152 I/O and packages 23 programmable I/O lines 32-lead TQFP, and 32-pad QFN/MLF Operating voltage: to for ATmega328P Temperature range: Automotive temperature range: 40 C to +125 C Speed grade: 0 to 8 MHz at to (automotive temperature range: 40 C to +125 C) 0 to 16 MHz at to (automotive temperature range: 40 C to +125 C) Low power consumption Active mode: at 3V - 4 MHz Power-down mode: 1 A at 3V 3 ATmega328P [DATASHEET]7810D AVR 01 ConfigurationsFigure 1-1.

4 Pinout (PCINT19/OC2B/INT1) PD3(PCINT20/XCK/T0) PD4(PCINT6/XTAL1/TOSC1) PB6(PCINT7/XTAL2/TOSC2) PB7 GNDVCCGNDVCC6785432132 31 30 29 28 27 26 259 101112131415161918172021222324PC1 (ADC1/PCINT9)(PCINT21/OC0B/T1) PD5(PCINT0/CLKO/ICP1) PB0(PCINT23/AIN1) PD7(PCINT1/OC1A) PB1(PCINT2/SS/OC1B) PB2(PCINT3/OC2A/MOSI) PB3(PCINT4/MISO) PB4(PCINT22/OC0A/AIN0) PD6PC0 (ADC0/PCINT8)AVCCPB5 (SCK/PCINT5)ADC7 GNDAREFADC6PD2 (INT0/PCINT18)PD1 (TXD/PCINT17)PD0 (RXD/PCINT16)PC6 (RESET/PCINT14)PC5 (ADC5/SCL/PCINT13)PC4 (ADC4/SDA/PCINT12)PC3 (ADC3/PCINT11)PC2 (ADC2/PCINT10)(PCINT19/OC2B/INT1) PD3(PCINT20/XCK/T0) PD4(PCINT6/XTAL1/TOSC1) PB6(PCINT7/XTAL2/TOSC2) PB7 GNDVCCGNDVCCNOTE.

5 Bottom pad should be soldered to 31 30 2932 MLF Top View28 27 26 259 101112131415161918172021222324PC1 (ADC1/PCINT9)(PCINT21/OC0B/T1) PD5(PCINT0/CLKO/ICP1) PB0(PCINT23/AIN1) PD7(PCINT1/OC1A) PB1(PCINT2/SS/OC1B) PB2(PCINT3/OC2A/MOSI) PB3(PCINT4/MISO) PB4(PCINT22/OC0A/AIN0) PD6PC0 (ADC0/PCINT8)AVCCPB5 (SCK/PCINT5)ADC7 GNDAREFADC6PD2 (INT0/PCINT18)PD1 (TXD/PCINT17)PD0 (RXD/PCINT16)PC6 (RESET/PCINT14)PC5 (ADC5/SCL/PCINT13)PC4 (ADC4/SDA/PCINT12)PC3 (ADC3/PCINT11)PC2 (ADC2/PCINT10)TQFP Top ViewATmega328P [DATASHEET]7810D AVR 01 supply B (PB7:0) XTAL1/XTAL2/TOSC1/TOSC2 Port B is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit).

6 The Port B output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, port B pins that are externally pulled low will source current if the pull-up resistors are activated. The Port B pins are tri-stated when a reset condition becomes active, even if the clock is not on the clock selection fuse settings, PB6 can be used as input to the inverting oscillator amplifier and input to the internal clock operating on the clock selection fuse settings, PB7 can be used as output from the inverting oscillator the internal calibrated RC oscillator is used as chip clock source.

7 Is used as input for the asynchronous Timer/Counter2 if the AS2 bit in ASSR is various special features of port B are elaborated in Section Alternate Functions of Port B on page 65 and Section 8. System Clock and Clock Options on page C (PC5:0)Port C is a 7-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, Port C pins that are externally pulled low will source current if the pull-up resistors are activated.

8 The port C pins are tri-stated when a reset condition becomes active, even if the clock is not the RSTDISBL fuse is programmed, PC6 is used as an input pin. If the RSTDISBL fuse is unprogrammed, PC6 is used as a reset input. A low level on this pin for longer than the minimum pulse length will generate a reset, even if the clock is not running. The minimum pulse length is given in Table 28-4 on page 261. Shorter pulses are not guaranteed to generate a various special features of port C are elaborated in Section Alternate Functions of Port C on page D (PD7:0)Port D is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit).

9 The port D output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, port D pins that are externally pulled low will source current if the pull-up resistors are activated. The port D pins are tri-stated when a reset condition becomes active, even if the clock is not various special features of port D are elaborated in Section Alternate Functions of Port D on page is the supply voltage pin for the A/D converter, PC3:0, and ADC7:6. It should be externally connected to VCC, even if the ADC is not used.

10 If the ADC is used, it should be connected to VCC through a low-pass filter. Note that use digital supply voltage, is the analog reference pin for the A/D [DATASHEET]7810D AVR 01 :6 (TQFP and QFN/MLF Package Only)In the TQFP and QFN/MLF package, ADC7:6 serve as analog inputs to the A/D converter. These pins are powered from the analog supply and serve as 10-bit ADC values contained in this datasheet are based on simulations and characterization of actual ATmega328P AVR microcontrollers manufactured on the typical process technology. automotive min and max values are based on characterization of actual ATmega328P AVR microcontrollers manufactured on the whole process excursion (corner run).


Related search queries