AT32UC3B0128 Atmel Corporation, AT32UC3B0128 Datasheet - Page 124

no-image

AT32UC3B0128

Manufacturer Part Number
AT32UC3B0128
Description
Manufacturer
Atmel Corporation

Specifications of AT32UC3B0128

Flash (kbytes)
128 Kbytes
Pin Count
64
Max. Operating Frequency
60 MHz
Cpu
32-bit AVR
# Of Touch Channels
32
Hardware Qtouch Acquisition
No
Max I/o Pins
44
Ext Interrupts
44
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device + OTG
Spi
4
Twi (i2c)
1
Uart
3
Ssc
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
384
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
32
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
3.0-3.6 or (1.65-1.95+3.0-3.6)
Operating Voltage (vcc)
3.0-3.6 or (1.65-1.95+3.0-3.6)
Fpu
No
Mpu / Mmu
Yes / No
Timers
10
Output Compare Channels
16
Input Capture Channels
6
Pwm Channels
13
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT32UC3B0128-A2UT
Manufacturer:
XILINX
Quantity:
150
Part Number:
AT32UC3B0128-A2UT
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT32UC3B0128-U
Manufacturer:
ATMEL
Quantity:
9 500
Part Number:
AT32UC3B0128-U
Manufacturer:
ATMEL
Quantity:
1 400
Part Number:
AT32UC3B0128-U
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT32UC3B0128-Z2UR
Manufacturer:
ATMEL
Quantity:
4 000
Part Number:
AT32UC3B0128-Z2UT
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT32UC3B0128AU-A2UT
Manufacturer:
Atmel
Quantity:
10 000
14.5.1
14.5.2
32059L–AVR32–01/2012
Write/erase page operation
Erase All operation
All the commands are protected by the same keyword, which has to be written in the eight high-
est bits of FCMD. Writing FCMD with data that does not contain the correct key and/or with an
invalid command has no effect on the flash memory; however, the PROGE bit is set in FSR. This
bit is automatically cleared by a read access to FSR.
Writing a command to FCMD while another command is being executed has no effect on the
flash memory; however, the PROGE bit is set in FSR. This bit is automatically cleared by a read
access to FSR.
If the current command writes or erases a page in a locked region, or a page protected by the
BOOTPROT fuses, the command has no effect on the flash memory; however, the LOCKE bit is
set in FSR . This bit is automatically cleared by a read access to FSR.
Flash technology requires that an erase must be done before programming. The entire flash can
be erased by an Erase All command. Alternatively, pages can be individually erased by the
Erase Page command.
The User page can be written and erased using the mechanisms described in this chapter.
After programming, the page can be locked to prevent miscellaneous write or erase sequences.
Locking is performed on a per-region basis, so locking a region locks all pages inside the region.
Additional protection is provided for the lowermost address space of the flash. This address
space is allocated for the Boot Loader, and is protected both by the lock bit(s) corresponding to
this address space, and the BOOTPROT[2:0] fuses.
Data to be written are stored in an internal buffer called page buffer. The page buffer contains w
words. The page buffer wraps around within the internal memory area address space and
appears to be repeated by the number of pages in it. Writing of 8-bit and 16-bit data to the page
buffer is not allowed and may lead to unpredictable data corruption.
Data must be written to the page buffer before the programming command is written to FCMD.
The sequence is as follows:
Two errors can be detected in FSR after a programming sequence:
The entire memory is erased if the Erase All command (EA) is written to FCMD. Erase All erases
all bits in the flash array. The User page is not erased. All flash memory locations, the general-
purpose fuse bits, and the security bit are erased (reset to 0xFF) after an Erase All.
• Reset the page buffer with the Clear Page Buffer command.
• Fill the page buffer with the desired contents, using only 32-bit access.
• Programming starts as soon as the programming key and the programming command are
• When programming is completed, the bit FRDY in FSR is set. If an interrupt was enabled by
• Programming Error: A bad keyword and/or an invalid command have been written in FCMD.
• Lock Error: The page to be programmed belongs to a locked region. A command must be
written to the Flash Command Register. The FCMD.PAGEN field must contain the address of
the page to write. PAGEN is automatically updated when writing to the page buffer, but can
also be written to directly. The FRDY bit in FSR is automatically cleared when the page write
operation starts.
setting the bit FRDY in FCR, the interrupt line of the flash controller is set.
executed to unlock the corresponding region before programming can start.
124

Related parts for AT32UC3B0128