16.4.50 Auxiliary PWM Generator x Control Register

Note:
  1. This bit(s) cannot be modified while PGxCON.ON = 1.
  2. Caution should be exercised when modifying this bit(s) while PGxCON.ON = 1; unexpected results may occur.
Name: APGxCON
Offset: 0x1438, 0x14AC, 0x1520, 0x1594

Bit 3130292827262524 
 MDCSELMPERSELMPHSEL MSTENUPDMOD[2:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 
Bit 2322212019181716 
 TRGMOD[1:0]  SOCS[3:0] 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 15141312111098 
 ON    TRGCNT[2:0] 
Access R/WR/WR/WR/W 
Reset 0000 
Bit 76543210 
    CLKSEL[1:0]MODSEL[2:0] 
Access R/WR/WR/WR/WR/W 
Reset 00000 

Bit 31 – MDCSEL  Master Duty Cycle Register Select bit(2)

ValueDescription
1

PWM Generator uses the MDC register.

0

PWM Generator uses the PGxDC register.

Bit 30 – MPERSEL  Master Period Register Select bit(2)

ValueDescription
1

PWM Generator uses the MPER register.

0

PWM Generator uses the PGxPER register.

Bit 29 – MPHSEL  Master Phase Register Select bit (2)

ValueDescription
1

PWM Generator uses the MPHASE register.

0

PWM Generator uses the PGxPHASE register.

Bit 27 – MSTEN  Master Update Enable bit(2)

ValueDescription
1

PWM Generator broadcasts software set of the UPDREQ control bit and EOC signal to other PWM Generators.

0

PWM Generator does not broadcast the UPDREQ status bit state or EOC signal.

Bits 26:24 – UPDMOD[2:0] PWM Buffer Update Mode Selection bits

See Table 16-11 for details.

Bits 23:22 – TRGMOD[1:0]  PWM Generator x Trigger Mode Selection bits(2)

ValueDescription
11 Reserved
10 Reserved
01

PWM Generator operates in Retriggerable mode.

00

PWM Generator operates in Single Trigger mode.

Bits 19:16 – SOCS[3:0]  Start-of-Cycle Selection bits(2)

Note:
  1. The PCI selected Sync signal is always available to be OR’d with the selected SOC signal per the SOCS[3:0] bits if the PCI Sync function is enabled.
  2. The source selected by the SOCS[3:0] bits MUST operate from the same clock source as the local PWM Generator. If not, the source must be routed through the PCI Sync logic so the trigger signal may be synchronized to the PWM Generator clock domain.
  3. PWM Generators are grouped into groups of four: PG1-PG4 and PG5-PG8, if available. Any generator within a group of four may be used to trigger another generator within the same group.
ValueDescription
1111-0101

TRIG bit or PCI Sync function only (no hardware trigger source selected).

0100 PWM4 PG Trigger output selected by PG4 PGTRGSEL[2:0] bits (PG4EVT[2:0]).
0011 PWM3 PG Trigger output selected by PG3 PGTRGSEL[2:0] bits (PG3EVT[2:0]).
0010 PWM2 PG Trigger output selected by PG2 PGTRGSEL[2:0] bits (PG2EVT[2:0]).
0001 PWM1 PG Trigger output selected by PG1 PGTRGSEL[2:0] bits (PG1EVT[2:0]).
0000 Local EOC - PWM Generator is self-triggered.

Bit 15 – ON  PWM Generator x Enable bit(1)

ValueDescription
1

PWM Generator is enabled.

0

PWM Generator is not enabled.

Bits 10:8 – TRGCNT[2:0]  PWM Generator x Trigger Count Select bits(1)

ValueDescription
111

PWM Generator produces 8 PWM cycles after triggered.

110

PWM Generator produces 7 PWM cycles after triggered.

101

PWM Generator produces 6 PWM cycles after triggered.

100

PWM Generator produces 5 PWM cycles after triggered.

011

PWM Generator produces 4 PWM cycles after triggered.

010

PWM Generator produces 3 PWM cycles after triggered.

001

PWM Generator produces 2 PWM cycles after triggered.

000

PWM Generator produces 1 PWM cycle after triggered.

Bits 4:3 – CLKSEL[1:0]  Clock Selection bits(1)

Note:
  1. Do not change the CLKSEL[1:0] bits while ON (PGxCON[15]) = 1.
  2. The PWM Generator time base operates from the frequency scaling circuit clock, effectively scaling the duty cycle and period of the PWM Generator output.
ValueDescription
11

PWM Generator uses the master clock scaled by the frequency scaling circuit(2).

10

PWM Generator uses the master clock divided by the clock divider circuit(2).

01

PWM Generator uses the master clock selected by the MCLKSEL[1:0] (PCLKCON[1:0]) control bits.

00

No clock selected, PWM Generator is in the lowest power state (default).

Bits 2:0 – MODSEL[2:0]  PWM Generator x Mode Selection bits(1)

ValueDescription
111

Dual Edge Center-Aligned PWM mode (interrupt/register update twice per cycle)

110

Dual Edge Center-Aligned PWM mode (interrupt/register update once per cycle)

101

Double Update Center-Aligned PWM mode

100

Center-Aligned PWM mode

011

LLC Resonant Converter Support PWM mode

010

Independent Edge PWM mode, dual output

001

Variable Phase PWM mode

000

Independent Edge PWM mode