AT90PWM81 Atmel Corporation, AT90PWM81 Datasheet - Page 256
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
AT90PWM81
Manufacturer Part Number
AT90PWM81
Description
Manufacturer
Atmel Corporation
Datasheet
1.AT90PWM161.pdf
(325 pages)
Specifications of AT90PWM81
Flash (kbytes)
8 Kbytes
Pin Count
20
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
Hardware Qtouch Acquisition
No
Max I/o Pins
20
Ext Interrupts
3
Usb Speed
No
Usb Interface
No
Spi
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
125
Analog Comparators
3
Resistive Touch Screen
No
Dac Channels
1
Dac Resolution (bits)
10
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.25
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 125
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
1
Output Compare Channels
8
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
No
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT90PWM81-16MF
Manufacturer:
Atmel
Quantity:
3 118
Company:
Part Number:
AT90PWM81-16MN
Manufacturer:
Atmel
Quantity:
2 446
Company:
Part Number:
AT90PWM81-16SF
Manufacturer:
Atmel
Quantity:
2 428
Company:
Part Number:
AT90PWM81-16SN
Manufacturer:
Atmel
Quantity:
1 500
- Current page: 256 of 325
- Download datasheet (6Mb)
21.7.4
256
AT90PWM81
Programming the Flash
The Flash is organized in pages, see
data is latched into a page buffer. This allows one page of program data to be programmed simultane-
ously. The following procedure describes how to program the entire Flash memory:
A. Load Command “Write Flash”
B. Load Address Low byte
C. Load Data Low Byte
D. Load Data High Byte
E. Latch Data
F. Repeat B through E until the entire buffer is filled or until all data within the page is loaded.
While the lower bits in the address are mapped to words within the page, the higher bits address the pages
within the FLASH. This is illustrated in
required to address words in the page (pagesize < 256), the most significant bit(s) in the address low byte
are used to address the page when performing a Page Write.
G. Load Address High byte
H. Program Page
I. Repeat B through H until the entire Flash is programmed or until all data has been programmed.
1.
2.
3.
4.
1.
2.
3.
4.
1.
2.
3.
1.
2.
3.
4.
1.
2.
1.
2.
3.
4.
1.
2.
Set XA1, XA0 to “10”. This enables command loading.
Set BS1 to “0”.
Set DATA to “0001 0000”. This is the command for Write Flash.
Give XTAL1 a positive pulse. This loads the command.
Set XA1, XA0 to “00”. This enables address loading.
Set BS1 to “0”. This selects low address.
Set DATA = Address low byte (0x00 - 0xFF).
Give XTAL1 a positive pulse. This loads the address low byte.
Set XA1, XA0 to “01”. This enables data loading.
Set DATA = Data low byte (0x00 - 0xFF).
Give XTAL1 a positive pulse. This loads the data byte.
Set BS1 to “1”. This selects high data byte.
Set XA1, XA0 to “01”. This enables data loading.
Set DATA = Data high byte (0x00 - 0xFF).
Give XTAL1 a positive pulse. This loads the data byte.
Set BS1 to “1”. This selects high data byte.
Give PAGEL a positive pulse. This latches the data bytes. (See
waveforms)
Set XA1, XA0 to “00”. This enables address loading.
Set BS1 to “1”. This selects high address.
Set DATA = Address high byte (0x00 - 0xFF).
Give XTAL1 a positive pulse. This loads the address high byte.
Give WR a negative pulse. This starts programming of the entire page of data. RDY/BSY goes
low.
Wait until RDY/BSY goes high (See
Table 21-11 on page
Figure 21-2 on page
Figure 21-3
for signal waveforms).
254. When programming the Flash, the program
257. Note that if less than eight bits are
Figure 21-3
for signal
7734P–AVR–08/10
Related parts for AT90PWM81
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![U641B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
![U4082B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
![U4255BM-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B-P](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
![TDA4470](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
![ATF22V10B-25PC](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
![AT89C51ED2-IM](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
![AT24C01](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet:
![U6046B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
U6046BREAR WINDOW HEATING TIMER / LONG-TERM TIMER
Manufacturer:
ATMEL Corporation
Datasheet: