Download Print this page

Renesas M16C/50 Series User Manual page 16

Advertisement

17. Three-Phase Motor Control Timer Function ......................................... 304
17.1
Introduction ............................................................................................................................... 304
17.2
Registers................................................................................................................................... 308
17.2.1
Timer B2 Register (TB2) .................................................................................................. 309
17.2.2
Timer Ai, Ai-1 Register (TAi, TAi1) (i = 1, 2, 4) ................................................................. 309
17.2.3
Three-Phase PWM Control Register 0 (INVC0) .............................................................. 310
17.2.4
Three-Phase PWM Control Register 1 (INVC1) .............................................................. 312
17.2.5
Three-Phase Output Buffer Register i (IDBi) (i = 0, 1) ..................................................... 314
17.2.6
Dead Time Timer (DTT) ................................................................................................... 314
17.2.7
Timer B2 Interrupt Generation Frequency Set Counter (ICTB2) ..................................... 315
17.2.8
Timer B2 Special Mode Register (TB2SC) ...................................................................... 316
17.2.9
Position-Data-Retain Function Control Register (PDRF) ................................................ 317
17.2.10
Port Function Control Register (PFCR) ........................................................................... 318
17.2.11
Three-Phase Protect Control Register (TPRC) ............................................................... 318
17.3
Operations ................................................................................................................................ 319
17.3.1
Common Operations in Multiple Modes .......................................................................... 319
17.3.2
Triangular Wave Modulation Three-Phase Mode 0 ......................................................... 325
17.3.3
Triangular Wave Modulation Three-Phase Mode 1 ......................................................... 330
17.3.4
Sawtooth Wave Modulation Mode ................................................................................... 337
17.4
Interrupts................................................................................................................................... 342
17.4.1
Timer B2 Interrupt ............................................................................................................ 342
17.4.2
Timer A1, A2, and A4 Interrupts ...................................................................................... 342
17.5
Notes on Three-Phase Motor Control Timer Function .............................................................. 343
17.5.1
Timer A and Timer B ........................................................................................................ 343
Influence of SD ................................................................................................................ 343
17.5.2
18. Timer S ................................................................................................. 344
18.1
Introduction ............................................................................................................................... 344
18.2
Registers................................................................................................................................... 348
18.2.1
Time Measurement Register j (G1TMj) (j = 0 to 7) .......................................................... 350
18.2.2
Waveform Generation Register j (G1POj) (j = 0 to 7) ...................................................... 351
18.2.3
Waveform Generation Control Register j (G1POCRj) (j = 0 to 7) .................................... 352
18.2.4
Time Measurement Control Register j (G1TMCRj) (j = 0 to 7) ........................................ 354
18.2.5
Base Timer Register (G1BT) ........................................................................................... 356
18.2.6
Base Timer Control Register 0 (G1BCR0) ....................................................................... 357
18.2.7
Base Timer Control Register 1 (G1BCR1) ....................................................................... 358
18.2.8
Time Measurement Prescaler Register j (G1TPRj) (j = 6 and 7) ..................................... 359
18.2.9
Function Enable Register (G1FE) ................................................................................... 359
18.2.10
Function Select Register (G1FS) ..................................................................................... 360
18.2.11
Base Timer Reset Register (G1BTRR) ............................................................................ 361
18.2.12
Count Source Divide Register (G1DV) ............................................................................ 361
A- 9

Advertisement

loading