Instruction/ maintenance manual of the product ATmega88PA Atmel
Go to page of 20
Features • High Pe rf ormance, Low P ower A VR ® 8-Bit Microcontr oller • Adv anced RISC Architecture – 131 P o we rf ul Instructions – Most Sin gle Clock Cy c le Execu tio n – 32 x 8 Gener.
2 8161AS–AVR–11/08 ATmega88PA 1. Pin Configurations Figure 1-1. Pinout ATmega88 PA 1 2 3 4 5 6 7 8 24 23 22 21 20 19 18 17 (PCINT19/OC2B/INT1) PD3 (PCINT20/XCK/T0) PD4 GND VCC GND VCC (PCINT6/XT A.
3 8161AS–AVR–11/08 ATmega88PA 1.1 Pin Descriptions 1.1.1 VCC Digital supply voltage. 1.1.2 GND Ground. 1.1.3 P ort B (PB7:0) XT AL1/XT AL2/T OSC1/T OSC2 Port B is an 8-bit bi-directional I/O port with internal pull-up resist ors (selected for each bit) .
4 8161AS–AVR–11/08 ATmega88PA The various sp ecial features of Port D ar e elaborated in ” Alternate Functi ons of Port D” o n page 80 . 1.1.7 AV CC AV CC is the supply volta ge pin for the A/D Conver ter, PC3 :0, and ADC7:6. It should be extern ally connected to V CC , even if the ADC is not u sed.
5 8161AS–AVR–11/08 ATmega88PA 2. Overview The ATmega88PA is a low-power CM OS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful inst ru ctions in a single cl.
6 8161AS–AVR–11/08 ATmega88PA architecture is more code efficient while achiev ing throughputs up to ten times faster than con- ventional CISC microcontrollers.
7 8161AS–AVR–11/08 ATmega88PA 5. Register Summary Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Pa ge (0xFF) Reserved – – – – – – – – (0xFE) Reserved – – – –.
8 8161AS–AVR–11/08 ATmega88PA (0xC1) UCSR0B RXCIE0 TXCIE0 UDRIE0 RXEN0 TXEN0 UCSZ02 RXB80 TXB80 188 (0xC0) UCSR0A RXC 0 TXC0 UDRE0 FE0 DOR0 UPE0 U2X0 MPCM0 187 (0xBF) Reserved – – – – – .
9 8161AS–AVR–11/08 ATmega88PA (0x7F) DIDR1 – – – – – –A I N 1 D A I N 0 D 2 4 2 (0x7E) DIDR0 – – ADC5D ADC4D ADC3D ADC2D ADC1D ADC0 D 259 (0x7D) Reserved – – – – – – .
10 8161AS–AVR–11/08 ATmega88PA Note: 1. F or compatibili ty with fu ture devices, reserved bits s hould be written to zero if accessed. Reser ved I/O memor y addresse s should nev er be written. 2. I/O Registers within the address range 0x00 - 0x1F are directly bit-accessible using the SBI and CBI instructions.
11 8161AS–AVR–11/08 ATmega88PA NEG Rd Two’s Complement Rd ← 0x00 − Rd Z,C,N,V,H 1 SBR Rd,K Set Bit(s) in Reg ister Rd ← Rd v K Z,N,V 1 CBR Rd,K Clear Bit(s) in Register Rd ← Rd • (0xFF.
12 8161AS–AVR–11/08 ATmega88PA SEZ Set Zero Flag Z ← 1Z 1 CLZ Clear Ze ro Flag Z ← 0 Z 1 SEI Global Interrupt Enable I ← 1I 1 CLI Global Interrupt Disable I ← 0 I 1 SES Set Signed Test Fl ag S ← 1S 1 CLS Clear Signed Te st Flag S ← 0 S 1 SEV Set Twos Compleme nt Overflow.
13 8161AS–AVR–11/08 ATmega88PA 7. Or dering Information 7.1 A Tmega88P A Note: 1. This device can also be supplied in wafer f orm. Pl ease contact your local Atmel sales office for detailed order ing infor mati on and minimum quantities.
14 8161AS–AVR–11/08 ATmega88PA 8. P ac kaging Inf ormation 8.1 32A 2325 Orchard P arkway San Jose, CA 95131 TITLE DRA WING NO . R REV . 32A, 32-lead, 7 x 7 mm Body Size, 1.0 mm Body Thickness, 0.8 mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) B 32A 10/5/2001 PIN 1 IDENTIFIER 0˚~7˚ PIN 1 L C A1 A2 A D1 D e E1 E B Notes: 1.
15 8161AS–AVR–11/08 ATmega88PA 8.2 28M1 TITLE DRA WING NO . GPC REV . Pac k a g e Drawin g Contact: p a ck a gedr a wing s @ a tmel.com 2 8 M1 ZBV B 2 8 M1, 28-pad , 4 x 4 x 1.
16 8161AS–AVR–11/08 ATmega88PA 8.3 32M1-A 2 3 25 Orch a rd P a rkw a y Sa n Jo s e, CA 951 3 1 TITLE DRA WING NO . R REV . 3 2M1-A , 3 2-p a d, 5 x 5 x 1.
17 8161AS–AVR–11/08 ATmega88PA 8.4 28P3 2325 Orchard P arkway San Jose, CA 95131 TITLE DRA WING NO . R REV . 28P3 , 28-lead (0.300"/7.62 mm Wide) Plastic Dual Inline Package (PDIP) B 28P3 09/.
18 8161AS–AVR–11/08 ATmega88PA 9. Errata 9.1 Errata A Tmega88P A The revision letter in t his sect ion refers to the revision of the ATmega88PA device.
19 8161AS–AVR–11/08 ATmega88PA 10. Datasheet Re vision History Please note that the referring page numbers in this se ction are referred to this documen t. The referring re visio n in th is section are referring to the document revision. 10.1 Rev .
8161AS–AVR–11/0 8 Headquar ters International Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Atmel Asia Unit 1-5 & 16, 19/F BEA Tower, .
An important point after buying a device Atmel ATmega88PA (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Atmel ATmega88PA yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Atmel ATmega88PA - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Atmel ATmega88PA you will learn all the available features of the product, as well as information on its operation. The information that you get Atmel ATmega88PA will certainly help you make a decision on the purchase.
If you already are a holder of Atmel ATmega88PA, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Atmel ATmega88PA.
However, one of the most important roles played by the user manual is to help in solving problems with Atmel ATmega88PA. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Atmel ATmega88PA along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center