| Electronic Components Datasheet Search |
|
HD6433636SW Datasheet(PDF) 312 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
HD6433636SW Datasheet(HTML) 312 Page - Renesas Technology Corp |
|
312 / 418 page ![]() 298 13.3 Operation When using the 14-bit PWM, register settings should be carried out in the following order: 1. Set PWM in PMR1 to 1 to designate the P1 4/PWM pin as the PWM output pin. 2. Use PWCR0 in PWCR to select either 32,768/ø (PWCR0 = 1) or 16,384/ø (PWCR0 = 0) as the conversion period. 3. Set the output waveform data in PWDRU and PWDRL. Data must be written to PWDRL first, then to PWDRU. When PWDRU is written to, the data is simultaneously latched in the PWM waveform generator, and PWM waveform generation updating is performed in synchronization with an internal signal. As shown in figure 13.2, one conversion period consists of 64 pulses; the total high-level width (T H) during this conversion period corresponds to the data in PWDRU and PWDRL. T H = (PWDRU/PWDRL data value + 64) × tø/2 Here, tø is the PWM input clock cycle: either 2/ø (when PWCR0 = 0) or 4/ø (when PWCR0 = 1). Example: To set a conversion period of 8,192 µs, the following settings are made. When PWCR0 is cleared to 0, one conversion period is 16,384/ø, and therefore ø = 2 MHz. In this case, t fn = 128 µs, and 1/ø (precision) = 0.5 µs. When PWCR0 is set to 1, one conversion period is 32,768/ø, and therefore ø = 4 MHz. In this case, t fn = 128 µs, and 2/ø (precision) = 0.5 µs. Therefore, to set a conversion period of 8,192 µs, a system clock (ø) of 2 MHz or 4 MHz should be used. Conversion period t f1 t f2 t f63 t f64 t H1 t H2 t H3 t H63 t H64 T = t + t + t + t = t = t H H1 H2 H3 H64 ..... t f1 f2 f3 ..... = t f64 Figure 13.2 PWM Output Waveform |
|
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 |