
iv sTable of Contents PK2300
Resistance Measurement Input (RMI) ............................................ 45
How to Use the Resistance Measurement Input ........................... 46
RMI Theory of Operation ............................................................. 49
Serial Communication.......................................................................... 50
RS-232 Communication .................................................................. 50
RS-232 Connector Pinouts .............................................................. 50
RS-485 Communication Network ........................................................ 51
Termination and Bias Resistors ....................................................... 52
Additional Features .............................................................................. 54
PWM Outputs ................................................................................. 54
How to Use the PWM Feature ...................................................... 54
User-Programmable LEDs .............................................................. 58
Memory ........................................................................................... 58
Real-Time Clock (RTC) .................................................................. 59
Power Supervisor ............................................................................ 60
Resetting the Processor ................................................................... 61
PK2300 Subsystems ............................................................................ 62
Chapter 5: Software Reference 63
Supplied Software ................................................................................ 64
Digital Inputs/Outputs ..................................................................... 65
Level-Sensitive Interrupts ............................................................... 68
Interrupt Service Routines (ISR) ..................................................... 69
Resistance Measurement Input........................................................ 70
PWM Outputs ...................................................................................... 72
Additional Software Feature References ......................................... 74
Advanced Input/Output Programming ................................................. 75
Digital Input Addressing Detail ...................................................... 76
Digital Output Addressing Detail .................................................... 77
LED Addressing Detail ................................................................... 78
RS-485 Driver IC Addressing Detail .............................................. 78
Resistance Measurement Input Addressing Detail .......................... 79
PWM Addressing Detail ................................................................. 81
PWM Advanced Programming Functions ....................................... 86
Appendix A: Troubleshooting 89
Out of the Box...................................................................................... 90
Dynamic C Will Not Start .................................................................... 91
Dynamic C Loses Serial Link .............................................................. 91
PK2300 Repeatedly Resets .................................................................. 91
Common Programming Errors ............................................................. 91