ATxmega32A4U Atmel Corporation, ATxmega32A4U Datasheet - Page 301

no-image

ATxmega32A4U

Manufacturer Part Number
ATxmega32A4U
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATxmega32A4U

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 Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
7
Twi (i2c)
2
Uart
5
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
12
Adc Resolution (bits)
12
Adc Speed (ksps)
2000
Analog Comparators
2
Resistive Touch Screen
No
Dac Channels
2
Dac Resolution (bits)
12
Temp. Sensor
Yes
Crypto Engine
AES/DES
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
5
Output Compare Channels
16
Input Capture Channels
16
Pwm Channels
16
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATxmega32A4U-AU
Manufacturer:
ON
Quantity:
1 140
Part Number:
ATxmega32A4U-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega32A4U-AUR
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATxmega32A4U-CU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATxmega32A4U-CU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
23.9
8331A–AVR–07/11
Fractional Baud Rate Generation
Fractional baud rate generation is possible for asynchronous operation due to the relatively high
number of clock cycles for each frame. Each bit is sampled sixteen times, but only the three mid-
dle samples are of importance. The total number of samples for one frame is also relatively high.
Given a 1-start, 8-data, no-parity, and 1-stop-bit frame format, and assuming that normal speed
mode is used, the total number of samples for a frame is (1+8+1)×16 or 160. As stated earlier,
the UART can tolerate some variation in clock cycles for each sample. The critical factor is the
time from the falling edge of the start bit (i.e., the clock synchronization) until the last bit's (i.e.,
the first stop bit’s) value is recovered.
Standard baud rate generators have the unwanted property of having large frequency steps
between high baud rate settings. The worst case is found between the BSEL values 0x000 and
0x001. Going from a BSEL value of 0x000, which has a 10-bit frame of 160 clock cycles, to a
BSEL value of 0x001, with 320 clock cycles, gives a 50% change in frequency. Ideally, the step
size should be small even between the fastest baud rates. This is where the advantage of the
fractional baud rate generator emerges.
In principle, the fractional baud rate generator works by doing uneven counting and then distrib-
uting the error evenly over the entire frame. A typical count sequence for an ordinary baud rate
generator is:
2, 1, 0, 2, 1, 0, 2, 1, 0, 2, …
which has an even period time. A baud rate clock ticks each time the counter reaches zero, and
a sample of the signal received on RxD is taken for every 16th baud rate clock tick.
For the fractional baud rate generator, the count sequence can have an uneven period:
2, 1, 0, 2, 1-1, 0, 2, 1, 0, 2, 1-1, 0, ...
In this example, an extra cycle is added to every second baud clock. This gives a baud rate
clock tick jitter, but the average period has been increased by a fraction of 0.5 clock cycles.
Figure
achieve baud rates in between what is possible by just changing BSEL.
The impact of fractional baud rate generation is that the step size between baud rate settings
has been reduced. Given a scale factor of -1, the worst-case step then becomes from 160 to 240
clock cycles per 10-bit frame, compared to the previous step of from 160 to 320. A higher nega-
tive scale factor gives even finer granularity. There is a limit,however, to how high the scale
factor can be. The value 2
frame. For instance, for 10-bit frames, the minimum number of clock cycles is 160. This means
that the highest applicable scale factor is -6 (2
the scale factor can be increased.
Figure 23-9 on page 302
|BSCALE|
shows an example of how BSEL and BSCALE can be used to
must be at most half the minimum number of clock cycles of a
-6
= 64 < 160/2 = 80). For higher BSEL settings,
Atmel AVR XMEGA AU
301

Related parts for ATxmega32A4U