Sign In
Upload
Manuals
Brands
Renesas Manuals
Microcontrollers
V850ES/GB1TM
Renesas V850ES/GB1TM Manuals
Manuals and User Guides for Renesas V850ES/GB1TM. We have
1
Renesas V850ES/GB1TM manual available for free PDF download: User Manual
Renesas V850ES/GB1TM User Manual (498 pages)
Brand:
Renesas
| Category:
Microcontrollers
| Size: 2 MB
Table of Contents
Preface
7
Table of Contents
9
Chapter 1 Introduction
23
General
23
Device Features
24
Table 1-1: Product Versions
24
Application Fields
25
Pin Configuration (Top View)
26
Figure 1-1: Pin Configuration of the Μpd70F322X, Μpd70322X
26
Internal Architecture
28
Block Diagram of V850ES/GB1
28
Figure 1-2: Block Diagram of the V850ES/GB1 Microcontroller
28
On-Chip Units
29
Chapter 2 Pin Functions
31
List of Pin Functions
31
Table 2-1: Pin List
31
Table 2-2: Pin State Related to V850ES/GB1 State
34
Description of Pin Functions
35
Figure 2-1: Pin I/O Circuits
48
Chapter 3 CPU Functions
49
Features
49
CPU Register Set
50
Figure 3-1: CPU Register Set
50
Figure 3-2: Program Counter (PC) Format
51
Program Register Set
51
Table 3-1: Program Registers
51
System Register Set
52
Table 3-2: System Register Numbers
52
Figure 3-3: Interrupt: Context Saving Registers (EIPC, EIPSW) Format
53
Figure 3-4: NMI: Context Saving Registers (FEPC, FEPSW) Format
54
Figure 3-5: Interrupt Source Register (ECR) Format
54
Figure 3-6: Program Status Word (PSW) Format
55
Figure 3-7: CALLT Context Saving Registers (CTPC, CTPSW) Format
56
Table 3-3: Saturated Operation Results
56
Figure 3-8: Exception/Debug Trap Context Saving Registers (DBPC, DBPSW) Format
57
Figure 3-9: CALLT Base Pointer (CTBP) Format
57
Operation Modes
58
Address Space
59
CPU Address Space
59
Figure 3-10: CPU Address Space
59
Image
60
Figure 3-11: Address Space Image
60
Wrap-Around of CPU Address Space
61
Figure 3-12: Program Space
61
Figure 3-13: Data Space
61
Memory Map
62
Figure 3-14: Memory Map for 128 KB ROM Version (Μpd70F3224, Μpd703224, Μpd70F3226, Μpd703226)
62
Figure 3-15: Memory Map for 96 KB ROM Version (Μpd703223, Μpd703225)
63
Figure 3-16: Program Memory Map
64
Areas
65
Figure 3-17: Internal Rom/Internal Flash Memory Area (128 KB)
65
Figure 3-18: Internal ROM Area (96 KB)
66
Figure 3-19: Internal RAM Area (6 KB)
67
Figure 3-20: Internal RAM (4 KB)
68
Figure 3-21: On-Chip Peripheral I/O Area
69
Figure 3-22: Programmable Peripheral Area Control Register BPC
70
Areas Access Time
71
Figure 3-23: VSWC Wait Control Register Format
71
Table 3-4: Setup Values for VSWC
71
Special Registers
72
Figure 3-24: Processor Command Register Format
72
Figure 3-25: System Status Register Format
73
Cautions
75
Peripheral I/O Registers (SFR)
78
Table 3-5: Peripheral I/O Registers
78
CAN RAM and Registers
84
Table 3-6: CAN RAM Mapping
84
Table 3-7: CAN Registers Mapping
93
Chapter 4 Interrupt/Exception Processing Function
95
Outline
95
Features
95
Table 4-1: Interrupt Source List
96
Non-Maskable Interrupt
98
Operation
99
Figure 4-1: Non-Maskable Interrupt Servicing
99
Figure 4-2: Acknowledging Non-Maskable Interrupt Request
100
Restore
101
Figure 4-3: RETI Instruction Processing
101
NP Flag
102
Noise Elimination Circuit of NMI Pin
102
Figure 4-4: NP Flag (NP)
102
Edge Detection Function of NMI Pin
103
Figure 4-5: NMI Edge Specification: INTM2 Register Format
103
Maskable Interrupts
104
Operation
104
Figure 4-6: Maskable Interrupt Servicing
105
Restore
106
Figure 4-7: RETI Instruction Processing
106
Priorities of Maskable Interrupts
107
Figure 4-8: Example of Interrupt Nesting Service (1/2)
108
Figure 4-9: Example of Servicing Interrupt Requests Simultaneously Generated
110
Interrupt Control Register (Xxnic)
111
Figure 4-10: Interrupt Control Register (Xxnic) Format
111
Interrupt Mask Registers (Imrn)
112
Figure 4-11: Interrupt Mask Register Format IMR0
112
Figure 4-12: Interrupt Mask Register Format IMR1
113
Figure 4-13: Interrupt Mask Register Format IMR2
114
In-Service Priority Register (ISPR)
115
Figure 4-14: In-Service Priority Register (ISPR) Format
115
Global Interrupt Mask: ID (Interrupt Disable)
116
Figure 4-15: Interrupt Disable Flag (ID)
116
Edge Detection Function
117
Figure 4-16: External Interrupts Edge Selection Register INTM0
117
Figure 4-17: External Interrupts Edge Selection Register INTM1
117
Figure 4-18: External Interrupts Edge Selection Register INTM2
117
Software Exception
118
Operation
118
Figure 4-19: Software Exception Processing
118
Restore
119
Figure 4-20: RETI Instruction Processing
119
EP Flag
120
Figure 4-21: EP Flag (EP)
120
Exception Trap
121
Illegal Op Code Definition
121
Figure 4-22: Illegal Op Code
121
Operation
122
Figure 4-23: Exception Trap Processing
122
Restore
123
Figure 4-24: RETI Instruction Processing
123
Priority Control
124
Priorities of Interrupts and Exceptions
124
Table 4-2: Priorities of Interrupts and Exceptions
124
Multiple Interrupt Processing
125
Interrupt Response Time
127
Figure 4-25: Pipeline Operation During Interrupt Request Acknowledgment (Outline)
127
Periods in Which Interrupts Are Not Acknowledged by CPU
128
Key Interrupt Function
129
Figure 4-26: Key Return Mode Register (KRM)
129
Table 4-3: Description of Key Return Detection Pin
129
Figure 4-27: Key Return Block Diagram
130
Chapter 5 Clock Generator
131
Features
131
Figure 5-1: Clock Generator Block Diagram
131
Main System Clock Oscillator
132
Figure 5-2: Main System Clock Oscillator
132
Subsystem Clock Oscillator
133
RC Subsystem Oscillator
133
Crystal Subsystem Clock Oscillator
133
Figure 5-3: RC Oscillator Circuit
133
Figure 5-4: Crystal Oscillator Circuit
133
Control Registers
134
PCC - Processor Clock Control Register
134
Figure 5-5: Processor Clock Control Register Format (1/2)
134
PSMR - Power Save Mode Register
136
Figure 5-6: Power Save Mode Register Format
136
PSC - Power Save Control Register
137
Figure 5-7: Power Save Control Register Format
137
OSTS: Oscillation Stabilization Register
138
Figure 5-8: Oscillation Stabilization Register Format
138
Processor Clock Output
139
System Operating Modes
140
Figure 5-9: System Operating and Standby Modes Block Diagram
140
Main Clock Operation Mode
141
Sub Clock Operation Mode
141
Examples of Clock Switching
142
HALT Mode
143
Table 5-1: Operating Status in HALT Mode
143
Table 5-2: Operation after Releasing HALT Mode by Interrupt Request
144
WATCH Mode
145
Table 5-3: Operating Status in WATCH Mode
146
Table 5-4: Operation after Releasing Watch Mode by Interrupt Request
147
STOP Mode
149
Table 5-5: Operating Status in STOP Mode
149
Table 5-6: Operation after Releasing Stop Mode by Interrupt Request
150
Figure 5-10: Oscillation Stabilization Time
152
Securing Oscillation Stabilization Time
152
Chapter 6 Timers
153
16-Bit Timer G0 (TMG0)
153
Features (Timer G0)
153
Function Overview (Timer G0)
154
Figure 6-1: Block Diagram of Timer G0
155
Basic Configuration
156
Figure 6-2: Timer G0 Counter Value Registers TMG00
156
Figure 6-3: Timer G0 Counter Value Registers TMG01
156
Table 6-1: Timer G0 Configuration List
156
Figure 6-4: Capture/Compare Register GCC00
157
Figure 6-5: Capture/Compare Register GCC05
157
Figure 6-6: Capture/Compare Registers Gcc0M (M = 1 to 4)
158
Control Registers
159
Figure 6-7: Timer G0 Mode Register High (TMGM0H)
159
Figure 6-8: Timer G0 Mode Register Low (TMGM0L)
160
Figure 6-9: Timer G0 Channel Mode Register (TMGCM0H, TMGCM0L)
161
Figure 6-10: Timer G0 Output Control Register (OCTLG0H, OCTLG0L)
162
Figure 6-11: Timer G0 Status Register (TMGST0)
163
Output Delay Operation
164
Figure 6-12: Timing of Output Delay Operation
164
Explanation of Basic Operation
165
Operation in Free Running Mode
166
Figure 6-13: Timing When both Edges of TIG00 Are Valid (Free Running)
167
Figure 6-14: Timing of Capture Trigger Edge Detection (Free Running)
168
Figure 6-15: Timing of Starting Capture Trigger Edge Detection
169
Figure 6-16: Timing of Compare Mode (Free Running)
170
Figure 6-17: Timing When GCC01 Is Rewritten During Operation (Free Running)
171
Figure 6-18: Timing of PWM Operation (Free Running)
173
Figure 6-19: Timing When 0000H Is Set in Gcc0M (Free Running)
174
Figure 6-20: Timing When FFFFH Is Set in Gcc0M (Free Running)
175
Figure 6-21: Timing When Gcc0M Is Rewritten During Operation (Free Running)
176
Operation in Match and Clear Mode
177
Figure 6-22: Timing When both Edges of Tig0M Are Valid (Match and Clear)
178
Figure 6-23: Timing of Compare Operation (Match and Clear)
180
Figure 6-24: Timing When Gcc0M Is Rewritten During Operation (Match and Clear)
181
Figure 6-25: Timing of PWM Operation (Match and Clear)
183
Figure 6-26: Timing When 0000H Is Set in Gcc0M (Match and Clear)
184
Figure 6-27: Timing When the same Value as Set in GCC00/GCC05 Is Set in Gcc0M (Match and Clear)
185
Figure 6-28: Timing When the Value of Gcc0M Exceeding GCC00 or GCC05 (Match and Clear)
186
Figure 6-29: Timing When Gcc0M Is Rewritten During Operation (Match and Clear)
187
Edge Noise Elimination
188
Figure 6-30: Timing of Edge Detection Noise Elimination
188
Precautions Timer G0
189
16-Bit Timer C (TMC0)
191
Features (Timer C0)
191
Function Overview (Timer C0)
192
Figure 6-31: Block Diagram of Timer C0
193
Basic Configuration
194
Figure 6-32: Timer C0 Counter (TMC0)
194
Table 6-2: Timer C0 Configuration List
194
Figure 6-33: Capture/Compare Registers of TMC0 (Ccc0N) (N = 0, 1)
196
Control Registers
198
Figure 6-34: Timer C0 Control Register 0 TMCC00 (1/2)
198
Figure 6-35: Timer C0 Control Register 1 TMCC01 (1/2)
200
Figure 6-36: Valid Edge Selection Register SESC0
202
Operation
203
Figure 6-37: Timing of Basic Operation of Timer C0
203
Figure 6-38: Timing of Interrupt Operation after Overflow
204
Figure 6-39: Timing of Capture for Pulse Cycle Measurement (Rising Edge)
205
Figure 6-40: Timing of Capture for Pulse Width Measurement (both Edges)
206
Figure 6-41: Timing of Cycle Measurement Operation
208
Figure 6-42: Timing of Compare Operation
209
Figure 6-43: Timing of Interval Timer Operation
210
Figure 6-44: Timing of PWM Output Operation (Overview)
211
Table 6-3: TOC0 Output Control
211
Figure 6-45: Timing Example of PWM Output Operation (Detail)
212
Precautions Timer C0
213
Timer Input Select
214
Uart6N and DCAN Connection to Timer Inputs
214
Figure 6-46: Timer Input Select Block Diagram
214
Timer Input Select Control Register
215
Figure 6-47: Timer Input Select Control Register Format
215
8-Bit Timer 50, Timer 51, Timer 52
216
Functions
216
Figure 6-48: Block Diagram of Timer 50, Timer 51
217
Figure 6-49: Block Diagram of Timer 52
217
Figure 6-50: Timer 51 as Clock Source for CSI00
218
Configuration
219
Figure 6-51: TM50, TM51 Timer Count Registers (TM50, TM51)
219
Table 6-4: Timers 5N Configuration
219
Figure 6-52: TM50, TM51 Compare Registers (CR50, CR51)
220
Timer 5N Control Register
221
Figure 6-53: Timer 5 Clock Select Registers (TCL50, TCL51)
221
Figure 6-54: Timer 5 Clock Select Registers (TCL52)
222
Figure 6-55: Timer 5 Mode Control Registers (TMC50, TMC51) (1/2)
223
8-Bit Timer Operation
225
Figure 6-56: Timing of Interval Timer Operation (1/3)
225
Figure 6-57: Timing of External Event Counter Operation
228
Figure 6-58: Timing of Square Wave Output Operation Timing
229
Figure 6-59: Timing of PWM Output
231
Figure 6-60: Timing of Operation Based on Cr5N Transitions (1/2)
232
Operating as Interval Timer (16 Bits)
234
Figure 6-61: Cascade Connection Mode with 16 Bit Resolution
235
Precautions Timer 5
236
Figure 6-62: Start Timing of Timer 5N
236
Figure 6-63: External Event Counter Operation Timings
236
Chapter 7 Watch Timer
239
Function
239
Figure 7-1: Block Diagram of Watch Timer
239
Configuration
240
Watch Timer Control Register
240
Figure 7-2: Watch Timer Mode Control Register (WTM) (1/2)
240
Table 7-1: Configuration of Watch Timer
240
Operations
242
Operation as Watch Timer
242
Operation as Interval Timer
242
Watch Timer and Interval Timer Simultaneously
243
Figure 7-3: Example Watch Timer and Interval Timer Simultaneously
243
Chapter 8 Watchdog Timer
245
Features
245
Figure 8-1: Block Diagram of Watchdog Timer
246
Configuration
247
Watchdog Timer Control Registers
247
Figure 8-2: Watchdog Timer Mode Register (WDTM) Format
247
Table 8-1: Configuration of Watchdog Timer
247
Table 8-2: Watchdog Timer Clock Selection
248
Figure 8-3: Watchdog Timer Enable Register (WDTE) Format
249
Operation
250
Watchdog Timer Generating a Reset
250
Watchdog Timer as Interval Timer
251
Figure 8-4: Watchdog Operation at Timer Overflow
251
Chapter 9 Serial Interface Function
253
Features
253
Serial Interface Uart6N
254
Functions of Serial Interfaces Uart6N (UART60, UART61)
254
Figure 9-1: LIN Transmission Operation
255
Figure 9-2: LIN Reception Operation
256
Figure 9-3: Port Configuration for LIN Reception Operation
257
Configuration of Serial Interface Uart6N
258
Figure 9-4: UART60, UART61 Block Diagram
258
Table 9-1: Configuration of Serial Interface Uart6N
258
Reception and Transmit Buffer Registers
260
Figure 9-5: Format of Receive Buffer Register (Rxbn)
260
Figure 9-6: Format of Transmit Buffer Register (Txbn)
261
Registers Controlling Serial Interface Uart6N
262
Figure 9-7: Format of Asynchronous Serial Interface Operation Mode Register (Asimn) (1/2)
262
Figure 9-8: Format of Asynchronous Serial Interface Reception Error Status Register (Asisn)
264
Figure 9-9: Format of Asynchronous Serial Interface Transmission Status Register (Asifn)
265
Figure 9-10: Format of Clock Selection Register (Cksrn)
266
Figure 9-11: Format of Baud Rate Generator Control Register (Brgcn)
267
Figure 9-12: Format of Asynchronous Serial Interface Control Register (Asicln) (1/2)
268
Operation of Serial Interface Uart6N
270
Figure 9-13: Register Asimn in Operation STOP Mode (1/2)
270
Figure 9-14: Register Asimn in Asynchronous Serial Interface (UART) Mode (1/2)
272
Figure 9-15: Register Asisn in Asynchronous Serial Interface (UART) Mode
274
Figure 9-16: Register Asifn in Asynchronous Serial Interface (UART) Mode
275
Figure 9-17: Register Asicln in Asynchronous Serial Interface (UART) Mode (1/2)
276
Figure 9-18: Format of Normal UART Transmitted/Received Data
278
Figure 9-19: Example of Normal UART Transmitted/Received Data Format
279
Figure 9-20: Normal Transmission Completion Interrupt Request Timing
281
Table 9-2: Write Processing and Writing to Txbn During Execution of Continuous Transmission
282
Figure 9-21: Processing Flow of Continuous Transmission
283
Figure 9-22: Timing of Starting Continuous Transmission
284
Figure 9-23: Timing of Ending Continuous Transmission
285
Figure 9-24: Reception Completion Interrupt Request Timing
286
Figure 9-25: Reception Error Interrupt
287
Table 9-3: Cause of Reception Error
287
Figure 9-26: Noise Filter Circuit
288
Figure 9-27: SBF Transmission
288
Figure 9-28: SBF Reception
289
Dedicated Baud Rate Generator
290
Figure 9-29: Configuration of Baud Rate Generator
291
Figure 9-30: Clock Selection Register (Cksrn) Format
292
Figure 9-31: Baud Rate Generator Control Register (Brgcn) Format
293
Table 9-4: Set Data of Baud Rate Generator
295
Figure 9-32: Transfer Rate During Continuous Transmission
296
Clocked Serial Interfaces 0, 1 (CSI00, CSI01)
297
Features
297
Configuration
298
Figure 9-33: Block Diagram of Clocked Serial Interfaces
299
Control Registers
300
Figure 9-34: Clocked Serial Interface Mode Registers (CSIM0, CSIM1)
300
Figure 9-35: Clocked Serial Interface Clock Selection Registers (CSIC0, CSIC1) (1/2)
301
Figure 9-36: Clocked Serial Interface Reception Buffer Registers (SIRB0, SIRB1)
303
Figure 9-37: Clocked Serial Interface Reception Buffer Registers (SIRB0L1, SIRB1L1)
304
Figure 9-38: Clocked Serial Interface Transmission Buffer Registers (SOTB0, SOTB1)
305
Figure 9-39: Clocked Serial Interface Transmission Buffer Registers (Sotbnl)
306
Figure 9-40: Clocked Serial Interface Initial Transmission Buffer Registers 0, 1 (Sotbfn)
307
Figure 9-41: Clocked Serial Interface Initial Transmission Buffer Registers (Sotbfnl)
308
Figure 9-42: Serial I/O Shift Registers (SIO0, SIO1)
309
Figure 9-43: Serial I/O Shift Registers (SIO0L, SIO1L)
310
Operation
311
Figure 9-44: Timing Chart in Single Transfer Mode (Dapn = 0) (1/2)
312
Figure 9-45: Timing Chart According to Clock Phase Selection (1/2)
314
Figure 9-46: Timing Chart of Interrupt Request Signal Output in Delay Mode (1/2)
316
Figure 9-47: Repeat Transfer (Receive-Only) Timing Chart
318
Figure 9-48: Repeat Transfer (Transmission/Reception) Timing Chart
320
Figure 9-49: Timing Chart of Next Transfer Reservation Period (1/2)
321
Figure 9-50: Transfer Request Clear and Register Access Contention
322
Figure 9-51: Interrupt Request and Register Access Contention
323
Output Pins
324
TM51 Output as Dedicated Baud Rate Generator for CSI00
325
Chapter 10 DCAN
327
Outline Description
327
CAN Protocol
327
Figure 10-1: Structural Block Diagram
327
Message Format
328
Protocol Mode Function
328
Data Frame / Remote Frame
329
Figure 10-2: Data Frame
329
Figure 10-3: Remote Frame
329
Figure 10-4: Data Frame
330
Figure 10-5: Arbitration Field/Standard Format Mode
330
Figure 10-6: Arbitration Field/Extended Format Mode
331
Table 10-1: Bit Number of the Identifier
331
Table 10-2: RTR Setting
331
Table 10-3: Mode Setting
331
Figure 10-7: Control Field (Standard Format Mode)
332
Figure 10-8: Control Field (Extended Format Mode)
332
Table 10-4: Data Length Code Setting
332
Figure 10-10: CRC Field
333
Figure 10-9: Data Field
333
Figure 10-11: ACK Field
334
Figure 10-12: End of Frame
334
Figure 10-13: Interframe Space/Error Active
335
Figure 10-14: Interframe Space/Error Passive
335
Table 10-5: Operation in the Error State
335
Error Frame
336
Figure 10-15: Error Frame
336
Table 10-6: Definition of each Field
336
Figure 10-16: Overload Frame
337
Overload Frame
337
Table 10-7: Definition of each Frame
337
Function
338
Arbitration
338
Bit Stuffing
338
Table 10-8: Arbitration
338
Table 10-9: Bit Stuffing
338
Multi Master
339
Multi Cast
339
Sleep Mode/Stop Function
339
Error Control Function
340
Table 10-10: Error Types
340
Table 10-11: Output Timing of the Error Frame
340
Table 10-12: Types of Error
341
Table 10-13: Error Counter
342
Baud Rate Control Function
343
Figure 10-17: Nominal Bit Time (8 to 25 Time Quanta)
343
Table 10-14: Segment Name and Segment Length
343
Figure 10-18: Adjusting Synchronization of the Data Bit
344
Figure 10-19: Bit Synchronization
345
State Shift Chart
346
Figure 10-20: Transmission State Shift Chart
346
Figure 10-21: Reception State Shift Chart
347
Figure 10-22: Error State Shift Chart
348
Connection with Target System
349
Figure 10-23: Connection to the CAN Bus
349
DCAN Controller Configuration
350
Special Function Register for DCAN-Module
351
Table 10-15: Table of DCAN0 Sfr's
351
Table 10-16: SFR Bit Names
351
Message Buffer Configuration
352
Transmit Buffer Structure
353
Transmit Message Buffer Format
354
Transmit Message Definition
355
Figure 10-24: Transmit Message Definition Register (TCON)
355
Transmit Identifier Definition
356
Figure 10-25: Transmit Identifier Register
356
Transmit Data Definition
357
Figure 10-26: Transmit Data
357
Receive Buffer Structure
358
Receive Message Buffer Format
359
Receive Control Bits Definition
360
Figure 10-27: Receive Identifier Control Register (IDCON)
360
Receive Status Bits Definition
361
Figure 10-28: Receive Status Bits Register (DSTAT) (1/2)
361
Receive Identifier Definition
364
Figure 10-29: Receive Identifier Register
364
Receive Message Data Part
365
Figure 10-30: Receive Data
365
Mask Function
366
Table 10-17: Mask Function Register
366
Figure 10-31: Identifier Compare with Mask
367
Identifier Compare with Mask
367
Figure 10-32: Mask Identifier Control Register (MCON)
368
Mask Identifier Control Register (MCON)
368
Figure 10-33: Mask Identifier Register (MREC)
369
Mask Identifier Definition
369
Operation of the DCAN Controller
370
DCAN Control Register (DCANC0)
370
Figure 10-34: DCAN Control Register (DCANC0)
370
CAN Control Register (CANC0)
371
Figure 10-35: CAN Control Register (CANC0) (1/2)
371
Figure 10-36: DCAN Time Stamp Support
373
Figure 10-37: Time Stamp Function
374
Figure 10-38: SOFOUT Toggle Function
374
Figure 10-39: Global Time System Function
374
Figure 10-40: Transmission/Reception Flag
375
DCAN Error Status Register
376
Figure 10-41: DCAN Error Status Register (CANES0) (1/3)
376
Table 10-18: Possible Reactions of the DCAN
378
CAN Transmit Error Counter
379
CAN Receive Error Counter
379
Figure 10-42: Transmit Error Counter Register (TEC0)
379
Figure 10-43: Receive Error Counter Register (REC0)
379
Message Count Register
380
Figure 10-44: Message Count Register (MCNT0) (1/2)
380
Baud Rate Generation
382
Bit Rate Prescaler Register
382
Figure 10-45: Bit Rate Prescaler Register (BRPRS0) (1/2)
382
Synchronization Control Registers 0 and 1
384
Figure 10-46: Synchronization Control Registers 0 and 1 (SYNC00, SYNC10 (1/5)
384
Function Control
389
Transmit Control
389
Figure 10-47: Transmit Control Register (TCR0) (1/2)
389
Receive Control
391
Figure 10-48: Receive Message Register (RMES0)
391
Mask Control
392
Figure 10-49: Mask Control Register (MASKC0) (1/2)
392
Table 10-19: Mask Operation Buffers
393
Performance of the DCAN
395
Interrupt Information
396
Interrupt Vectors
396
Transmit Interrupt 0
396
Receive Interrupt
396
Table 10-20: Interrupt Sources
396
Error Interrupt
397
Power Saving Modes
398
CPU Halt Mode
398
CPU WATCH Mode
398
CPU Stop Mode
398
DCAN Sleep Mode
398
DCAN Stop Mode
400
Functional Description by Flowcharts
401
Initialization
401
Figure 10-50: Initialization Flow Chart
401
Transmit Preparation
402
Figure 10-51: Transmit Preparation
402
Abort Transmit
403
Figure 10-52: Transmit Abort
403
Handling by the DCAN
404
Figure 10-53: Handling of Semaphore Bits by DCAN-Module
404
Receive Event Oriented
405
Figure 10-54: Receive with Interrupt, Software Flow
405
Receive Task Oriented
406
Figure 10-55: Receive, Software Polling
406
Figure 10-56: Receive, Software Polling in Case of Data New Flag Limitation
407
Cautions
408
Chapter 11 A/D Converter
409
A/D Converter Functions
409
Figure 11-1: A/D Converter Block Diagram
409
Figure 11-2: Power-Fail Detection Function Block Diagram
410
A/D Converter Configuration
411
Table 11-1: A/D Converter Configuration
411
A/D Converter Control Registers
413
Register Format of A/D Converter Control Register
413
Table 11-2: Register Format of A/D Converter Control Register
413
Figure 11-3: A/D Converter Mode Register (ADM) Format
414
Figure 11-4: Analog Input Channel Specification Register (ADS) Format
415
Figure 11-5: Power-Fail Compare Mode Register (PFM) Format
416
Figure 11-6: Power-Fail Compare Threshold Value Register
416
Figure 11-7: A/D Conversion Result Registers (ADCR)
417
A/D Converter Operations
418
Basic Operations of A/D Converter
418
Figure 11-8: Basic Operation of 10-Bit A/D Converter
419
Input Voltage and Conversion Results
420
Figure 11-9: Relation between Analog Input Voltage and A/D Conversion Result
421
A/D Converter Operation Mode
422
Figure 11-10: A/D Conversion
423
A/D Converter Precautions
424
Figure 11-11: Reducing Current Consumption in Standby Mode
424
Figure 11-12: Analog Input Pin Handling
425
Figure 11-13: A/D Conversion End Interrupt Request Generation Timing
426
Chapter 12 Port Functions
427
Features
427
Port Configuration
427
Figure 12-1: Port Configuration
427
Table 12-1: Functions of each Port
428
Table 12-2: Functions of each Port Pin on Reset and Registers Concerned by the Use of the Port
429
Figure 12-2: Port Structure Type a Block Diagram
432
Port Block Diagram
432
Figure 12-3: Port Structure Type B Block Diagram
433
Figure 12-4: Port Structure Type C Block Diagram
434
Figure 12-5: Port Structure Type D Block Diagram
435
Figure 12-6: Port Structure Type E Block Diagram
436
Pin Functions of each Port
437
Port 0
437
Figure 12-7: Port 0 (P0)
437
Figure 12-8: Port 0 Mode Control Register (PMC0)
438
Figure 12-9: Port 0 Mode Register (PM0)
439
Figure 12-10: Port 0 Pull-Up Resistor Option Register (PU0)
439
Port 1
440
Figure 12-11: Port 1 (P1)
440
Figure 12-12: Port 1 Mode Control Register (PMC1)
441
Figure 12-13: Port 1 Mode Register (PM1)
442
Figure 12-14: Port 1 Pull-Up Resistor Option Register (PU1)
442
Port 2
443
Figure 12-15: Port 2 (P2)
443
Figure 12-16: Port 2 Mode Control Register (PMC2)
444
Figure 12-17: Port 2 Mode Register (PM2)
445
Figure 12-18: Port 2 Pull-Up Resistor Option Register (PU2)
445
Port 3
446
Figure 12-19: Port 3 (P3)
446
Figure 12-20: Port 3 Mode Control Register (PMC3)
447
Figure 12-21: Port 3 Mode Register (PM3)
448
Figure 12-22: Port 3 Pull-Up Resistor Option Register (PU3)
448
Port 4
449
Figure 12-23: Port 4 (P4)
449
Figure 12-24: Port 4 Mode Control Register (PMC4)
450
Figure 12-25: Port 4 Mode Register (PM4)
451
Figure 12-26: Port 4 Pull-Up Resistor Option Register (PU4)
451
Port 5
452
Figure 12-27: Port 5 (P5)
452
Figure 12-28: Port 5 Mode Control Register (PMC5)
452
Figure 12-29: Port 5 Mode Register (PM5)
453
Figure 12-30: Port 5 Pull-Up Resistor Option Register (PU5)
453
Port 7
454
Figure 12-31: Port 7 (P7, P7L and P7H)
454
Port NMI
456
Figure 12-32: Port NMI (PNMI)
456
Port DL
457
Figure 12-33: Port DL (PDL, PDLL and PDLH)
457
Figure 12-34: Port DL Mode Register (PMDL, PMDLL and PMDLH)
458
Port DH
459
Figure 12-35: Port DH (PDH)
459
Figure 12-36: Port DH Mode Register (PMDH)
459
Port CS
460
Figure 12-37: Port CS (PCS)
460
Figure 12-38: Port CS Mode Register (PMCS)
460
Port CT
461
Figure 12-39: Port CT (PCT)
461
Figure 12-40: Port CT Mode Register (PMCT)
461
Port CM
462
Figure 12-41: Port CM (PCM)
462
Figure 12-42: Port CM Mode Control Register (PMCCM)
462
Figure 12-43: Port CM Mode Register (PMCM)
463
Chapter 13 RESET Function
465
Overview
465
Configuration
465
Figure 13-1: Reset Block Diagram
465
Operation
466
Table 13-1: Hardware Status on RESET Pin Input or Occurrence of WDTRES
466
RAM Usage after RESET Release
467
Figure 13-2: Hardware Status on RESET Input
467
Table 13-2: RAM Usage after RESET Release
467
Figure 13-3: Operation on Power Application
468
Chapter 14 ROM Correction Function
469
Overview
469
Figure 14-1: Block Diagram of ROM Correction
469
Control Registers
470
Correction Address Registers 0 to 3 (CORAD0 to CORAD3)
470
Figure 14-2: Correction Address Registers 0 to 3 (CORAD0 to CORAD3) Format
470
Correction Control Register (CORCN)
471
Figure 14-3: Correction Control Register (CORCN) Format
471
Table 14-1: Correspondence between CORCN Register Bits and Coradn Registers
471
ROM Correction Operation and Program Flow
472
Figure 14-4: ROM Correction Operation and Program Flow
473
Chapter 15 Flash Memory (Μpd70F322X Only)
475
Features
475
Writing by Flash Writer
476
Programming Environment
476
Figure 15-1: Programming Environment in Conjunction with External Flash Writer
476
Communication System
477
Figure 15-2: Flash Writer Communication Via CSI0
477
Figure 15-3: Flash Writer Communication Via UART
478
Flash Programming Circuitry
479
Figure 15-4: Minimal Circuitry for Flash Programming
479
Pin Handling
480
VPP Pin
480
Figure 15-5: Pin Handling of V
480
Serial Interface Pins
481
Figure 15-6: Conflict between Flash Writer and Other Output Pin
481
Table 15-1: Serial Interface Pins
481
Figure 15-7: Malfunction of Other Input Pins
482
RESET Pin
483
NMI Pin
483
Flash Memory Programming Mode
483
Port Pins
483
Other Signal Pins
483
Power Supply
483
Figure 15-8: Conflict between Flash Writer Reset Line and Reset Signal Generation Circuit
483
Programming Method
484
Flash Memory Control
484
Selection of Communication Mode
484
Figure 15-9: Flow Chart of Flash Memory Manipulation
484
Table 15-2: List of Communication Systems
484
Table C-1: Revision History
495
Advertisement
Advertisement
Related Products
Renesas V850ES/JE3-E
Renesas V850ES/JE3-L
Renesas V850ES/JC3-L
RENESAS V850ES/JF3-L
Renesas V850ES/F 3-L Series
Renesas V850ES/FE3-L uPD70F3611
Renesas V850ES/FF3-L uPD70F3616
Renesas V850ES/FG3-L uPD70F3621
Renesas V850ES/FE3-L uPD70F3612
Renesas V850ES/FF3-L uPD70F3617
Renesas Categories
Computer Hardware
Motherboard
Microcontrollers
Adapter
Switch
More Renesas Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL