
www.ti.com
5
SNIU028A–February 2016–Revised April 2016
Submit Documentation Feedback Copyright © 2016, Texas Instruments Incorporated
Contents
3.7.13 SAR Control Register (SARCTRL)........................................................................... 138
3.7.14 SAR Timing Register (SARTIMING) ......................................................................... 139
3.7.15 EADC Value Register (EADCVALUE) ....................................................................... 140
3.7.16 EADC Raw Value Register (EADCRAWVALUE)........................................................... 141
3.7.17 DAC Status Register (DACSTAT)............................................................................ 142
4 Filter ............................................................................................................................... 143
4.1 Filter Math Details ........................................................................................................ 144
4.1.1 Filter Input and Branch Calculations .......................................................................... 144
4.1.2 Proportional Branch ............................................................................................. 145
4.1.3 Integral Branch................................................................................................... 145
4.1.4 Differential Branch............................................................................................... 145
4.1.5 Add, Saturate, Scale and Clamp .............................................................................. 146
4.1.6 Filter Output Stage............................................................................................... 147
4.2 Filter Status Register..................................................................................................... 148
4.3 Filter Control Register.................................................................................................... 148
4.3.1 Filter Enable...................................................................................................... 149
4.3.2 Use CPU Sample................................................................................................ 149
4.3.3 Force Start........................................................................................................ 149
4.3.4 Kp Off, Kd Off, Ki Off............................................................................................ 149
4.3.5 Kd Stall, Ki Stall.................................................................................................. 149
4.3.6 Nonlinear Mode .................................................................................................. 149
4.3.7 Output Scaling.................................................................................................... 149
4.3.8 Output Multiplier Select ......................................................................................... 150
4.3.9 Switching Period as Output Multiplier......................................................................... 150
4.3.10 KComp as Output Multiplier................................................................................... 151
4.3.11 Feed Forward as Output Multiplier ........................................................................... 151
4.3.12 Period Multiplier Select ........................................................................................ 151
4.3.13 Ki Adder Mode .................................................................................................. 151
4.4 XN, YN Read and Write Registers ..................................................................................... 152
4.4.1 CPU Xn Register................................................................................................. 152
4.4.2 Filter XN Read Register......................................................................................... 152
4.4.3 Filter YN Read Registers ....................................................................................... 152
4.5 Coefficient Configuration Register...................................................................................... 153
4.6 Kp, Ki, and Kd Registers................................................................................................. 155
4.7 Alpha Registers ........................................................................................................... 155
4.8 Filter Nonlinear Limit Registers ......................................................................................... 155
4.9 Clamp Registers .......................................................................................................... 156
4.10 Filter Preset Register..................................................................................................... 156
4.11 Filter Registers Reference............................................................................................... 156
4.11.1 Filter Status Register (FILTERSTATUS) .................................................................... 156
4.11.2 Filter Control Register (FILTERCTRL)....................................................................... 158
4.11.3 CPU XN Register (CPUXN)................................................................................... 160
4.11.4 Filter XN Read Register (FILTERXNREAD) ................................................................ 161
4.11.5 Filter KI_YN Read Register (FILTERKIYNREAD).......................................................... 162
4.11.6 Filter KD_YN Read Register (FILTERKDYNREAD) ....................................................... 163
4.11.7 Filter YN Read Register (FILTERYNREAD) ................................................................ 164
4.11.8 Coefficient Configuration Register (COEFCONFIG) ....................................................... 165
4.11.9 Filter KP Coefficient 0 Register (FILTERKPCOEF0)....................................................... 168
4.11.10 Filter KP Coefficient 1 Register (FILTERKPCOEF1)..................................................... 169
4.11.11 Filter KI Coefficient 0 Register (FILTERKICOEF0) ...................................................... 170
4.11.12 Filter KI Coefficient 1 Register (FILTERKICOEF1) ....................................................... 171
4.11.13 Filter KD Coefficient 0 Register (FILTERKDCOEF0)..................................................... 172
4.11.14 Filter KD Coefficient 1 Register (FILTERKDCOEF1)..................................................... 173