| Electronic Components Datasheet Search |
|
ATmega16U4 Datasheet(PDF) 146 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATmega16U4 Datasheet(HTML) 146 Page - ATMEL Corporation |
|
146 / 408 page ![]() 146 7766D–AVR–01/09 ATmega16U4/ATmega32U4 15.5 Dead Time Generator The Dead Time Generator is provided for the Timer/Counter4 PWM output pairs to allow driving external power control switches safely. The Dead Time Generator is a separate block that can be used to insert dead times (non-overlapping times) for the Timer/Counter4 complementary output pairs OC4x and OC4x when the PWM mode is enabled and the COM4x1:0 bits are set to “01”. The sharing of tasks is as follows: the Waveform Generator generates the Waveform Out- put (OCW4x) and the Dead Time Generator generates the non-overlapping PWM output pair from the Waveform Output. Three Dead Time Generators are provided, one for each PWM out- put. The non-overlap time is adjustable and the PWM output and it’s complementary output are adjusted separately, and independently for both PWM outputs. Figure 15-6. Output Compare Unit, Block Diagram The Dead Time Generation is based on the 4-bit down counters that count the dead time, as shown in Figure 15-7. There is a dedicated prescaler in front of the Dead Time Generator that can divide the Timer/Counter4 clock (PCK or CK) by 1, 2, 4 or 8. This provides for large range of dead times that can be generated. The prescaler is controlled by two control bits DTPS41..40. The block has also a rising and falling edge detector that is used to start the dead time counting period. Depending on the edge, one of the transitions on the rising edges, OC4x or OC4x is delayed until the counter has counted to zero. The comparator is used to compare the counter with zero and stop the dead time insertion when zero has been reached. The counter is loaded with a 4-bit DT4H or DT4L value from DT4 I/O register, depending on the edge of the Waveform Output (OCW4x) when the dead time insertion is started. The Output Compare Output are delayed by one timer clock cycle at minimum from the Waveform Output when the Dead Time is adjusted to zero. The outputs OC4x and OC4x are inverted, if the PWM Inversion Mode bit PWM4X is set. This will also cause both outputs to be high during the dead time. Figure 15-7. Dead Time Generator OCnx pin WGMn0 Waveform Generator top FOCn COMnx bottom PWMnx OCWnx Dead Time Generator OCnx pin DTnH DTnL DTPSn CK OR PCK CLOCK OCnx OCnx CLOCK CONTROL OCnx OCnx CK OR PCK CLOCK OCWnx 4-BIT COUNTER COMPARATOR DEAD TIME PRE-SCALER DTn I/O REGISTER DATA BUS (8-bit) TCCRnB REGISTER PWMnX PWMnX |
|
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 |