PWM Generator Register mapΒΆ

This register map reports the registers for the first PWM chain only, the onsed for second and any subsequent ones repeat all but the PWM_GEN_CTRL register with progressively increasing offsets

Register Name

Register offset

Field name

Field position

Description

PWM_GEN_CTRL

0x0

timebase_setting

2:0

Clock prescaler setting for the timebase generator

timebase_enable

3

Enable the internal timebase generator

timebase_external_enable

4

Select the external timebase input for the counters

counter_run

5

Start counters for all PWM chains in this modulator in a synchronous fashon

soft_stop

6

Stop all the PWM chains at the next counter reload

sync

7

Reset counter value asynchronously (Issue this command multiple independent PWM generators to synchronize their carriers)

COMPARE_LOW_A

0x4

compare_value

15:0

PWM comparator low threshold for chain 0 output A

COMPARE_LOW_B

0x8

compare_value

15:0

PWM comparator low threshold for chain 0 output B

COMPARE_LOW_C

0xC

compare_value

15:0

PWM comparator low threshold for chain 0 output C

COMPARE_HIGH_A

0x10

compare_value

15:0

PWM comparator high threshold for chain 0 output A

COMPARE_HIGH_B

0x14

compare_value

15:0

PWM comparator high threshold for chain 0 output B

COMPARE_HIGH_C

0x18

compare_value

15:0

PWM comparator high threshold for chain 0 output C

DEADTIME_A

0x1C

deadtime_value

15:0

Automatically inserted deadtime for chain 0 output A

DEADTIME_B

0x20

deadtime_value

15:0

Automatically inserted deadtime for chain 0 output B

DEADTIME_C

0x24

deadtime_value

15:0

Automatically inserted deadtime for chain 0 output C

COUNTER LIMIT LOW

0x28

counter_limit_value

15:0

Lowest value allowed for chain 0 counter

COUNTER LIMIT HIGH

0x2C

counter_limit_value

15:0

Highest value allowed to chain 0 counter

COUNTER_PHASE_SHIFT

0x30

phase_shift_value

15:0

Phase shift of chain 0 counter with respect to the others (added upon counter start, not modifiable when the counter is running)

OUTPUT_ENABLE

0x34

output_AP

0

Enable output A+

output_AN

1

Enable output A-

output_BP

2

Enable output B+

output_BN

3

Enable output B-

output_CP

4

Enable output C+

output_CN

5

Enable output C-

DEADTIME_ENABLE

0x38

deadtime_A

0

Enable automatic deadtime insertion for output pair A

deadtime_B

1

Enable automatic deadtime insertion for output pair B

deadtime_C

2

Enable automatic deadtime insertion for output pair A

COUNTER_MODE

0x3C

counter_mode

2:0

Mode of this chain counter