| Electronic Components Datasheet Search |
|
PIC16F18323-E/RFQTP Datasheet(PDF) 182 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F18323-E/RFQTP Datasheet(HTML) 182 Page - Microchip Technology |
|
182 / 442 page ![]() PIC16(L)F18313/18323 DS40001799A-page 182 Preliminary 2015 Microchip Technology Inc. 19.3 Clock Source The clock source is used to drive the dead-band timing circuits. The CWG module allows the following clock sources to be selected: • Fosc (system clock) • HFINTOSC (16 MHz only) When the HFINTOSC is selected, the HFINTOSC will be kept running during Sleep. Therefore, CWG modes requiring dead band can operate in Sleep, provided that the CWG data input is also active during Sleep.The clock sources are selected using the CS bit of the CWG1CLKCON register (Register 19-3). 19.4 Selectable Input Sources The CWG generates the output waveforms from the input sources in Table 19-1. The input sources are selected using the DAT<3:0> bits in the CWG1DAT register (Register 19-4). 19.5 Output Control Immediately after the CWG module is enabled, the complementary drive is configured with all output drives cleared. 19.5.1 CWG OUTPUTS Each CWG output can be routed to a Peripheral Pin Select (PPS) output via the RxyPPS register (see Section 12.0 “Peripheral Pin Select (PPS) Module” ). 19.5.2 POLARITY CONTROL The polarity of each CWG output can be selected independently. When the output polarity bit is set, the corresponding output is active-low. Clearing the output polarity bit configures the corresponding output as active-high. However, polarity does not affect the override levels. Output polarity is selected with the POLy bits of the CWG1CON1 register. 19.6 Dead-Band Control Dead-band control provides for non-overlapping output signals to prevent current shoot-through in power switches. The CWG module contains two 6-bit dead- band counters. These counters can be loaded with values that will determine the length of the dead-band initiated on either the rising or falling edges of the input source. Dead-band control is used in either Half-Bridge or Full-Bridge modes. The rising-edge dead-band delay is determined by the rising dead-band count register (Register 19-8, CWG1DBR) and the falling edge dead-band delay is determined by the falling dead-band count register (Register 19-9, CWG1DBF). Dead-band duration is established by counting the CWG clock periods from zero up to the value loaded into either the rising or fall- ing dead-band counter registers. The dead-band counters are incremented on every rising edge of the CWG clock source. 19.6.1 RISING EDGE AND REVERSE DEAD BAND In Half-Bridge mode, the rising edge dead band delays the turn-on of the CWG1A output after the rising edge of the CWG data input. In Full-Bridge mode, the reverse dead-band delay is only inserted when changing directions from Forward mode to Reverse mode, and only the modulated output CWG1B is affected. The CWG1DBR register determines the duration of the dead-band interval on the rising edge of the input source signal. This duration is from 0 to 64 periods of the CWG clock. Dead band is always initiated on the edge of the input source signal. A count of zero indicates that no dead band is present. If the input source signal reverses polarity before the dead-band count is completed, then no signal will be seen on the respective output. The CWG1DBR register value is double-buffered. When EN = 0 (Register 19-1), the buffer is loaded when CWG1DBR is written. If EN = 1, then the buffer will be loaded at the rising edge following the first falling edge of the data input, after the LD bit (Register 19-1) is set. TABLE 19-1: SELECTABLE INPUT SOURCES Source Peripheral Signal Name CWG1PPS CWG PPS input connection C1OUT Comparator 1 output C2OUT(1) Comparator 2 output PWM5 PWM5 output PWM6 PWM6 output NCO1 Numerically Controlled Oscillator (NCO) output CLC1 Configurable Logic Cell 1 output CLC2 Configurable Logic Cell 2 output Note 1: PIC16(L)F18323 only. |
|
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 |