| Electronic Components Datasheet Search |
|
R5F3640MNFB Datasheet(PDF) 188 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R5F3640MNFB Datasheet(HTML) 188 Page - Renesas Technology Corp |
|
188 / 398 page ![]() REJ09B0392-0064 Rev.0.64 Oct 12, 2007 Page 167 of 373 Under development Preliminary Specification Specification in this preliminary version is subject to change. M16C/64 Group 16. Three-Phase Motor Control Timer Function Figure 16.2 INVC0 Register b7 b6 b5 b4 b1 b2 b3 Three-Phase PWM Control Register 0 (1) Symbol INVC0 Address 0308h Bit Symbol Bit Name RW INV00 After Reset 00h RW b0 Function Interrupt enable output polarity select bit INV01 RW RW 0 : ICTB2 counter is decremented by one when Timer B2 underflows 1 : Selected by the INV00 bit (3) Interrupt enable output specification bit (2) 0 : The ICTB2 counter is decrementedby one onthe risingedgeof Timer A1reloadcontrol signal 1 : The ICTB2 counter is decrementedby one onthe fallingedgeof Timer A1reloadcontrol signal (3) INV02 Mode select bit (4) 0 : No three-phase control timer functions 1 : Three-phase control timer function (5) INV03 Output control bit (6) 0 : Disables three-phase control timer output (5) 1 : Enables three-phase control timer output Modulation mode select bit (8) 0 : Triangular wave modulation mode 1 : Sawtooth wave modulation mode (9) INV06 RW RW RW INV04 Positive-and negative- phases concurrent active disable function bit 0 : Enables concurrent active output 1 : Disables concurrent active output INV05 Positive-and negative- phases concurrent active output detect flag 0 : Not detected 1 : Detected (7) RW NOTES : 1. Set the INVC0 register after the PRC1 bit in the PRCR register is set to 1 (write enabled). Rewrite bits INV00 to INV02 and INV06 when Timers A1, A2, A4 and B2 stop. 2. Set the INV01 bit to 1 after setting the ICTB2 register 3. Bits INV00 and INV01 are enabled only when the INV11 bit is set to 1 (three-phase mode 1). The ICTB2 counter is decremented by one every time Timer B2 underflows, regardless of INV00 and INV01 bit settings, when the INV11 bit is set to 0 (three-phase mode). When setting the INV01 bit to 1, set Timer A1 count start flag to 1 before the first Timer B2 underflow. When the INV00 bit is set to 1, the first interrupt is generated when Timer B2 underflows n-1 times, if n is the value set in the ICTB2 counter. Subsequent interrupts are generated every n times Timer B2 underflows. 4. Set the INV02 bit to 1 to operate the dead time timer, U-, V-and W-phase output control circuits and ICTB2 counter. 5. When the INVC03 bit is set to 1, the pins applied to U/V/W output three-phase PWM. Pins U, U, V, V, W and W, including pins shared with other output functions, are all placed in high-impedance states when the following conditions are all met. • The INV02 bit is set to 1 (three-phase motor control timer function) • The INV03 bit is set to 0 (three-phase motor control timer output disabled) • Direction registers of each port are set to 0 (input mode) 6. The INV03 bit is set to 0 when the followings conditions are all met. • Reset • A concurrent active state occurs while the INV04 bit is set to 1 • The INV03 bit is set to 0 by program • A signal applied to the SD pin changes “H” to “L” When both bits INVC04 and INVC05 are set to 1, the INVC03 bit is set to 0. 7. The INV05 bit can not be set to 1 by program. Set the INV04 bit to 0 as well when setting the INV05 bit to 0. 8. The following table describes how the INV06 bit works. Software trigger select bit Transfer trigger is generated when the INV07 bit is set to 1. Trigger to the dead time timer is also generated when setting the INV06 bit to 1. Read as 0. INV07 RW Transfer trigger : Timer B2 underflows and write to the INV07 bit, or write to the TB2 register when INV10 = 1 9. When the INV06 bit is set to 1, set the INV11 bit to 0 (three-phase mode 0) and the PWCON bit in the TB2SC register to 0 (reload Timer B2 with Timer B2 underflow). Timing to transfer from registers IDB0 and IDB1 to three-phase output shift register Timing to trigger the dead time timer when the INV16 bit = 0 Mode Item Transferred once by generating a transfer trigger after setting registers IDB0 and IDB1 INV06 = 0 Triangular wave modulation mode On the falling edge of a one-shot pulse of the timer A1, A2, or A4 Transferred every time a transfer trigger is generated INV06 = 1 Sawtooth wave modulation mode On the falling edge of a one-shot pulse of the timer A1, A2, or A4, and transfer a trigger INV13 bit Enabled when the INV11 bit = 1 and the INV06 bit = 0 Disabled |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |