ATxmega128B1 Atmel Corporation, ATxmega128B1 Datasheet - Page 391

no-image

ATxmega128B1

Manufacturer Part Number
ATxmega128B1
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATxmega128B1

Flash (kbytes)
128 Kbytes
Pin Count
100
Max. Operating Frequency
32 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
53
Ext Interrupts
53
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
3
Twi (i2c)
1
Uart
2
Segment Lcd
160
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
16
Adc Resolution (bits)
12
Adc Speed (ksps)
2000
Analog Comparators
4
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
AES/DES
Sram (kbytes)
8
Eeprom (bytes)
2048
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
3
Output Compare Channels
10
Input Capture Channels
10
Pwm Channels
10
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATxmega128B1-AU
Manufacturer:
TI
Quantity:
90
Part Number:
ATxmega128B1-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128B1-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128B1-CUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega128B1-U
Manufacturer:
FUJITSU
Quantity:
632
29.11.2.3
29.11.2.4
29.11.2.5
29.11.2.6
8291A–AVR–10/11
Load Flash Page Buffer
Erase Flash Page
Write Flash Page
Flash Range CRC
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.
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 can-
not 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 flash range CRC command can be used to verify the content in an address range in flash
after a self-programming.
The BUSY flag in the NVM STATUS register will be set, and the CPU is halted during the execu-
tion of the command.
The CRC checksum will be available in the NVM DATA register.
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 NVM CMD register with the flash range CRC command.
2. Load the start byte address in the NVM address register (NVM ADDR).
3. Load the end byte address in NVM data register (NVM DATA).
4. Set the CMDEX bit in the NVM CTRLA register. This requires the timed CCP sequence
flash page buffer load.
written to FPAGE. Other bits in the Z-pointer will be ignored during this operation.
programming.
FPAGE. Other bits in the Z-pointer will be ignored during this operation.
programming.
during self-programming.
Atmel AVR XMEGA B
391

Related parts for ATxmega128B1