Infineon /XMC4700 /DSD /CGCFG

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CGCFG

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (value1)CGMOD 0 (value1)BREV 0 (value1)SIGPOL 0 (value1)DIVCG0 (value1)RUN 0BITCOUNT0STEPCOUNT 0 (value1)STEPS 0 (value1)STEPD 0 (value1)SGNCG

BREV=value1, DIVCG=value1, SGNCG=value1, CGMOD=value1, RUN=value1, STEPD=value1, STEPS=value1, SIGPOL=value1

Description

Carrier Generator Configuration Register

Fields

CGMOD

Carrier Generator Operating Mode

0 (value1): Stopped

1 (value2): Square wave

2 (value3): Triangle

3 (value4): Sine wave

BREV

Bit-Reverse PWM Generation

0 (value1): Normal mode

1 (value2): Bit-reverse mode

SIGPOL

Signal Polarity

0 (value1): Normal: carrier signal begins with +1

1 (value2): Inverted: carrier signal begins with -1

DIVCG

Divider Factor for the PWM Pattern Signal Generator

0 (value1): fCG = fCLK / 2

1 (value2): fCG = fCLK / 4

2 (value3): fCG = fCLK / 6

15 (value4): fCG = fCLK / 32

RUN

Run Indicator

0 (value1): Stopped (cleared at the end of a period)

1 (value2): Running

BITCOUNT

Bit Counter

STEPCOUNT

Step Counter

STEPS

Step Counter Sign

0 (value1): Step counter value is positive

1 (value2): Step counter value is negative

STEPD

Step Counter Direction

0 (value1): Step counter is counting up

1 (value2): Step counter is counting down

SGNCG

Sign Signal from Carrier Generator

0 (value1): Positive values

1 (value2): Negative values

Links

()