iv s Table of Contents BL1400
RS-485 Communication .............................................................. 3-12
Developing an RS-485 Network ............................................... 3-12
Hardware Connection ............................................................... 3-13
Regulator.......................................................................................... 3-14
Supervisor ........................................................................................ 3-14
Real-Time Clock (RTC) ................................................................... 3-15
555 Timer ......................................................................................... 3-16
Using Thermistors ....................................................................... 3-18
Memory ............................................................................................ 3-19
Direct Programming of the Serial Ports ........................................... 3-20
Attainable Baud Rates................................................................. 3-21
Z180 Serial Ports ...................................................................... 3-21
Asynchronous Serial Communication Interface............................... 3-23
ASCI Status Registers ................................................................. 3-23
ASCI Control Register A ............................................................ 3-25
ASCI Control Register B ............................................................ 3-26
SS (Source/Speed Select) ......................................................... 3-26
DR (Divide Ratio) .................................................................... 3-26
PEO (Parity Even/Odd) ............................................................ 3-26
CTS/PS (Clear to Send/Prescaler) .......................................... 3-26
MP (Multiprocessor Mode) ...................................................... 3-27
MPBT (Multiprocessor Bit Transmit) ...................................... 3-27
Software Reference 4-1
Software Development Options ......................................................... 4-2
Dynamic C Development Software ............................................... 4-2
Dynamic C Manuals ...................................................................... 4-2
Programmable Input/Output .............................................................. 4-3
PIO Ports A and B ......................................................................... 4-3
Shadow Registers........................................................................ 4-3
Function Prototypes .................................................................... 4-4
Real-Time Clock Integrated Circuit ................................................... 4-5
Global Time and Date Structure .................................................... 4-5
555 Timer ........................................................................................... 4-6
Flash EPROM .................................................................................... 4-7
Serial Communication Software ........................................................ 4-8
Interrupt Handling for Z180 Port 0 ............................................... 4-8
RS-232 Software Support ........................................................... 4-9
XMODEM Commands ............................................................... 4-11
Miscellaneous Functions .......................................................... 4-12
Master-Slave Networking ........................................................... 4-14
Miscellaneous Functions .......................................................... 4-15