AT32UC3B1128 Atmel Corporation, AT32UC3B1128 Datasheet - Page 191

no-image

AT32UC3B1128

Manufacturer Part Number
AT32UC3B1128
Description
Manufacturer
Atmel Corporation

Specifications of AT32UC3B1128

Flash (kbytes)
128 Kbytes
Pin Count
48
Max. Operating Frequency
60 MHz
Cpu
32-bit AVR
# Of Touch Channels
32
Hardware Qtouch Acquisition
No
Max I/o Pins
28
Ext Interrupts
28
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
3
Twi (i2c)
1
Uart
2
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
6
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:
AT32UC3B1128-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT32UC3B1128-AUT
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT32UC3B1128-U
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
17.7
17.7.1
17.7.2
32059L–AVR32–01/2012
Programming Examples
8-bit LED-Chaser
Configuration of USART pins
It is assumed in this example that a subroutine "delay" exists that returns after a given time.
The example below shows how to configure a peripheral module to control I/O pins. It assumed
in this example that the USART receive pin (RXD) is connected to PC16 and that the USART
transmit pin (TXD) is connected to PC17. For both pins, the USART is peripheral B. In this
example, the state of the GPIO registers is assumed to be unknown. The two USART pins are
therefore first set to be controlled by the GPIO with output drivers disabled. The pins can then be
assured to be tri-stated while changing the Peripheral Mux Registers.
loop:
// Set R0 to GPIO base address
mov
orh
// Enable GPIO control of pin 0-8
mov
st.w
// Set initial value of port
mov
st.w
// Set up toggle value. Two pins are toggled
// in each round. The bit that is currently set,
// and the next bit to be set.
mov
orh
// Only change 8 LSB
mov
and
st.w
rol
rcall
rjmp
// Set up pointer to GPIO, PORTC
mov
orh
// Disable output drivers
R0, LO(AVR32_GPIO_ADDRESS)
R0, HI(AVR32_GPIO_ADDRESS)
R1, 0xFF
R0[AVR32_GPIO_GPERS], R1
R2, 0x01
R0[AVR32_GPIO_OVRS], R2
R2, 0x0303
R2, 0x0303
R3, 0x00FF
R3, R2
R0[AVR32_GPIO_OVRT], R3
R2
delay
loop
R0, LO(AVR32_GPIO_ADDRESS + PORTC_OFFSET)
R0, HI(AVR32_GPIO_ADDRESS + PORTC_OFFSET)
191

Related parts for AT32UC3B1128