Sign In
Upload
Manuals
Brands
Winbond Manuals
Microcontrollers
W90P710
Winbond W90P710 Manuals
Manuals and User Guides for Winbond W90P710. We have
1
Winbond W90P710 manual available for free PDF download: Programming Manual
Winbond W90P710 Programming Manual (235 pages)
Brand:
Winbond
| Category:
Microcontrollers
| Size: 2 MB
Table of Contents
Table of Contents
3
1 Overview
15
Figure 1-1 W90P710 Functional Block Diagram
16
Features
18
Architecture
18
External Bus Interface
18
Instruction and Data Cache
18
Ethernet MAC Controller
18
DMA Controller
19
USB Host Controller
19
USB Device Controller
19
SDIO Host Controller
19
LCD Controller
20
Channel AC97/I2S Audio Codec Host Interface
21
Uart
21
Timers
21
Advanced Interrupt Controller
21
Gpio
22
Real Time Clock
22
Smart Card Host Interface
22
I2C Master
23
Universal Serial Interface (USI)
23
4-Channel PWM
23
Keypad Interface
24
PS2 Host Interface Controller
24
Power Management
24
2 EBI (External Bus Interface)
25
Overview
25
Block Diagram
26
SDRAM Interface
26
Figure 2-1 SDRAM Interface
26
Registers
27
Functional Descriptions
27
EBI Control Register (EBICON)
27
Rom/Flash Control Register
28
SDRAM Configuration Registers
29
External I/O Control Registers
30
A System Memory Initialization Example Flow Chart
30
Figure 2-2 System Memory Map Setting Flow
30
Remapping
32
3 Cache Controller
35
Overview
35
Block Diagram
36
Figure 3-1 Instruction Cache Organization Block Diagram
36
Figure 3-2 Data Cache Organization Block Diagram
37
Registers
38
Functional Descriptions
38
On-Chip RAM
38
Table 3-1 the Size and Start Address of On-Chip RAM
38
Non-Cacheable Area
39
Cache Flushing
39
Cache Enable and Disable
39
Cache Load and Lock
40
Figure 3-3 Cache Load and Lock
40
Cache Unlock
41
4 EMC (Ethernet MAC Controller)
42
Overview
42
Block Diagram
43
Figure 4-1 EMC Block Diagram
43
Registers
44
EMC Control Registers
44
EMC Status Registers
45
Functional Descriptions
45
Initialize Rx Buffer Descriptors
45
Figure 4-2 Rx Descriptor Initialization
47
Initialize Tx Buffer Descriptors
48
Figure 4-3 Tx Descriptor Initialization
49
MII
50
Control Frames
52
Packet Processing
52
Figure 4-4 Packet Transmission Flow
53
Figure 4-5 Tx Interrupt Service Routine Flow
55
Figure 4-6 Rx Interrupt Service Routine
57
5 Gdma
58
Overview
58
Block Diagram
59
Figure 5-1 GDMA Block Diagram
59
Registers
60
Functional Descriptions
60
GDMA Configuration
60
Figure 5-2 the Bit-Fields of the GDMA Control Register
61
Transfer Count
62
Figure 5-3 GDMA Operations
62
Transfer Termination
63
GDMA Operation Started by Software
63
Figure 5-4 Software GDMA Transfer
64
GDMA Operation Started by Nxdreq
65
Fixed Address
66
Block Mode Transfer
66
Single Mode Transfer
66
Demand Mode Transfer
66
6 USB Host Controller
68
Overview
68
Registers Map
69
Block Diagram
70
Data Structures
71
Endpoint Descriptor (ED) Lists
72
Figure 6-1 Endpoint Descriptor Format
72
Transfer Descriptor
73
Figure 6-2 General Transfer Descriptor Format
74
Figure 6-3 Isochronous Transfer Descriptor Format
74
Host Controller Communication Area
75
Table 6-1 HCCA (Host Controller Communication Area)
75
Programming Note
76
Initialization
76
USB States
77
Add/Remove Endpoint Descriptors
78
Figure 6-4 Remove an Endpoint Descriptor
79
Add/Remove Transfer Descriptors
80
Figure 6-5 ED List and TD Queue
80
IRP Processing
82
Interrupt Processing
84
Done Queue Processing
88
Root Hub
90
7 USB Device Controller
94
Overview
94
Block Diagram
95
Register Map
95
Figure 7-1 USBD Controller Block Diagram
95
Functional Descriptions
97
Initialization
97
Endpoint Configuration
98
Interrupt Service Routine
98
Endpoint 0 Operation
99
Figure 10-2 USBD Controller Block Diagram
99
Get Descriptor
100
Endpoint a ~ C Operation
101
Example
102
8 SDIO Host Controller
103
Overview
103
Block Diagram
103
Figure 8-1 SDIO Host Block Diagram
103
Registers
104
SDIO Host Controller
105
SDIO Host Controller Initialization Sequence
105
Move Data from SDRAM to SDIO Host Controller Buffer
106
Move Data from SDIO Host Controller Buffer to SDRAM
106
SD Host Interface
106
Send Command to SD/MMC Card
106
Get Response from SD/MMC Card
107
SD/MMC to Buffer Access
107
Buffer to SD/MMC Access
107
9 LCD Controller
108
Overview
108
Figure 9-1 LCD Controller Block Diagram
108
Table 9-1 LCD Controller Register Map
110
Programming Procedure
112
Figure 9-2 Overall Programming Flow for LCD Controller - 1
112
Figure 9-3 Overall Programming Flow for LCD Controller - 2
114
Initialization
115
Configure LCD Controller
115
Table 9-2 Register LCDCON Bit Map
115
Configure LCD Interrupt
117
Configure LCD Timing Generation
117
Configure OSD Function
117
Figure 9-4 the Relationship between Screen, Valid Window, and OSD Window
117
Table 9-3 OSD Display Condition
118
Configure TFT Palette Look-Up Table
119
Table 9-4 Entry of the TFT Look-Up Table
119
Configure Gray Level Dithered Data Duty Pattern
120
Configure Video/ OSD Scaling Factor
120
Table 9-5 STN 16-Leve Gray Number & Relative Time-Based Dithering
120
Configure the Starting Address and the Stride of Frame Buffer and FIFO
121
Figure 9-5 an Example to Explain How to Program the Starting Address and Stride
122
Configure How to Show Image on the Panel
124
Enable FIFO
125
Table 9-6 BSWP=0, HSWP=0
125
Table 9-7 BSWP=0, HSWP=1
125
Table 9-8 BSWP=0, HSWP=0
125
Enable LCD Controller
126
Check Running State and Process Interrupt Status
126
Table 9-9 BSWP=1, HSWP=0
126
10 Audio Controller
128
Overview
128
Block Diagram
129
Figure 10-1 Block Diagram of Audio Controlle
129
Registers
130
AC97 Interface
130
Table 10-1 AC97 Output Frame
131
Table 10-2 AC97 Output Frame Data Format
131
Table 10-3 AC97 Input Frame
131
Cold Reset External AC97 Codec
132
Read AC97 Registers
132
Table 10-4 AC97 Input Frame Data Format
132
Write AC97 Registers
134
AC97 Playback
135
Figure 10-2 AC97 Playback Data in DMA Buffer
135
AC97 Record
137
Figure 10-3 AC97 Data in Record DMA Buffer
137
I2S Interface
138
I2S Play
138
Figure 10-4 I2S Play Data in DMA Buffer
139
I2S Record
140
Figure 10-5 I2S Record Data in DMA Buffer
140
11 Uart
142
Overview
142
Registers
142
Functional Descriptions
144
Baud Rate
144
Initializations
145
Figure 11-1 UART Initialization
145
Table 11-1 General Baud Rate Settings
145
Polled I/O Functions
147
Figure 11-2 Transmit Data in Polling Mode
147
Interrupted I/O Functions
148
Figure 11-3 Receive Data in Polling Mode
148
Figure 11-4 Output Function in Interrupt Mode
149
Figure 11-5 Input Functions in Interrupt Mode
150
Figure 11-6 Interrupt Service Routine
152
Irda SIR
153
Figure 11-7 Irda Tx/Rx
153
12 Timers
154
Overview
154
Block Diagram
155
Registers
155
Figure 12-1 Timer Block Diagram
155
Functional Descriptions
156
Interrupt Frequency
156
Initialization
156
Table 12-1 Timer Reference Setting Values
156
Figure 12-2 Timer Initialization Sequence
158
Timer Interrupt Service Routine
159
Figure 12-3 Timer Interrupt Service Routine
159
Watchdog Timer
160
Figure 12-4 Enable Watchdog Timer
161
Figure 12-5 Watchdog Timer ISR
162
13 AIC (Advanced Interrupt Controller)
163
Overview
163
Block Diagram
164
Figure 13-1 AIC Block Diagram
164
Registers
165
Table 13-1 AIC Register Definition
165
Functional Descriptions
167
Interrupt Channel Configuration
167
Interrupt Masking
167
Figure 13-2 Source Control Register
167
Interrupt Clearing and Setting
168
Software Priority Scheme
168
Figure 13-3 Sequential Priority Scheme
170
Hardware Priority Scheme
171
Figure 13-4 Interrupt Service Routine with Vector
172
Figure 13-5 Using Hardware Priority Scheme
173
14 General-Purpose Input/Output (GPIO)
174
Overview
174
Table 14-1 GPIO Multiplexed Functions Table
174
Register Map
176
Functional Description
177
Multiple Functin Setting
177
GPIO Output Mode
178
GPIO Input Mode
179
15 Real Time Clock (RTC)
181
Overview
181
Block Diagram
182
Register Map
182
Figure 15-1 RTC Block Diagram
182
Functional Description
183
Initialization
183
RTC Read/Write Enable
183
Frequency Compensation
183
Application Note
184
Programming Note
185
Figure 15-2 RTC Set Calendar and Time Flow Chart
186
Set Calendar and Time Alarm
187
Figure 15-3 RTC Set Calendar and Time Alarm Flow Chart
188
Figure 15-4 RTC Set Tick Interrupt Flow Chart
189
Set Tick Interrupt
189
16 Smart Card Host Interface
191
Overview
191
Registers
191
Functional Description
193
Initialization Sequence
193
Timers Usage
194
Receiver FIFO Data Time-Out
196
Parity Error Management
197
17 I C Synchronous Serial Interface Controller
199
C Synchronous Serial Interface Controller
199
Overview
199
Block Diagram
201
Register Map
201
Figure 17-1 I C Block Diagram
201
Functional Description
202
Prescale Frequency
202
Start and Stop Signal
202
Slave Address Transfer
202
Data Transfer
203
Below List some Examples of I2C Data Transaction
203
18 Universal Serial Interface
209
Overview
209
Block Diagram
210
Register Map
210
Figure 18-1 Universal Serial Interfacei Block Diagra
210
Functional Description
211
Active Universal Serial Interface
211
Initialize Universal Serial Interface
211
Universal Serial Interface Transmit/Receive
212
19 Pulse Width Modulation (PWM) Timer
213
Overview
213
Block Diagram
215
Register Map
215
Figure 19-1 PWM Block Diagram
215
Functional Description
216
Prescaler and Clock Selector
216
Basic PWM Timer Operation and Double Buffering Reload Automatically
217
PWM Timer Start Procedure
218
Figure 19-2 PWM Operation
218
Figure 19-3 PWM Timer Start Procedure
219
PWM Timer Stop Procedure
220
Figure 19-4 PWM Timer Stop Flow Chart (Method 1)
220
Figure 19-5 PWM Timer Stop Flow Chart (Method 2)
221
20 Keypad Interface
222
Overview
222
Block Diagram
223
Register Map
223
Functional Description
223
Figure 20-1 Keypad Controller Block Diagram
223
KPI Interface Programming Flow
224
Figure 20-2 KPI Interface Flowchart
225
KPI Low Power Mode Configuration
225
Figure 20-3 KPI Set Wake-Up in System Low Power Mode Flowchart
226
21 PS/2 Host Interface Controller
227
Overview
227
Scan Code Set
227
Figure 21-1 Key Map of PS/2 Keyboard
227
Figure 21-2 Key Map of Extended Keyboard & Numeric Keypad
228
Register Map
229
Functional Description
229
Initialization
229
Figure 21-3 Make Code and Break Code
229
Send Commands
230
Table 21-1 Command Register PS2CMD
230
Table 21-2 Command Table
230
Read Scan Code and ASCII Code
231
Table 21-3 Register PS2SCANCODE
231
Interrupt Service Routine
232
Table 21-4 Register PS2ASCII
232
Table 21-5 Register PS2ST
232
Figure 21-4 Example ISR
233
Example
235
Table 21-6 LED Status Byte
235
Advertisement
Advertisement
Related Products
Winbond W742C813
Winbond W742E813
Winbond W78C438C
Winbond W928C73
Winbond W77E516
Winbond W77E516-40
Winbond W91564DNF
Winbond W91550DN Series
Winbond W91563DLNF
Winbond W91562DNF
Winbond Categories
Microcontrollers
Computer Hardware
I/O Systems
Storage
Motherboard
More Winbond Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL