Sign In
Upload
Manuals
Brands
Silicon Labs Manuals
Microcontrollers
C8051F127
Silicon Labs C8051F127 Manuals
Manuals and User Guides for Silicon Labs C8051F127. We have
2
Silicon Labs C8051F127 manuals available for free PDF download: Manual
Silicon Laboratories C8051F127 Manual (350 pages)
8K ISP FLASH MCU
Brand:
Silicon Laboratories
| Category:
Microcontrollers
| Size: 4 MB
Table of Contents
Table of Contents
3
System Overview
19
Table 1.1. Product Selection Guide
20
1 System Overview
21
Figure 1.1. C8051F120/124 Block Diagram
21
Figure 1.2. C8051F121/125 Block Diagram
22
Figure 1.3. C8051F122/126 Block Diagram
23
Figure 1.4. C8051F123/127 Block Diagram
24
Figure 1.5. C8051F130/132 Block Diagram
25
Figure 1.6. C8051F131/133 Block Diagram
26
Microcontroller Core
27
Fully 8051 Compatible
27
Improved Throughput
27
Additional Features
28
Figure 1.7. On-Board Clock and Reset
28
Figure 1.8. On-Chip Memory Map
29
On-Chip Memory
29
Figure 1.9. Development/In-System Debug Diagram
30
JTAG Debug and Boundary Scan
30
16 X 16 MAC (Multiply and Accumulate) Engine
31
Figure 1.10. MAC0 Block Diagram
31
Figure 1.11. Digital Crossbar Diagram
32
Programmable Digital I/O and Crossbar
32
Figure 1.12. PCA Block Diagram
33
Programmable Counter Array
33
Serial Ports
33
Figure 1.13. 12-Bit ADC Block Diagram
34
Or 10-Bit Analog to Digital Converter
34
8-Bit Analog to Digital Converter
35
Figure 1.14. 8-Bit ADC Diagram
35
12-Bit Digital to Analog Converters
36
Figure 1.15. DAC System Block Diagram
36
Analog Comparators
37
Figure 1.16. Comparator Block Diagram
37
Absolute Maximum Ratings
38
Table 2.1. Absolute Maximum Ratings
38
Global DC Electrical Characteristics
39
Table 3.1. Global DC Electrical Characteristics
39
(C8051F120/1/2/3 and C8051F130/1/2/3)
39
Table 3.2. Global DC Electrical Characteristics (C8051F124/5/6/7)
40
Pinout and Package Definitions
41
Table 4.1. Pin Definitions
41
4 Pinout and Package Definitions
49
3 Global DC Electrical Characteristics
49
Figure 4.1. C8051F120/2/4/6 Pinout Diagram (TQFP-100)
49
Figure 4.2. C8051F130/2 Pinout Diagram (TQFP-100)
50
Figure 4.3. TQFP-100 Package Drawing
51
Figure 4.4. C8051F121/3/5/7 Pinout Diagram (TQFP-64)
52
Figure 4.5. C8051F131/3 Pinout Diagram (TQFP-64)
53
Figure 4.6. TQFP-64 Package Drawing
54
5 ADC0 (12-Bit ADC, C8051F120/1/4/5 Only)
55
ADC0 (12-Bit ADC, C8051F120/1/4/5 Only)
55
Analog Multiplexer and PGA
55
Figure 5.1. 12-Bit ADC0 Functional Block Diagram
55
Figure 5.2. Typical Temperature Sensor Transfer Function
56
ADC Modes of Operation
57
Starting a Conversion
57
Tracking Modes
58
Figure 5.3. ADC0 Track and Conversion Example Timing
58
Settling Time Requirements
59
Figure 5.4. ADC0 Equivalent Input Circuits
59
SFR Definition 5.1. AMX0CF: AMUX0 Configuration
60
SFR Definition 5.2. AMX0SL: AMUX0 Channel Select
61
SFR Definition 5.3. ADC0CF: ADC0 Configuration
62
SFR Definition 5.4. ADC0CN: ADC0 Control
63
SFR Definition 5.5. ADC0H: ADC0 Data Word MSB
64
SFR Definition 5.6. ADC0L: ADC0 Data Word LSB
64
Figure 5.5. ADC0 Data Word Example
65
ADC0 Programmable Window Detector
66
SFR Definition 5.7. ADC0GTH: ADC0 Greater-Than Data High Byte
66
SFR Definition 5.8. ADC0GTL: ADC0 Greater-Than Data Low Byte
66
SFR Definition 5.9. ADC0LTH: ADC0 Less-Than Data High Byte
67
SFR Definition 5.10. ADC0LTL: ADC0 Less-Than Data Low Byte
67
Figure 5.6. 12-Bit ADC0 Window Interrupt Example: Right Justified Single-Ended Data
68
Figure 5.7. 12-Bit ADC0 Window Interrupt Example: Right Justified Differential Data
69
Figure 5.8. 12-Bit ADC0 Window Interrupt Example: Left Justified Single-Ended Data
70
Figure 5.9. 12-Bit ADC0 Window Interrupt Example: Left Justified Differential Data
71
5 ADC0 (12-Bit ADC, C8051F120/1/4/5 Only)
72
Table 5.1. 12-Bit ADC0 Electrical Characteristics (C8051F120/1/4/5)
72
6 ADC0 (10-Bit ADC, C8051F122/3/6/7 and C8051F13X Only)
73
ADC0 (10-Bit ADC, C8051F122/3/6/7 and C8051F13X Only)
73
Analog Multiplexer and
73
Figure 6.1. 10-Bit ADC0 Functional Block Diagram
73
Figure 6.2. Typical Temperature Sensor Transfer Function
74
ADC Modes of Operation
75
Starting a Conversion
75
Tracking Modes
76
Figure 6.3. ADC0 Track and Conversion Example Timing
76
Settling Time Requirements
77
Figure 6.4. ADC0 Equivalent Input Circuits
77
SFR Definition 6.1. AMX0CF: AMUX0 Configuration
78
SFR Definition 6.2. AMX0SL: AMUX0 Channel Select
79
SFR Definition 6.3. ADC0CF: ADC0 Configuration
80
SFR Definition 6.4. ADC0CN: ADC0 Control
81
SFR Definition 6.5. ADC0H: ADC0 Data Word MSB
82
SFR Definition 6.6. ADC0L: ADC0 Data Word LSB
82
Figure 6.5. ADC0 Data Word Example
83
ADC0 Programmable Window Detector
84
SFR Definition 6.7. ADC0GTH: ADC0 Greater-Than Data High Byte
84
SFR Definition 6.8. ADC0GTL: ADC0 Greater-Than Data Low Byte
84
SFR Definition 6.9. ADC0LTH: ADC0 Less-Than Data High Byte
85
SFR Definition 6.10. ADC0LTL: ADC0 Less-Than Data Low Byte
85
Figure 6.6. 10-Bit ADC0 Window Interrupt Example: Right Justified Single-Ended Data
86
Figure 6.7. 10-Bit ADC0 Window Interrupt Example: Right Justified Differential Data
87
Figure 6.8. 10-Bit ADC0 Window Interrupt Example: Left Justified Single-Ended Data
88
Figure 6.9. 10-Bit ADC0 Window Interrupt Example: Left Justified Differential Data
89
Table 6.1. 10-Bit ADC0 Electrical Characteristics (C8051F122/3/6/7 and C8051F13X)
90
7 ADC2 (8-Bit ADC, C8051F12X Only)
91
ADC2 (8-Bit ADC, C8051F12X Only)
91
Analog Multiplexer and
91
Figure 7.1. ADC2 Functional Block Diagram
91
ADC2 Modes of Operation
92
Starting a Conversion
92
Tracking Modes
92
Figure 7.2. ADC2 Track and Conversion Example Timing
93
Settling Time Requirements
94
Figure 7.3. ADC2 Equivalent Input Circuit
94
SFR Definition 7.1. AMX2CF: AMUX2 Configuration
95
SFR Definition 7.2. AMX2SL: AMUX2 Channel Select
96
SFR Definition 7.3. ADC2CF: ADC2 Configuration
97
SFR Definition 7.4. ADC2CN: ADC2 Control
98
Figure 7.4. ADC2 Data Word Example
99
SFR Definition 7.5. ADC2: ADC2 Data Word
99
ADC2 Programmable Window Detector
100
Window Detector in Single-Ended Mode
100
Figure 7.5. ADC2 Window Compare Examples, Single-Ended Mode
100
Window Detector in Differential Mode
101
Figure 7.6. ADC2 Window Compare Examples, Differential Mode
101
SFR Definition 7.6. ADC2GT: ADC2 Greater-Than Data Byte
102
SFR Definition 7.7. ADC2LT: ADC2 Less-Than Data Byte
102
7 ADC2 (8-Bit ADC, C8051F12X Only)
103
Table 7.1. ADC2 Electrical Characteristics
103
Dacs, 12-Bit Voltage Mode (C8051F12X Only)
105
DAC Output Scheduling
105
Figure 8.1. DAC Functional Block Diagram
105
Update Output Based on Timer Overflow
106
Update Output On-Demand
106
DAC Output Scaling/Justification
106
SFR Definition 8.1. DAC0H: DAC0 High Byte
107
SFR Definition 8.2. DAC0L: DAC0 Low Byte
107
SFR Definition 8.3. DAC0CN: DAC0 Control
108
SFR Definition 8.4. DAC1H: DAC1 High Byte
109
SFR Definition 8.5. DAC1L: DAC1 Low Byte
109
SFR Definition 8.6. DAC1CN: DAC1 Control
110
8 Dacs, 12-Bit Voltage Mode (C8051F12X Only)
105
8 Dacs, 12-Bit Voltage Mode (C8051F12X Only)
111
Table 8.1. DAC Electrical Characteristics
111
Voltage Reference
113
Reference Configuration on the C8051F120/2/4/6
113
9 Voltage Reference
114
Figure 9.1. Voltage Reference Functional Block Diagram (C8051F120/2/4/6)
114
SFR Definition 9.1. REF0CN: Reference Control (C8051F120/2/4/6)
114
Reference Configuration on the C8051F121/3/5/7
115
Figure 9.2. Voltage Reference Functional Block Diagram (C8051F121/3/5/7)
115
SFR Definition 9.2. REF0CN: Reference Control (C8051F121/3/5/7)
116
Reference Configuration on the C8051F130/1/2/3
117
Figure 9.3. Voltage Reference Functional Block Diagram (C8051F130/1/2/3)
117
SFR Definition 9.3. REF0CN: Reference Control (C8051F130/1/2/3)
117
9 Voltage Reference
118
Table 9.1. Voltage Reference Electrical Characteristics
118
10 Comparators
119
Comparators
119
Figure 10.1. Comparator Functional Block Diagram
119
Figure 10.2. Comparator Hysteresis Plot
121
SFR Definition 10.1. CPT0CN: Comparator0 Control
122
SFR Definition 10.2. CPT0MD: Comparator0 Mode Selection
123
SFR Definition 10.3. CPT1CN: Comparator1 Control
124
SFR Definition 10.4. CPT1MD: Comparator1 Mode Selection
125
10 Comparators
126
Table 10.1. Comparator Electrical Characteristics
126
Microcontroller
127
11 CIP-51 Microcontroller
128
Figure 11.1. CIP-51 Block Diagram
128
Instruction Set
129
Instruction and CPU Timing
129
MOVX Instruction and Program Memory
129
Table 11.1. CIP-51 Instruction Set Summary
129
Memory Organization
133
Program Memory
133
Figure 11.2. Memory Map
133
Figure 11.3. Address Memory Map for Instruction Fetches (128 Kb Flash Only)
134
11 CIP-51 Microcontroller
129
SFR Definition 11.1. PSBANK: Program Space Bank Select
134
Data Memory
135
General Purpose Registers
135
Bit Addressable Locations
135
Stack
135
Special Function Registers
136
Figure 11.4. SFR Page Stack
137
Figure 11.5. SFR Page Stack While Using SFR Page 0X0F to Access Port 5
138
Figure 11.6. SFR Page Stack after ADC2 Window Comparator Interrupt Occurs
139
Figure 11.7. SFR Page Stack Upon PCA Interrupt Occurring During an ADC2 ISR
140
Figure 11.8. SFR Page Stack Upon Return from PCA Interrupt
140
Figure 11.9. SFR Page Stack Upon Return from ADC2 Window Interrupt
141
SFR Definition 11.2. SFRPGCN: SFR Page Control
142
SFR Definition 11.3. SFRPAGE: SFR Page
142
SFR Definition 11.4. SFRNEXT: SFR Next Register
143
SFR Definition 11.5. SFRLAST: SFR Last Register
143
Table 11.2. Special Function Register (SFR) Memory Map
144
Table 11.3. Special Function Registers
146
Register Descriptions
151
SFR Definition 11.6. SP: Stack Pointer
151
SFR Definition 11.7. DPL: Data Pointer Low Byte
151
SFR Definition 11.8. DPH: Data Pointer High Byte
151
SFR Definition 11.9. PSW: Program Status Word
152
SFR Definition 11.10. ACC: Accumulator
153
SFR Definition 11.11. B: B Register
153
Interrupt Handler
154
MCU Interrupt Sources and Vectors
154
External Interrupts
155
Table 11.4. Interrupt Summary
155
Interrupt Priorities
156
Interrupt Latency
156
Interrupt Register Descriptions
157
SFR Definition 11.12. IE: Interrupt Enable
157
SFR Definition 11.13. IP: Interrupt Priority
158
SFR Definition 11.14. EIE1: Extended Interrupt Enable 1
159
SFR Definition 11.15. EIE2: Extended Interrupt Enable 2
160
SFR Definition 11.16. EIP1: Extended Interrupt Priority 1
161
SFR Definition 11.17. EIP2: Extended Interrupt Priority 2
162
Power Management Modes
163
Idle Mode
163
Stop Mode
164
SFR Definition 11.18. PCON: Power Control
164
12 Multiply and Accumulate (MAC0)
165
Multiply and Accumulate (MAC0)
165
Special Function Registers
165
Figure 12.1. MAC0 Block Diagram
165
Integer and Fractional Math
166
Figure 12.2. Integer Mode Data Representation
166
Figure 12.3. Fractional Mode Data Representation
166
Operating in Multiply and Accumulate Mode
167
Operating in Multiply Only Mode
167
Accumulator Shift Operations
167
Figure 12.4. MAC0 Pipeline
167
12 Multiply and Accumulate (MAC0)
168
Rounding and Saturation
168
Usage Examples
168
Multiply and Accumulate Example
168
Table 12.1. MAC0 Rounding (MAC0SAT = 0)
168
Multiply Only Example
169
MAC0 Accumulator Shift Example
169
SFR Definition 12.1. MAC0CF: MAC0 Configuration
170
SFR Definition 12.2. MAC0STA: MAC0 Status
171
SFR Definition 12.3. MAC0AH: MAC0 a High Byte
171
SFR Definition 12.4. MAC0AL: MAC0 a Low Byte
172
SFR Definition 12.5. MAC0BH: MAC0 B High Byte
172
SFR Definition 12.6. MAC0BL: MAC0 B Low Byte
172
SFR Definition 12.7. MAC0ACC3: MAC0 Accumulator Byte 3
173
SFR Definition 12.8. MAC0ACC2: MAC0 Accumulator Byte 2
173
SFR Definition 12.9. MAC0ACC1: MAC0 Accumulator Byte 1
173
SFR Definition 12.10. MAC0ACC0: MAC0 Accumulator Byte 0
174
SFR Definition 12.11. MAC0OVR: MAC0 Accumulator Overflow
174
SFR Definition 12.12. MAC0RNDH: MAC0 Rounding Register High Byte
174
SFR Definition 12.13. MAC0RNDL: MAC0 Rounding Register Low Byte
175
13 Reset Sources
177
Reset Sources
177
Figure 13.1. Reset Sources
177
Power-On Reset
178
Power-Fail Reset
178
Figure 13.2. Reset Timing
178
External Reset
179
Missing Clock Detector Reset
179
Comparator0 Reset
179
External CNVSTR0 Pin Reset
179
Watchdog Timer Reset
179
Enable/Reset WDT
180
Disable WDT
180
Disable WDT Lockout
180
Setting WDT Interval
180
SFR Definition 13.1. WDTCN: Watchdog Timer Control
181
SFR Definition 13.2. RSTSRC: Reset Source
182
13 Reset Sources
183
Table 13.1. Reset Electrical Characteristics
183
14 Oscillators
185
14 Oscillators
185
Oscillators
185
Internal Calibrated Oscillator
185
Figure 14.1. Oscillator Diagram
185
Table 14.1. Oscillator Electrical Characteristics
185
SFR Definition 14.1. OSCICL: Internal Oscillator Calibration
186
SFR Definition 14.2. OSCICN: Internal Oscillator Control
186
External Oscillator Drive Circuit
187
System Clock Selection
187
SFR Definition 14.3. CLKSEL: System Clock Selection
188
SFR Definition 14.4. OSCXCN: External Oscillator Control
189
External Crystal Example
190
External RC Example
190
External Capacitor Example
190
Phase-Locked Loop (PLL)
191
PLL Input Clock and Pre-Divider
191
PLL Multiplication and Output Clock
191
Figure 14.2. PLL Block Diagram
191
Powering on and Initializing the PLL
192
SFR Definition 14.5. PLL0CN: PLL Control
193
SFR Definition 14.6. PLL0DIV: PLL Pre-Divider
194
SFR Definition 14.7. PLL0MUL: PLL Clock Scaler
194
Table 14.2. PLL Frequency Characteristics
195
SFR Definition 14.8. PLL0FLT: PLL Filter
195
Table 14.3. PLL Lock Timing Characteristics
196
Flash Memory
199
Programming the Flash Memory
199
15 Flash Memory
200
Non-Volatile Data Storage
200
Table 15.1. Flash Electrical Characteristics
200
Erasing Flash Pages from Software
201
Figure 15.1. Flash Memory Map for MOVC Read and MOVX Write Operations
201
Writing Flash Memory from Software
202
15 Flash Memory
201
Security Options
203
Figure 15.2. 128 Kb Flash Memory Map and Security Bytes
204
Figure 15.3. 64 Kb Flash Memory Map and Security Bytes
205
SFR Definition 15.1. FLACL: Flash Access Limit
206
Summary of Flash Security Options
207
SFR Definition 15.2. FLSCL: Flash Memory Control
208
SFR Definition 15.3. PSCTL: Program Store Read/Write Control
209
16 Branch Target Cache
211
Branch Target Cache
211
Cache and Prefetch Operation
211
Figure 16.1. Branch Target Cache Data Flow
211
Cache and Prefetch Optimization
212
Figure 16.2. Branch Target Cache Organiztion
212
Figure 16.3. Cache Lock Operation
214
SFR Definition 16.1. CCH0CN: Cache Control
215
SFR Definition 16.2. CCH0TN: Cache Tuning
216
SFR Definition 16.3. CCH0LC: Cache Lock Control
216
SFR Definition 16.4. CCH0MA: Cache Miss Accumulator
217
SFR Definition 16.5. FLSTAT: Flash Status
217
External Data Memory Interface and On-Chip XRAM
219
Accessing XRAM
219
16-Bit MOVX Example
219
Configuring the External Memory Interface
219
Port Selection and Configuration
220
SFR Definition 17.1. EMI0CN: External Memory Interface Control
220
SFR Definition 17.2. EMI0CF: External Memory Configuration
221
Multiplexed and Non-Multiplexed Selection
222
Multiplexed Configuration
222
Figure 17.1. Multiplexed Configuration Example
222
Non-Multiplexed Configuration
223
Figure 17.2. Non-Multiplexed Configuration Example
223
Memory Mode Selection
224
Internal XRAM Only
224
Split Mode Without Bank Select
224
Figure 17.3. EMIF Operating Modes
224
Split Mode with Bank Select
225
External Only
225
EMIF Timing
225
17 External Data Memory Interface and On-Chip XRAM
222
SFR Definition 17.3. EMI0TC: External Memory Timing Control
226
Non-Multiplexed Mode
227
Figure 17.4. Non-Multiplexed 16-Bit MOVX Timing
227
Figure 17.5. Non-Multiplexed 8-Bit MOVX Without Bank Select Timing
228
Figure 17.6. Non-Multiplexed 8-Bit MOVX with Bank Select Timing
229
Multiplexed Mode
230
Figure 17.7. Multiplexed 16-Bit MOVX Timing
230
Figure 17.8. Multiplexed 8-Bit MOVX Without Bank Select Timing
231
Figure 17.9. Multiplexed 8-Bit MOVX with Bank Select Timing
232
17 External Data Memory Interface and On-Chip XRAM
233
16 Branch Target Cache
233
Table 17.1. AC Parameters for External Memory Interface
233
18 Port Input/Output
235
Port Input/Output
235
Figure 18.1. Port I/O Cell Block Diagram
235
18 Port Input/Output
236
Table 18.1. Port I/O DC Electrical Characteristics
236
Figure 18.2. Port I/O Functional Block Diagram
237
Ports 0 through 3 and the Priority Crossbar Decoder
238
Crossbar Pin Assignment and Allocation
238
Figure 18.3. Priority Crossbar Decode Table (EMIFLE = 0; P1MDIN = 0Xff)
238
Configuring the Output Modes of the Port Pins
239
Configuring Port Pins as Digital Inputs
240
Weak Pullups
240
Configuring Port 1 Pins as Analog Inputs
240
External Memory Interface Pin Assignments
241
Figure 18.4. Priority Crossbar Decode Table (EMIFLE = 1; EMIF in Multiplexed Mode; P1MDIN = 0Xff)
241
Figure 18.5. Priority Crossbar Decode Table (EMIFLE = 1; EMIF in Non-Multiplexed Mode; P1MDIN = 0Xff)
242
Crossbar Pin Assignment Example
243
Figure 18.6. Crossbar Example
244
SFR Definition 18.1. XBR0: Port I/O Crossbar Register 0
245
SFR Definition 18.2. XBR1: Port I/O Crossbar Register 1
246
SFR Definition 18.3. XBR2: Port I/O Crossbar Register 2
247
SFR Definition 18.4. P0: Port0 Data
248
SFR Definition 18.5. P0MDOUT: Port0 Output Mode
248
SFR Definition 18.6. P1: Port1 Data
249
SFR Definition 18.7. P1MDIN: Port1 Input Mode
249
SFR Definition 18.8. P1MDOUT: Port1 Output Mode
250
SFR Definition 18.9. P2: Port2 Data
250
SFR Definition 18.10. P2MDOUT: Port2 Output Mode
251
SFR Definition 18.11. P3: Port3 Data
251
Ports 4 through 7 (100-Pin TQFP Devices Only)
252
Configuring Ports Which Are Not Pinned out
252
Configuring the Output Modes of the Port Pins
252
SFR Definition 18.12. P3MDOUT: Port3 Output Mode
252
Configuring Port Pins as Digital Inputs
253
Weak Pullups
253
External Memory Interface
253
SFR Definition 18.13. P4: Port4 Data
254
SFR Definition 18.14. P4MDOUT: Port4 Output Mode
254
SFR Definition 18.15. P5: Port5 Data
255
SFR Definition 18.16. P5MDOUT: Port5 Output Mode
255
SFR Definition 18.17. P6: Port6 Data
256
SFR Definition 18.18. P6MDOUT: Port6 Output Mode
256
SFR Definition 18.19. P7: Port7 Data
257
SFR Definition 18.20. P7MDOUT: Port7 Output Mode
257
19 System Management Bus / I2C Bus (Smbus0)
259
System Management Bus / I2C Bus (Smbus0)
259
Figure 19.1. Smbus0 Block Diagram
259
Supporting Documents
260
Smbus Protocol
260
Figure 19.2. Typical Smbus Configuration
260
Arbitration
261
Clock Low Extension
261
Figure 19.3. Smbus Transaction
261
SCL High (Smbus Free) Timeout
261
SCL Low Timeout
261
Smbus Transfer Modes
262
Master Transmitter Mode
262
Master Receiver Mode
262
Figure 19.4. Typical Master Transmitter Sequence
262
Figure 19.5. Typical Master Receiver Sequence
262
Slave Transmitter Mode
263
Slave Receiver Mode
263
Figure 19.6. Typical Slave Transmitter Sequence
263
Figure 19.7. Typical Slave Receiver Sequence
263
Smbus Special Function Registers
264
Control Register
264
SFR Definition 19.1. SMB0CN: Smbus0 Control
266
Clock Rate Register
267
SFR Definition 19.2. SMB0CR: Smbus0 Clock Rate
267
Data Register
268
Address Register
268
SFR Definition 19.3. SMB0DAT: Smbus0 Data
268
Status Register
269
SFR Definition 19.4. SMB0ADR: Smbus0 Address
269
SFR Definition 19.5. SMB0STA: Smbus0 Status
269
19 System Management Bus / I2C Bus (Smbus0)
270
Table 19.1. SMB0STA Status Codes and States
270
20 Enhanced Serial Peripheral Interface (SPI0)
273
Enhanced Serial Peripheral Interface (SPI0)
273
Figure 20.1. SPI Block Diagram
273
Signal Descriptions
274
Master Out, Slave in (MOSI)
274
Master In, Slave out (MISO)
274
Serial Clock (SCK)
274
Slave Select (NSS)
274
SPI0 Master Mode Operation
275
Figure 20.2. Multiple-Master Mode Connection Diagram
276
Figure 20.3. 3-Wire Single Master and Slave Mode Connection Diagram
276
Figure 20.4. 4-Wire Single Master and Slave Mode Connection Diagram
276
SPI0 Slave Mode Operation
277
SPI0 Interrupt Sources
277
Serial Clock Timing
278
Figure 20.5. Master Mode Data/Clock Timing
278
Figure 20.6. Slave Mode Data/Clock Timing (CKPHA = 0)
279
Figure 20.7. Slave Mode Data/Clock Timing (CKPHA = 1)
279
SPI Special Function Registers
280
SFR Definition 20.1. SPI0CFG: SPI0 Configuration
280
SFR Definition 20.2. SPI0CN: SPI0 Control
281
SFR Definition 20.3. SPI0CKR: SPI0 Clock Rate
282
SFR Definition 20.4. SPI0DAT: SPI0 Data
282
Figure 20.8. SPI Master Timing (CKPHA = 0)
283
Figure 20.9. SPI Master Timing (CKPHA = 1)
283
Figure 20.10. SPI Slave Timing (CKPHA = 0)
284
Figure 20.11. SPI Slave Timing (CKPHA = 1)
284
20 Enhanced Serial Peripheral Interface (SPI0)
285
Table 20.1. SPI Slave Timing Parameters
285
21 Uart0
287
Advertisement
Silicon Laboratories C8051F127 Manual (322 pages)
Brand:
Silicon Laboratories
| Category:
Microcontrollers
| Size: 2 MB
Table of Contents
Table of Contents
3
1 System Overview
19
Table 1.1. Product Selection Guide
20
Figure 1.1. C8051F120/124 Block Diagram
21
Figure 1.2. C8051F121/125 Block Diagram
22
Figure 1.3. C8051F122/126 Block Diagram
23
Figure 1.4. C8051F123/127 Block Diagram
24
Microcontroller Core
25
Fully 8051 Compatible
25
Improved Throughput
25
CIP-51™ Microcontroller Core
25
Additional Features
26
Figure 1.5. On-Board Clock and Reset
26
Figure 1.6. On-Chip Memory Map
27
On-Chip Memory
27
Figure 1.7. Development/In-System Debug Diagram
28
JTAG Debug and Boundary Scan
28
16 X 16 MAC (Multiply and Accumulate) Engine
29
Figure 1.8. MAC0 Block Diagram
29
Figure 1.9. Digital Crossbar Diagram
30
Programmable Digital I/O and Crossbar
30
Figure 1.10. PCA Block Diagram
31
Programmable Counter Array
31
Serial Ports
32
12-Bit Analog to Digital Converter
33
Figure 1.11. 12-Bit ADC Block Diagram
33
8-Bit Analog to Digital Converter
34
Figure 1.12. 8-Bit ADC Diagram
34
Comparators and Dacs
35
Figure 1.13. Comparator and DAC Diagram
35
2 Absolute Maximum Ratings
36
Table 2.1. Absolute Maximum Ratings
36
3 Global DC Electrical Characteristics
37
Table 3.1. Global DC Electrical Characteristics (C8051F120/1/2/3)
37
Table 3.2. Global DC Electrical Characteristics (C8051F124/5/6/7)
38
4 Pinout and Package Definitions
39
Table 4.1. Pin Definitions
39
Figure 4.1. TQFP-100 Pinout Diagram
44
Figure 4.2. TQFP-100 Package Drawing
45
Figure 4.3. TQFP-64 Pinout Diagram
46
Figure 4.4. TQFP-64 Package Drawing
47
5 Adc0 (12-Bit Adc, C8051F120/1/4/5 Only)
49
Analog Multiplexer and PGA
49
Figure 5.1. 12-Bit ADC0 Functional Block Diagram
49
Figure 5.2. Typical Temperature Sensor Transfer Function
50
ADC Modes of Operation
51
Starting a Conversion
51
Tracking Modes
52
Figure 5.3. ADC0 Track and Conversion Example Timing
52
Settling Time Requirements
53
Figure 5.4. ADC0 Equivalent Input Circuits
53
Figure 5.5. AMX0CF: AMUX0 Configuration Register
54
Figure 5.6. AMX0SL: AMUX0 Channel Select Register
55
Figure 5.7. ADC0CF: ADC0 Configuration Register
56
Figure 5.8. ADC0CN: ADC0 Control Register
57
Figure 5.9. ADC0H: ADC0 Data Word MSB Register
58
Figure 5.10. ADC0L: ADC0 Data Word LSB Register
58
Figure 5.11. ADC0 Data Word Example
59
ADC0 Programmable Window Detector
60
Figure 5.12. ADC0GTH: ADC0 Greater-Than Data High Byte Register
60
Figure 5.13. ADC0GTL: ADC0 Greater-Than Data Low Byte Register
60
Figure 5.14. ADC0LTH: ADC0 Less-Than Data High Byte Register
61
Figure 5.15. ADC0LTL: ADC0 Less-Than Data Low Byte Register
61
Figure 5.16. 12-Bit ADC0 Window Interrupt Example: Right Justified Single-Ended Data
62
Figure 5.17. 12-Bit ADC0 Window Interrupt Example: Right Justified Differential Data
63
Figure 5.18. 12-Bit ADC0 Window Interrupt Example: Left Justified Single-Ended Data
64
Figure 5.19. 12-Bit ADC0 Window Interrupt Example: Left Justified Differential Data
65
Table 5.1. 12-Bit ADC0 Electrical Characteristics (C8051F120/1/4/5)
66
6 Adc0 (10-Bit Adc, C8051F122/3/6/7 Only)
67
Analog Multiplexer and PGA
67
Figure 6.1. 10-Bit ADC0 Functional Block Diagram
67
Figure 6.2. Typical Temperature Sensor Transfer Function
68
ADC Modes of Operation
69
Starting a Conversion
69
Tracking Modes
70
Figure 6.3. ADC0 Track and Conversion Example Timing
70
Settling Time Requirements
71
Figure 6.4. ADC0 Equivalent Input Circuits
71
Figure 6.5. AMX0CF: AMUX0 Configuration Register
72
Figure 6.6. AMX0SL: AMUX0 Channel Select Register
73
Figure 6.7. ADC0CF: ADC0 Configuration Register
74
Figure 6.8. ADC0CN: ADC0 Control Register
75
Figure 6.9. ADC0H: ADC0 Data Word MSB Register
76
Figure 6.10. ADC0L: ADC0 Data Word LSB Register
76
Figure 6.11. ADC0 Data Word Example
77
ADC0 Programmable Window Detector
78
Figure 6.12. ADC0GTH: ADC0 Greater-Than Data High Byte Register
78
Figure 6.13. ADC0GTL: ADC0 Greater-Than Data Low Byte Register
78
Figure 6.14. ADC0LTH: ADC0 Less-Than Data High Byte Register
79
Figure 6.15. ADC0LTL: ADC0 Less-Than Data Low Byte Register
79
Figure 6.16. 10-Bit ADC0 Window Interrupt Example: Right Justified Single-Ended Data
80
Figure 6.17. 10-Bit ADC0 Window Interrupt Example: Right Justified Differential Data
81
Figure 6.18. 10-Bit ADC0 Window Interrupt Example: Left Justified Single-Ended Data
82
Figure 6.19. 10-Bit ADC0 Window Interrupt Example: Left Justified Differential Data
83
Table 6.1. 10-Bit ADC0 Electrical Characteristics (C8051F122/3/6/7)
84
7 Adc2 (8-Bit Adc)
85
Analog Multiplexer and PGA
85
Figure 7.1. ADC2 Functional Block Diagram
85
ADC2 Modes of Operation
86
Starting a Conversion
86
Tracking Modes
86
Figure 7.2. ADC2 Track and Conversion Example Timing
87
Settling Time Requirements
88
Figure 7.3. ADC2 Equivalent Input Circuit
88
Figure 7.4. AMX2CF: AMUX2 Configuration Register
89
Figure 7.5. AMX2SL: AMUX2 Channel Select Register
90
Figure 7.6. ADC2CF: ADC2 Configuration Register
91
Figure 7.7. ADC2CN: ADC2 Control Register
92
Figure 7.8. ADC2: ADC2 Data Word Register
93
Figure 7.9. ADC2 Data Word Example
93
ADC2 Programmable Window Detector
94
Window Detector in Single-Ended Mode
94
Figure 7.10. ADC2 Window Compare Examples, Single-Ended Mode
94
Window Detector in Differential Mode
95
Figure 7.11. ADC2 Window Compare Examples, Differential Mode
95
Figure 7.12. ADC2GT: ADC2 Greater-Than Data Byte Register
96
Figure 7.13. ADC2LT: ADC2 Less-Than Data Byte Register
96
Table 7.1. ADC2 Electrical Characteristics
97
8 Dacs, 12-Bit Voltage Mode
99
DAC Output Scheduling
99
Update Output On-Demand
99
Figure 8.1. DAC Functional Block Diagram
99
Update Output Based on Timer Overflow
100
DAC Output Scaling/Justification
100
Figure 8.2. DAC0H: DAC0 High Byte Register
101
Figure 8.3. DAC0L: DAC0 Low Byte Register
101
Figure 8.4. DAC0CN: DAC0 Control Register
102
Figure 8.5. DAC1H: DAC1 High Byte Register
103
Figure 8.6. DAC1L: DAC1 Low Byte Register
103
Figure 8.7. DAC1CN: DAC1 Control Register
104
Table 8.1. DAC Electrical Characteristics
105
9 Voltage Reference (C8051F120/2/4/6)
107
Figure 9.1. Voltage Reference Functional Block Diagram
107
Figure 9.2. REF0CN: Reference Control Register
108
Table 9.1. Voltage Reference Electrical Characteristics
108
10 Voltage Reference (C8051F121/3/5/7)
109
Figure 10.1. Voltage Reference Functional Block Diagram
109
Figure 10.2. REF0CN: Reference Control Register
110
Table 10.1.Voltage Reference Electrical Characteristics
110
11 Comparators
111
Figure 11.1. Comparator Functional Block Diagram
111
Figure 11.2. Comparator Hysteresis Plot
113
Figure 11.3. CPT0CN: Comparator0 Control Register
114
Figure 11.4. CPT0MD: Comparator0 Mode Selection Register
115
Figure 11.5. CPT1CN: Comparator1 Control Register
116
Figure 11.6. CPT1MD: Comparator1 Mode Selection Register
117
Table 11.1.Comparator Electrical Characteristics
118
12 Microcontroller
119
Figure 12.1. CIP-51 Block Diagram
119
Instruction Set
120
Instruction and CPU Timing
120
MOVX Instruction and Program Memory
120
Table 12.1.CIP-51 Instruction Set Summary
121
Memory Organization
125
Program Memory
125
Figure 12.2. Memory Map
125
Figure 12.3. PSBANK: Program Space Bank Select Register
126
Figure 12.4. Address Memory Map for Instruction Fetches
126
Data Memory
127
General Purpose Registers
127
Bit Addressable Locations
127
Stack
127
Special Function Registers
128
1.SFR Paging
128
2.Interrupts and SFR Paging
128
3.SFR Page Stack Example
130
Figure 12.6. SFR Page Stack While Using SFR Page 0X0F to Access Port 5
130
Figure 12.7. SFR Page Stack after ADC2 Window Comparator Interrupt Occurs
131
Figure 12.8. SFR Page Stack Upon PCA Interrupt Occurring During an ADC2 ISR
132
Figure 12.9. SFR Page Stack Upon Return from PCA Interrupt
133
Figure 12.10. SFR Page Stack Upon Return from ADC2 Window Interrupt
134
Figure 12.11. SFRPGCN: SFR Page Control Register
135
Figure 12.12. SFRPAGE: SFR Page Register
135
Figure 12.13. SFRNEXT: SFR Next Register
136
Figure 12.14. SFRLAST: SFR Last Register
136
Table 12.2.Special Function Register (SFR) Memory Map
137
Table 12.3.Special Function Registers
138
Figure 12.5. SFR
140
Register Descriptions
143
Figure 12.15. SP: Stack Pointer
143
Figure 12.16. DPL: Data Pointer Low Byte
143
Figure 12.17. DPH: Data Pointer High Byte
143
Figure 12.18. PSW: Program Status Word
144
Figure 12.19. ACC: Accumulator
145
Figure 12.20. B: B Register
145
Interrupt Handler
146
MCU Interrupt Sources and Vectors
146
External Interrupts
146
Table 12.4.Interrupt Summary
147
Interrupt Priorities
148
Interrupt Latency
148
Interrupt Register Descriptions
149
Figure 12.21. IE: Interrupt Enable
149
Figure 12.22. IP: Interrupt Priority
150
Figure 12.23. EIE1: Extended Interrupt Enable 1
151
Figure 12.24. EIE2: Extended Interrupt Enable 2
152
Figure 12.25. EIP1: Extended Interrupt Priority 1
153
Figure 12.26. EIP2: Extended Interrupt Priority 2
154
Power Management Modes
155
Idle Mode
155
Stop Mode
155
Figure 12.27. PCON: Power Control
156
13 Multiply and Accumulate (Mac0)
157
Special Function Registers
157
Figure 13.1. MAC0 Block Diagram
157
Integer and Fractional Math
158
Figure 13.2. Integer Mode Data Representation
158
Figure 13.3. Fractional Mode Data Representation
158
Operating in Multiply and Accumulate Mode
159
Operating in Multiply Only Mode
159
Accumulator Shift Operations
159
Figure 13.4. MAC0 Pipeline
159
Rounding and Saturation
160
Usage Examples
160
Figure 13.5. Multiply and Accumulate Example
160
Table 13.1.MAC0 Rounding (MAC0SAT = 0)
160
Figure 13.6. Multiply Only Example
161
Figure 13.7. MAC0 Accumulator Shift Example
161
Figure 13.8. MAC0CF: MAC0 Configuration Register
162
Figure 13.9. MAC0STA: MAC0 Status Register
163
Figure 13.10. MAC0AH: MAC0 a High Byte Register
163
Figure 13.11. MAC0AL: MAC0 a Low Byte Register
164
Figure 13.12. MAC0BH: MAC0 B High Byte Register
164
Figure 13.13. MAC0BL: MAC0 B Low Byte Register
164
Figure 13.14. MAC0ACC3: MAC0 Accumulator Byte 3 Register
164
Figure 13.15. MAC0ACC2: MAC0 Accumulator Byte 2 Register
165
Figure 13.16. MAC0ACC1: MAC0 Accumulator Byte 1 Register
165
Figure 13.17. MAC0ACC0: MAC0 Accumulator Byte 0 Register
165
Figure 13.18. MAC0OVR: MAC0 Accumulator Overflow Register
165
Figure 13.19. MAC0RNDH: MAC0 Rounding Register High Byte
166
Figure 13.20. MAC0RNDL: MAC0 Rounding Register Low Byte
166
14 Reset Sources
167
Figure 14.1. Reset Sources
167
External Reset
168
Figure 14.2. Reset Timing
168
Power-Fail Reset
168
Power-On Reset
168
Comparator0 Reset
169
External CNVSTR0 Pin Reset
169
Missing Clock Detector Reset
169
Watchdog Timer Reset
169
Enable/Reset WDT
169
Disable WDT
170
Disable WDT Lockout
170
Setting WDT Interval
170
Figure 14.3. WDTCN: Watchdog Timer Control Register
170
Figure 14.4. RSTSRC: Reset Source Register
171
Table 14.1.Reset Electrical Characteristics
172
15 Oscillators
173
Programmable Internal Oscillator
173
Figure 15.1. Oscillator Diagram
173
Table 15.1.Oscillator Electrical Characteristics
173
Figure 15.2. OSCICL: Internal Oscillator Calibration Register
174
Figure 15.3. OSCICN: Internal Oscillator Control Register
174
External Oscillator Drive Circuit
175
System Clock Selection
175
Figure 15.4. CLKSEL: System Clock Selection Register
175
Figure 15.5. OSCXCN: External Oscillator Control Register
176
External Crystal Example
177
External RC Example
177
External Capacitor Example
177
Phase-Locked Loop (PLL)
178
PLL Input Clock and Pre-Divider
178
PLL Multiplication and Output Clock
178
Figure 15.6. PLL Block Diagram
178
Powering on and Initializing the PLL
179
Figure 15.7. PLL0CN: PLL Control Register
180
Figure 15.8. PLL0DIV: PLL Pre-Divider Register
180
Figure 15.9. PLL0MUL: PLL Clock Scaler Register
181
Figure 15.10. PLL0FLT: PLL Filter Register
181
Table 15.2.PLL Frequency Characteristics
182
Table 15.3.PLL Lock Timing Characteristics
182
16 Flash Memory
185
Programming the Flash Memory
185
Non-Volatile Data Storage
185
Erasing FLASH Pages from Software
186
Figure 16.1. FLASH Memory Map for MOVC Read and MOVX Write Operations
186
Writing FLASH Memory from Software
187
Security Options
188
Table 16.1.FLASH Electrical Characteristics
188
Figure 16.2. FLASH Program Memory Map and Security Bytes
189
Figure 16.3. FLACL: FLASH Access Limit
190
Figure 16.4. FLSCL: FLASH Memory Control
191
Figure 16.5. PSCTL: Program Store Read/Write Control
192
17 Branch Target Cache
193
Cache and Prefetch Operation
193
Figure 17.1. Branch Target Cache Data Flow
193
Cache and Prefetch Optimization
194
Figure 17.2. Branch Target Cache Organiztion
194
Figure 17.3. Cache Lock Operation
195
Figure 17.4. CCH0CN: Cache Control Register
196
Figure 17.5. CCH0TN: Cache Tuning Register
197
Figure 17.6. CCH0LC: Cache Lock Control Register
197
Figure 17.7. CCH0MA: Cache Miss Accumulator
198
Figure 17.8. FLSTAT: FLASH Status
198
18 External Data Memory Interface and On-Chip Xram
199
Accessing XRAM
199
16-Bit MOVX Example
199
Configuring the External Memory Interface
199
Port Selection and Configuration
200
Figure 18.1. EMI0CN: External Memory Interface Control
201
Figure 18.2. EMI0CF: External Memory Configuration
201
Multiplexed and Non-Multiplexed Selection
202
Multiplexed Configuration
202
Figure 18.3. Multiplexed Configuration Example
202
Non-Multiplexed Configuration
203
Figure 18.4. Non-Multiplexed Configuration Example
203
Memory Mode Selection
204
Internal XRAM Only
204
Split Mode Without Bank Select
204
Figure 18.5. EMIF Operating Modes
204
Split Mode with Bank Select
205
External Only
205
Timing
206
Figure 18.6. EMI0TC: External Memory Timing Control
206
Non-Multiplexed Mode
207
16-Bit MOVX: EMI0CF[4:2] = '101', '110', or '111
207
Figure 18.7. Non-Multiplexed 16-Bit MOVX Timing
207
8-Bit MOVX Without Bank Select: EMI0CF[4:2] = '101' or '111
208
Figure 18.8. Non-Multiplexed 8-Bit MOVX Without Bank Select Timing
208
8-Bit MOVX with Bank Select: EMI0CF[4:2] = '110
209
Figure 18.9. Non-Multiplexed 8-Bit MOVX with Bank Select Timing
209
Multiplexed Mode
210
16-Bit MOVX: EMI0CF[4:2] = '001', '010', or '011
210
Figure 18.10. Multiplexed 16-Bit MOVX Timing
210
8-Bit MOVX Without Bank Select: EMI0CF[4:2] = '001' or '011
211
Figure 18.11. Multiplexed 8-Bit MOVX Without Bank Select Timing
211
8-Bit MOVX with Bank Select: EMI0CF[4:2] = '010
212
Figure 18.12. Multiplexed 8-Bit MOVX with Bank Select Timing
212
Table 18.1.AC Parameters for External Memory Interface
213
19 Port Input/Output
215
Figure 19.1. Port I/O Cell Block Diagram
215
Table 19.1.Port I/O DC Electrical Characteristics
215
Figure 19.2. Port I/O Functional Block Diagram
216
Ports 0 through 3 and the Priority Crossbar Decoder
217
Crossbar Pin Assignment and Allocation
217
Figure 19.3. Priority Crossbar Decode Table
217
Configuring the Output Modes of the Port Pins
218
Configuring Port Pins as Digital Inputs
219
Weak Pull-Ups
219
Configuring Port 1 Pins as Analog Inputs
219
External Memory Interface Pin Assignments
220
Figure 19.4. Priority Crossbar Decode Table
220
Figure 19.5. Priority Crossbar Decode Table
221
Crossbar Pin Assignment Example
222
Figure 19.6. Crossbar Example
223
Figure 19.7. XBR0: Port I/O Crossbar Register 0
224
Figure 19.8. XBR1: Port I/O Crossbar Register 1
225
Figure 19.9. XBR2: Port I/O Crossbar Register 2
226
Figure 19.10. P0: Port0 Data Register
227
Figure 19.11. P0MDOUT: Port0 Output Mode Register
227
Figure 19.12. P1: Port1 Data Register
228
Figure 19.13. P1MDIN: Port1 Input Mode Register
228
Adc2 (8-Bit Adc)
228
Figure 19.14. P1MDOUT: Port1 Output Mode Register
229
Figure 19.15. P2: Port2 Data Register
229
Figure 19.16. P2MDOUT: Port2 Output Mode Register
230
Figure 19.17. P3: Port3 Data Register
230
Ports 4 through 7 (C8051F120/2/4/6 Only)
231
Configuring Ports Which Are Not Pinned out
231
Configuring the Output Modes of the Port Pins
231
Figure 19.18. P3MDOUT: Port3 Output Mode Register
231
Configuring Port Pins as Digital Inputs
232
Weak Pull-Ups
232
External Memory Interface
232
Figure 19.19. P4: Port4 Data Register
233
Figure 19.20. P4MDOUT: Port4 Output Mode Register
233
Figure 19.21. P5: Port5 Data Register
234
Figure 19.22. P5MDOUT: Port5 Output Mode Register
234
Figure 19.23. P6: Port6 Data Register
235
Figure 19.24. P6MDOUT: Port6 Output Mode Register
235
Figure 19.25. P7: Port7 Data Register
236
Figure 19.26. P7MDOUT: Port7 Output Mode Register
236
20 System Management Bus / I2C Bus (Smbus0)
237
Figure 20.1. Smbus0 Block Diagram
237
Smbus Protocol
238
Figure 20.2. Typical Smbus Configuration
238
Arbitration
239
Clock Low Extension
239
Figure 20.3. Smbus Transaction
239
SCL High (Smbus Free) Timeout
239
SCL Low Timeout
239
Supporting Documents
238
Smbus Transfer Modes
240
Master Transmitter Mode
240
Master Receiver Mode
240
Figure 20.4. Typical Master Transmitter Sequence
240
Figure 20.5. Typical Master Receiver Sequence
240
Slave Transmitter Mode
241
Slave Receiver Mode
241
Figure 20.6. Typical Slave Transmitter Sequence
241
Figure 20.7. Typical Slave Receiver Sequence
241
Smbus Special Function Registers
242
Control Register
242
Figure 20.8. SMB0CN: Smbus0 Control Register
243
Clock Rate Register
244
Figure 20.9. SMB0CR: Smbus0 Clock Rate Register
244
Data Register
245
Address Register
245
Figure 20.10. SMB0DAT: Smbus0 Data Register
245
Figure 20.11. SMB0ADR: Smbus0 Address Register
245
Status Register
246
Figure 20.12. SMB0STA: Smbus0 Status Register
246
Table 20.1.SMB0STA Status Codes and States
247
21 Enhanced Serial Peripheral Interface (Spi0)
249
Figure 21.1. SPI Block Diagram
249
Signal Descriptions
250
Master Out, Slave in (MOSI)
250
Master In, Slave out (MISO)
250
Serial Clock (SCK)
250
Slave Select (NSS)
250
SPI0 Master Mode Operation
251
Figure 21.2. Multiple-Master Mode Connection Diagram
252
Figure 21.3. 3-Wire Single Master and 3-Wire Single Slave Mode Connection Diagram
252
Figure 21.4. 4-Wire Single Master Mode and 4-Wire Slave Mode Connection Diagram
252
SPI0 Interrupt Sources
253
SPI0 Slave Mode Operation
253
Figure 21.5. Master Mode Data/Clock Timing
254
Serial Clock Timing
254
Figure 21.6. Slave Mode Data/Clock Timing (CKPHA = 0)
255
Figure 21.7. Slave Mode Data/Clock Timing (CKPHA = 1)
255
Figure 21.8. SPI0CFG: SPI0 Configuration Register
256
SPI Special Function Registers
256
Figure 21.9. SPI0CN: SPI0 Control Register
257
Figure 21.10. SPI0CKR: SPI0 Clock Rate Register
258
Figure 21.11. SPI0DAT: SPI0 Data Register
259
Figure 21.12. SPI Master Timing (CKPHA = 0)
260
Figure 21.13. SPI Master Timing (CKPHA = 1)
260
Figure 21.14. SPI Slave Timing (CKPHA = 0)
261
Figure 21.15. SPI Slave Timing (CKPHA = 1)
261
Table 21.1.SPI Slave Timing Parameters
262
Advertisement
Related Products
Silicon Labs C8051F127-GQ
Silicon Laboratories C8051F121
Silicon Labs C8051F126
Silicon Labs C8051F125
Silicon Labs C8051F121-GQ
Silicon Labs C8051F124-GQ
Silicon Laboratories C8051F120DK
Silicon Labs C8051F123-GQ
Silicon Labs C8051F120-GQ
Silicon Labs C8051F124
Silicon Labs Categories
Motherboard
Microcontrollers
Computer Hardware
Control Unit
Adapter
More Silicon Labs Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL