ATxmega32D4 Atmel Corporation, ATxmega32D4 Datasheet - Page 281
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATxmega32D4
Manufacturer Part Number
ATxmega32D4
Description
Manufacturer
Atmel Corporation
Specifications of ATxmega32D4
Flash (kbytes)
32 Kbytes
Pin Count
44
Max. Operating Frequency
32 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
34
Ext Interrupts
34
Usb Speed
No
Usb Interface
No
Spi
4
Twi (i2c)
2
Uart
2
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
12
Adc Resolution (bits)
12
Adc Speed (ksps)
200
Analog Comparators
2
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
4
Eeprom (bytes)
1024
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.6 to 3.6
Operating Voltage (vcc)
1.6 to 3.6
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
14
Input Capture Channels
14
Pwm Channels
14
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATxmega32D4-AU
Manufacturer:
Atmel
Quantity:
123
Part Number:
ATxmega32D4-AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATxmega32D4-CU
Manufacturer:
Maxim
Quantity:
71
Company:
Part Number:
ATxmega32D4-MH
Manufacturer:
Atmel
Quantity:
1 910
Company:
Part Number:
ATxmega32D4-MH
Manufacturer:
Atmel
Quantity:
1 704
Part Number:
ATxmega32D4-MH
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
23.10.2.3
23.10.2.4
23.10.2.5
23.10.2.6
8210B–AVR–04/10
Load Flash Page Buffer
Erase Flash Page
Write Flash Page
Erase Application Section
The NVM Busy (BUSY) flag in the NVM Status Register (NVM STATUS) will be set until the
Page Buffer is erased.
The Load Flash Page Buffer command is used to load one word of data into the Flash Page
Buffer.
Repeat step 2-4 until the complete Flash Page Buffer is loaded. Unloaded locations will have the
value 0xFFFF, and this is not a valid AVR CPU opcode/instruction.
The Erase Flash Page command is used to erase one page in the Flash.
The BUSY flag in the NVM STATUS register will be set until the erase operation is finished. The
Flash Section Busy (FBUSY) flag is set as long the Flash is Busy, and the Application section
cannot be accessed.
The Write Flash Page command is used to write the Flash Page Buffer into one flash page in the
Flash.
The BUSY flag in the NVM STATUS register will be set until the write operation is finished. The
FBUSY flag is set as long the Flash is Busy, and the Application section cannot be accessed.
The Erase Application command is used to erase the complete Application Section.
The BUSY flag in the STATUS register will be set until the operation is finished. The CPU will be
halted during the complete execution of the command.
1. Load the NVM CMD register with the Load Flash Page Buffer command.
2. Load the Z-pointer with the word address to write.
3. Load the data word to be written into the R1:R0 registers.
4. Execute the SPM instruction. The SPM instruction is not protected when performing a
1. Load the Z-pointer with the flash page address to erase. The page address must be
2. Load the NVM CMD register with the Erase Flash Page command.
3. Execute the SPM instruction. This requires the timed CCP sequence during self-
1. Load the Z-pointer with the flash page to write. The page address must be written to
2. Load the NVM CMD register with the Write Flash Page command.
3. Execute the SPM instruction. This requires the timed CCP sequence during self-
1. Load the Z-pointer to point anywhere in the Application Section.
2. Load the NVM CMD register with the Erase Application Section command
3. Execute the SPM instruction. This requires the timed CCP sequence during self-
Flash Page Buffer Load.
written to PCPAGE. Other bits in the Z-pointer will be ignored during this operation.
programming.
PCPAGE. Other bits in the Z-pointer will be ignored during this operation.
programming.
programming.
XMEGA D
281