
Contents
UM0404
DocID13284 Rev 2
Mode 0: standard PWM generation (edge aligned PWM) . . . . . . . . . . 347
Mode 1: symmetrical PWM generation (center aligned PWM) . . . . . . 348
PWM module registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
Interrupt request generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
XBUS pulse width modulation module . . . . . . . . . . . . . . . . . . . . . . . . 357
Mode 0: standard PWM generation (edge aligned PWM) . . . . . . . . . . 359
Mode 1: symmetrical PWM generation (center aligned PWM) . . . . . . 360
XPWM module registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Interrupt request generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
Analog / digital converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
Mode selection and operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
Fixed channel conversion modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
Auto scan conversion modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Wait for ADDAT read mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Channel injection mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
ADC power off (ADOFF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
A/D converter interrupt control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
A/D conversion accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
Total unadjusted error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
Analog reference pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
Example of external network sizing . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
C interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392