TPR0414C
Technical Datasheet (Preliminary)
AT90SCR050
TPR0414C – VIC – 27Jan11
2
AT90SCR050
Table of Contents
General Features.....................................................................................7
1
2
3
4
Block Diagram ........................................................................................9
Pin List Configuration .........................................................................11
Resources .............................................................................................13
8/16-bit RISC CPU Core .......................................................................15
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
Introduction ...................................................................................................15
Architectural Overview ..................................................................................15
ALU – Arithmetic Logic Unit ..........................................................................16
Status Register .............................................................................................16
General Purpose Register File .....................................................................18
Stack Pointer ................................................................................................19
Instruction Execution Timing ........................................................................19
Reset and Interrupt Handling ........................................................................20
5
AT90SCR050 Memories .......................................................................23
5.1
5.2
SRAM Data Memory .....................................................................................23
I/O Memory ...................................................................................................24
6
Clock System .......................................................................................27
6.1
6.2
6.3
Overview .......................................................................................................27
Clock Sources ..............................................................................................28
Clock System Registers ...............................................................................30
7
Power Management and Sleep Modes ...............................................33
7.1
7.2
7.3
7.4
Power Modes Descriptions ...........................................................................33
Power Reduction Register ............................................................................34
Important note about: Entering and Leaving low consumption modes .........36
Minimizing Power Consumption ...................................................................36
8
System Control and Reset ..................................................................39
8.1
8.2
8.3
8.4
Resetting the 8/16-bit RISC CPU .................................................................39
Reset Sources ..............................................................................................39
Watchdog Timer ...........................................................................................43
Register Description .....................................................................................44
TPR0414C – VIC – 27Jan11
9
Interrupts ..............................................................................................47
AT90SCR050
3
9.1
Interrupt Vectors in AT90SCR050 ................................................................47
10 External Interrupts ...............................................................................51
10.1
External Interrupt Registers ..........................................................................51
11 I/O Ports ................................................................................................55
11.1
11.2
11.3
11.4
Standard IO Ports .........................................................................................55
LED ...............................................................................................................56
Ports as General Digital I/O ..........................................................................57
Register Description for I/O-Ports .................................................................62
12 Timers ...................................................................................................65
12.1
12.2
12.3
8-bit Timer/Counter0 .....................................................................................65
16-bit Timer/Counter1 ...................................................................................73
General Timer/Counter Control ....................................................................83
13 USB Device Interface ...........................................................................85
13.1
13.2
13.3
13.4
13.5
13.6
13.7
13.8
13.9
Features .......................................................................................................85
Overview .......................................................................................................85
Endpoints Description ...................................................................................87
Attachment Procedure ..................................................................................87
USB Interrupts ..............................................................................................88
Suspend and Resume Modes ......................................................................89
Sending and Receiving Data Packets ..........................................................90
USB Device Registers Description ...............................................................92
USBDMA Controller ....................................................................................100
14 Smart Card Interface Block (SCIB) ...................................................105
14.1
14.2
14.3
14.4
14.5
14.6
14.7
14.8
Features .....................................................................................................105
Overview .....................................................................................................105
Block Diagram ............................................................................................105
Definitions ...................................................................................................106
Functional Description ................................................................................108
Additional Features .....................................................................................117
SCI registers access ...................................................................................120
Smart Card Interface Block Registers ........................................................121
15 DC/DC Converter ................................................................................133
15.2
Features .....................................................................................................133
TPR0414C – VIC – 27Jan11
15.1
Overview .....................................................................................................133
4
AT90SCR050
15.3
15.4
15.5
Description ..................................................................................................133
Summary: State Machine ...........................................................................135
DC/DC Registers ........................................................................................135
16
USART .................................................................................................137
16.1
16.2
16.3
16.4
16.5
16.6
16.7
16.8
16.9
16.10
16.11
16.12
Features .....................................................................................................137
USART0 .....................................................................................................137
Overview .....................................................................................................137
Clock Generation ........................................................................................139
Frame Formats ...........................................................................................141
USART Initialization ....................................................................................143
Data Transmission – The USART Transmitter ...........................................143
Data Reception – The USART Receiver ....................................................144
Asynchronous Data Reception ...................................................................146
Multi-processor Communication Mode .......................................................149
USART Register Description ......................................................................151
Examples of Baud Rate Setting ..................................................................156
17
USART in SPI Mode ...........................................................................159
17.1
17.2
17.3
17.4
17.5
17.6
17.7
Features .....................................................................................................159
Overview .....................................................................................................159
Clock Generation ........................................................................................159
SPI Data Modes and Timing .......................................................................160
Frame Formats ...........................................................................................160
Data Transfer ..............................................................................................161
USART MSPIM Register Description .........................................................162
18
Application Information .....................................................................165
18.1
18.2
18.3
Ordering Information ...................................................................................165
Typical Application ......................................................................................166
Mechanical Information ..............................................................................169
19
Electrical Characteristics ..................................................................171
19.1
19.2
19.3
19.4
Scope .........................................................................................................171
DC Characteristics TBC/TBD .....................................................................172
PORT ..........................................................................................................172
Clocks .........................................................................................................173
Communication Interfaces ..........................................................................173
USB Interface Characteristics TBC/TBD ...................................................173
TPR0414C – VIC – 27Jan11
19.5
19.6
AT90SCR050
5