
6PROGRAMMING HINTS .......................................................................................... 47
Data Correction .............................................................................................................................476.1
6.1.1 ADC Correction Formula.....................................................................................................47
6.1.2 DAC Correction Formula.....................................................................................................48
ADC Operating Modes..................................................................................................................486.2
6.2.1 Manual Mode ......................................................................................................................48
6.2.2 Sequencer Mode.................................................................................................................49
6.2.2.1 Sequencer Errors........................................................................................................50
6.2.3 Application Examples..........................................................................................................51
6.2.3.1 Fastest Conversion of an arbitrary Single Channel ....................................................51
6.2.3.2 Fastest Conversion of a specific Single Channel .......................................................51
6.2.3.3 Periodic Conversion of multiple Channels ..................................................................53
6.2.3.4 Continuous Conversion of multiple Channels.............................................................54
DAC Operating Modes..................................................................................................................556.3
6.3.1 Immediate Update...............................................................................................................55
6.3.2 Simultaneous Update..........................................................................................................55
Digital TTL I/O................................................................................................................................566.4
Counter Operating Modes............................................................................................................576.5
6.5.1 Input Modes ........................................................................................................................57
6.5.1.1 Timer Mode.................................................................................................................57
6.5.1.2 Direction Count ...........................................................................................................57
6.5.1.3 Up/Down Count...........................................................................................................57
6.5.1.4 Quadrature Count .......................................................................................................58
6.5.2 Count Modes.......................................................................................................................58
6.5.2.1 Divide-by-N .................................................................................................................58
6.5.2.2 Single Cycle ................................................................................................................58
6.5.3 Control Modes.....................................................................................................................58
6.5.3.1 No Control Mode.........................................................................................................59
6.5.3.2 Load Mode ..................................................................................................................59
6.5.3.3 Latch Mode .................................................................................................................59
6.5.3.4 Gate Mode ..................................................................................................................59
6.5.3.5 Reset Mode.................................................................................................................59
6.5.4 Configuration Examples......................................................................................................59
6.5.4.1 Watchdog Timer..........................................................................................................59
6.5.4.2 Event Counting ...........................................................................................................60
6.5.4.3 Input Pulse Width Measurement.................................................................................60
6.5.4.4 Mechanical System Positioning ..................................................................................60
Interrupts .......................................................................................................................................606.6
6.6.1 Interrupt Sources.................................................................................................................60
7INSTALLATION........................................................................................................ 62
ADC Input Wiring ..........................................................................................................................627.1
DAC Output Wiring .......................................................................................................................637.2
TTL I/O Interface............................................................................................................................637.3
8PIN ASSIGNMENT – I/O CONNECTOR .................................................................. 64
9IMPORTANT NOTES ............................................................................................... 65
Dummy Conversions after Power-up..........................................................................................659.1
Open Multiplexer Inputs ...............................................................................................................659.2
TPMC851 User Manual Issue 1.0.9 Page 5 of 65