ATxmega64B3 Atmel Corporation, ATxmega64B3 Datasheet - Page 274

no-image

ATxmega64B3

Manufacturer Part Number
ATxmega64B3
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATxmega64B3

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATxmega64B3-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega64B3-AUR
Manufacturer:
Atmel
Quantity:
10 000
21.4.1
21.4.2
21.5
21.6
8291A–AVR–10/11
USART Initialization
Data Transmission - The USART Transmitter
Parity Bit Calculation
SPI Frame Formats
Figure 21-5. Frame formats.
Even or odd parity can be selected for error checking. If even parity is selected, the parity bit is
set to one if the number of logical one data bits is odd (making the total number of ones even). If
odd parity is selected, the parity bit is set to one if the number of logical one data bits is even
(making the total number of ones odd).
The serial frame in SPI mode is defined to be one character of eight data bits. The USART in
master SPI mode has two selectable frame formats:
After a complete, 8-bit frame is transmitted, a new frame can directly follow it, or the communica-
tion line can return to the idle (high) state.
USART initialization should use the following sequence:
For interrupt-driven USART operation, global interrupts should be disabled during the
initialization.
Before doing a re-initialization with a changed baud rate or frame format, be sure that there are
no ongoing transmissions while the registers are changed.
When the transmitter has been enabled, the normal port operation of the TxD pin is overridden
by the USART and given the function as the transmitter's serial output. The direction of the pin
must be set as output using the direction register for the corresponding port. For details on port
pin control and output configuration, refer to
St
(n)
P
Sp
IDLE
• 8-bit data, msb first
• 8-bit data, lsb first
1. Set the TxD pin value high, and optionally set the XCK pin low.
2. Set the TxD and optionally the XCK pin as output.
3. Set the baud rate and frame format.
4. Set the mode of operation (enables XCK pin output in synchronous mode).
5. Enable the transmitter or the receiver, depending on the usage.
Start bit, always low.
Data bits (0 to 8).
Parity bit, may be odd or even.
Stop bit, always high.
No transfers on the communication line (RxD or TxD). The IDLE state is always high.
(IDLE)
St
0
1
2
3
4
”I/O Ports” on page
FRAME
[5]
[6]
Atmel AVR XMEGA B
[7]
[8]
[P]
142.
Sp1 [Sp2]
(St / IDLE)
274

Related parts for ATxmega64B3