AT90PWM2B Atmel Corporation, AT90PWM2B Datasheet - Page 206

no-image

AT90PWM2B

Manufacturer Part Number
AT90PWM2B
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT90PWM2B

Flash (kbytes)
8 Kbytes
Pin Count
24
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
8
Hardware Qtouch Acquisition
No
Max I/o Pins
19
Ext Interrupts
4
Usb Speed
No
Usb Interface
No
Spi
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
125
Analog Comparators
2
Resistive Touch Screen
No
Dac Channels
1
Dac Resolution (bits)
10
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 105
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
12
Input Capture Channels
1
Pwm Channels
7
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90PWM2B-16SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
18.10.5
18.11 Examples of Baud Rate Setting
206
AT90PWM2/3/2B/3B
USART Baud Rate Registers – UBRRL and UBRRH
This bit is used for synchronous mode only. Write this bit to zero when asynchronous mode is
used. The UCPOL bit sets the relationship between data output change and data input sample,
and the synchronous clock (XCK).
Table 18-8.
• Bit 15:12 – Reserved Bits
These bits are reserved for future use. For compatibility with future devices, these bit must be
written to zero when UBRRH is written.
• Bit 11:0 – UBRR11:0: USART Baud Rate Register
This is a 12-bit register which contains the USART baud rate. The UBRRH contains the four
most significant bits, and the UBRRL contains the eight least significant bits of the USART baud
rate. Ongoing transmissions by the Transmitter and Receiver will be corrupted if the baud rate is
changed. Writing UBRRL will trigger an immediate update of the baud rate prescaler.
For standard crystal, resonator and external oscillator frequencies, the most commonly used
baud rates for asynchronous operation can be generated by using the UBRR settings in
18-9
from the target baud rate, are bold in the table. Higher error ratings are acceptable, but the
Receiver will have less noise resistance when the error ratings are high, especially for large
serial frames (see
lated using the following equation:
Bit
Read/Write
Initial Value
UCPOL
up to
0
1
Table
UCPOL Bit Settings
Transmitted Data Changed
(Output of TxDn Pin)
Rising XCK Edge
Falling XCK Edge
R/W
15
R
7
0
0
18-12. UBRR values which yield an actual baud rate differing less than 0.5%
“Asynchronous Operational Range” on page
R/W
14
R
6
0
0
R/W
Error[%]
13
R
5
0
0
R/W
=
12
R
4
0
0
UBRR[7:0]
1
BaudRate
------------------------------------------------------- -
R/W
R/W
11
3
0
0
BaudRate
Received Data Sampled
(Input on RxD Pin)
Falling XCK Edge
Rising XCK Edge
Closest Match
R/W
R/W
10
2
0
0
UBRR[11:8]
199). The error values are calcu-
R/W
R/W
9
1
0
0
100%
R/W
R/W
8
0
0
0
4317J–AVR–08/10
UBRRH
UBRRL
Table

Related parts for AT90PWM2B