1
Features
•
AVR
®
8-bit RISC Microcontroller with 83 ns Instruction Cycle Time
•
USB Hub with One Attached and Two External Ports
•
USB Keyboard Function with Three Endpoints
•
16K Bytes of Program Memory, 512 Bytes SRAM
•
32 x 8 General-purpose Working Registers
•
34 Programmable I/O Port Pins
•
Support for 18 x 8 Keyboard Matrix
•
Keyboard Scan Inputs with Pull-up Resistors
•
4 LED Driver Outputs
•
One 8-bit Timer/Counter with Separate Prescaler
•
External and Internal Interrupt Sources
•
Programmable Watchdog Timer
•
6 MHz Oscillator with On-chip PLL
•
5V Operation with On-chip 3.3V Power Supply
•
48-lead SSOP and 48-lead LQFP
Overview
The Atmel AT43USB324 is a compound USB device designed for use in multimedia
USB keyboards with an embedded hub. Internally, the AT43USB324 consists of a
USB hub and function interface, a hub repeater, and an AVR microcontroller. To the
USB host, the embedded function appears as an attached port of the hub with its own
device address and three endpoints. The third function endpoint makes the
AT43USB324 extremely suitable for keyboards supporting the Consumer Page as
described in the USB HID Usage tables. A typical application of the AT43USB324 is
shown in Figure 1 and block diagrams are shown in Figures 2 and 3.
The AT43USB324 interfaces to the USB host at the transaction layer while the micro-
controller firmware handles the USB protocol layers in addition to performing the
keyboard control functions. Except for LEDs, no other external components are
required for the keyboard function.
Pin Configurations
USB Multimedia
Keyboard
Controller
AT43USB324
Rev. 1941A–02/01
48-lead SSOP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
PD6
PD7
XTAL1
XTAL2
LFT
PE1
PE0
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
PA7
PA6
PA5
PA4
PA3
PA2
PA1
PD5
PD4
VCC
CEXT
VSS
TEST
RESET
DM0
DP0
DM2
DP2
DM3
DP3
PD3
PD2
PD1
PD0
PC0
PC1
PC2
PC3
PC4
PC5
PC6
48-lead LQFP
1
2
3
4
5
6
7
8
9
10
11
12
36
35
34
33
32
31
30
29
28
27
26
25
TEST
VSS
CEXT
VCC
PD4
PD5
PD6
PD7
XTAL1
XTAL2
LFT
PE1
PC1
PC2
PC3
PC4
PC5
PC6
PC7
PA0
PA1
PA2
PA3
PA4
48
47
46
45
44
43
42
41
40
39
38
37
13
14
15
16
17
18
19
20
21
22
23
24
PE0
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
PA7
PA6
PA5
RESET
DM0
DP0
DM2
DP2
DM3
DP3
PD3
PD2
PD1
PD0
PC0