32 bitowe mikrokontrolery rodziny AVR
Dariusz Chaberski
AT32AP7000
§ Blockdiagram
2
3
§ NGW 100
4
§ Overview of the AVR32 AP CPU
TLB - Translation lookaside buffer
5
§ The AVR32 AP Pipeline
IF1, IF2 - Instruction Fetch stage 1 and 2
ID - Instruction Decode
IS - Instruction Issue
A1, A2 - ALU stage 1 and 2
M1, M2 - Multiply stage 1 and 2
DA - Data Address calculation stage
D - Data cache access
WB - Writeback
6
§ Overview of execution modes, their priorities and privilege levels
7
§ Entry and exit from states, modes and functions
8
§ Register File in AVR32A
9
§ Register File in AVR32B
10
§ A typical AVR32B register file implementation
11
§ The Status Register High Halfword
12
§ The Status Register Low Halfword
13
§ Data representation in the register file
14
§ Instructions storage in memory (big endian fashion)
15
§ Java Extension Module
16
§ AVR32 Java Virtual Machine and the Java Extension Module
17
§ Example of running a Java program
18
§ Arithmetic Operations
19
20
§ Multiplication Operations
21
§ DSP Operations
22
23
24
§ Logic Operations
25
26
27
§ Bit Operations
28
29
§ Shift Operations
30
§ Instruction Flow
31
32
§ Move/Load Immediate Operations
33
§ Load/Store Operations
34
35
36
37
38
39
§ Mutiple data
40
§ System/Control
41
42
§ Coprocessor Interface
43
44
§ Instructions to aid Java execution
45
§ SIMD Operations
46
47
§ Memory read-modify-write Instructions
48
§ Pixel Coprocessor (PICO)
49
Vector Multiplication Unit (VMU)
50
Input Pixel Selector - Transformation Mode
51
Input Pixel Selector - Horizontal Filter Mode Pixel Addressing
52
Input Pixel Selector - Vertical Filter Mode Pixel Addressing
53
Output Pixel Inserter - Planar Pixel Insertion
54
Output Pixel Inserter - Packed Pixel Insertion
55
PICO Register File
56
PICO instruction summary
57
§ Memories
+ Embedded Memories
3 2 x 16 Kbyte SRAM
3 Single cycle access at full bus speed
+ Physical Memory Map
58
HSB masters
59
HSB slaves
60
§ Real Time Counter (RTC)
61
RTC Control
PSEL - Prescale Select
TOPEN - Top Enable
PCLR - Prescaler Clear
EN - Enable
62
§ Watchdog Timer (WDT)
63
WDT Control
KEY - 0x55, 0xAA
PSEL - Prescale Select
EN - WDT Enable
64
§ Interrupt Controller (INTC)
65
INTC address map
66
Interrupt Request Registers
67
Interrupt Priority Registers
68
Interrupt Cause Registers
69
§ External Interrupt Controller (EIC)
70
User Interface
71
EIC Interrupt Enable/Disable/Mask/Status/Clear
72
External Interrupt Mode/Edge/Level
73
NMI Control
74
§ External Bus Interface (EBI)
75
I/O Lines Description
76
77
EBI Connections to Memory Devices
78
§ DMA Controller (DMACA)
79
DMACA Transfer Hierarchy for Non-Memory Peripheral
80
DMACA Transfer Hierarchy for Memory
a peripheral should be assigned as memory only if it does not insert more than 16 wait states
81
Multi-block Transfer Using Linked Lists
82
Multi-Block with Linked List Address for Source and Destination
83
Multi-Block with Linked Address for Source and Destination Blocks are Contiguous
84
Multi-Block DMA Transfer with Source and Destination Address Auto-reloaded
85
Multi-Block DMA Transfer with Source Address Auto-reloaded and Linked List Destination Address
86
Multi-block Transfer with Source Address Auto-reloaded and Contiguous Destination Address
87
DMA Transfer with Linked List Source Address and Contiguous Destination Address
88
Channel x Source Address Register
The address offset for each channel is: [x *0x58]
89
Channel x Destination Address Register
The address offset for each channel is: 0x08+[x * 0x58]
90
Linked List Pointer Register for Channel x
The address offset for each channel is: 0x10+[x * 0x58]
LMS - List Master Select
LOC - Address of the next LLI
91
§ Peripheral DMA Controller (PDC)
R/THR Receive/Transmit Holding Register
92
§ Serial Peripheral Interface (SPI)
93
§ Two-wire Interface (TWI)
94
§ Synchronous Serial Controller (SSC)
95
I/O Lines Description
96
SSC Functional Block Diagram
97
Transmit Start Mode
98
Receive Pulse/Edge Start Modes
99
§ Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
100
Hardware Handshaking
101
Receiver Behavior when Operating with Hardware Handshaking
102
Transmitter Behavior when Operating with Hardware Handshaking
103
§ AC97 Controller (AC97C)
104
Application Block Diagram
105
Bidirectional AC-link Frame with Slot Assignment
106
AC-link Output Slots Transmitted from the AC97C Controller
107
AC-link Input Slots Transmitted from the AC97C Controller
108
§ Audio Bitstream DAC (ABDAC)
Equalization Filter - 3-tap FIR filter
Interpolation filter - interpolation from fs to 128fs
Sigma Delta Modulator - 3rd order Sigma Delta Modulator
109
Frequecy response, EQ-FIR+COMB4
110
§ Static Memory Controller (SMC)
111
SMC Connections to Static Memory Devices
112
§ SDRAM Controller (SDRAMC)
113
SDRAM Controller Connections to SDRAM Devices: 32-bit Data Bus Width
114
SDRAM Configuration Mapping: 2K Rows, 256/512/1024/2048 Columns
SDRAM Configuration Mapping: 4K Rows, 256/512/1024/2048 Columns
115
SDRAM Configuration Mapping: 8K Rows, 256/512/1024/2048 Columns
M[1:0] - byte address inside a 32-bit word
Bk[1:0] - Bank Select Signals
116
SDRAM Controller Connections to SDRAM Devices: 16-bit Data Bus Width
117
SDRAM Configuration Mapping: 2K Rows, 256/512/1024/2048 Columns
SDRAM Configuration Mapping: 4K Rows, 256/512/1024/2048 Columns
118
SDRAM Configuration Mapping: 8K Rows, 256/512/1024/2048 Columns
119
Write Burst, 32-bit SDRAM Access
120
Read Burst, 32-bit SDRAM Access
121
Read Burst with Boundary Row Access
RAS=0, SDWE=0 - precharge command
122
Refresh Cycle Followed by a Read Access
RAS=0, CAS=0 - Refresh Cycle Initialization
123
§ Error Corrected Code (ECC) Controller
124
Parity Generation for 512/1024/2048/4096 8-bit Words
125
Calculation of P8’ to PX’ and P8 to PX
126
Parity Generation for 512/1024/2048/4096 16-bit Words
127
Calculation of P8’ to PX’ and P8 to PX
128
§ MultiMedia Card Interface (MCI)
129
MultiMedia Memory Card Bus Topology
130
SD Memory Card Bus Signals
131
Mixing MultiMedia and SD Memory Cards with Two Slots
132
§ Ethernet MAC (MACB)
133
Receive Buffer List
134
§ Timer/Counter (TC)
135
Clock Selection
136
Clock Control
137
Capture Mode
138
Waveform Mode
139
§ Pulse Width Modulation Controller (PWM)
140
§ Image Sensor Interface (ISI)
141
HSYNC and VSYNC Synchronization
SAV and EAV Sequence Synchronization
S/EAV - Start/End of Active Video
142
Data Ordering in YCbCr Mode
143
RGB Format in Default Mode, RGB CFG = 00, No Swap
144
RGB Format, RGB CFG = 10 (Mode 2), No Swap
145
RGB Format in Default Mode, RGB CFG = 00, Swap Activated
146
Preview Path
Decimation Factor
Decimation and Scaler Offset Values
147
Resize Examples
148
Color Space Conversion
Preview Path (YCrCb or YUV to RGB)
Codec Path (RGB to YCrCb)
149
§ On-Chip Debug
150
JTAG-based debugger
151
AUX+JTAG based debugger
152
Auxiliary port signals
153
§ JTAG and Boundary Scan
154
§ Hi-Speed USB Interface (USBA)
155
USBA Endpoint Description
156
Board Schematic
157
§ LCD Controller (LCDC)
158