Download 80C186EC/80C188EC Microprocessor User`s Manual
Transcript
MATH COPROCESSING 14.4.1 Clocking the 80C187 The microprocessor and math coprocessor operate asynchronously, and their clock rates may differ. The 80C187 has a CKM pin that determines whether it uses the input clock directly or divided by two. Direct clocking works up to 12.5 MHz, which makes it convenient to feed the clock input from the microprocessor’s CLKOUT pin. Beyond 12.5 MHz, the 80C187 must use a multiplyby-two clock input up to a maximum of 32 MHz. The microprocessor and the math coprocessor have correct timing relationships, even with operation at different frequencies. 14.4.2 Processor Bus Cycles Accessing the 80C187 Data transfers between the microprocessor and the 80C187 occur through the dedicated, 16-bit I/O ports shown in Table 14-7. When the processor encounters a numerics opcode, it first writes the opcode to the 80C187. The 80C187 decodes the instruction and passes elementary instruction information (Opcode Status Word) back to the processor. Since the 80C187 is a slave processor, the Modular Core processor performs all loads and stores to memory. Including the overhead in the microprocessor’s microcode, each data transfer between memory and the 80C187 (via the microprocessor) takes at least 17 processor clocks. Table 14-7. 80C187 I/O Port Assignments I/O Address Read Definition Write Definition 00F8H Status/Control Opcode 00FAH Data Data 00FCH Reserved CS:IP, DS:EA 00FEH Opcode Status Reserved The microprocessor cannot process any numerics (ESC) opcodes alone. If the CPU encounters a numerics opcode when the Escape Trap (ET) bit in the Relocation Register is a zero and the 80C187 is not present, its operation is indeterminate. Even the FINIT/FNINIT initialization instruction (used in the past to test the presence of a coprocessor) fails without the 80C187. If an application offers the 80C187 as an option, problems can be prevented in one of three ways: • Remove all numerics (ESC) instructions, including code that checks for the presence of the 80C187. • Use a jumper or switch setting to indicate the presence of the 80C187. The program can interrogate the jumper or switch setting and branch away from numerics instructions when the 80C187 socket is empty. • Trick the microprocessor into predictable operation when the 80C187 socket is empty. The fix is placing pull-up or pull-down resistors on certain data and handshaking lines so the CPU reads a recognizable Opcode Status Word. This solution requires a detailed knowledge of the interface. 14-10
Related documents
80C186EB/80C188EB Microprocessor User`s Manual
Hynix HMS9xC7132, HMS9xC7134 User`s Manual
80C186XL/80C188XL Microprocessor User`s Manual
Engineering 4862 MICROPROCESSORS
Dyn-Loc IV User Manual
User`s Manual
Forensis 32S41F 42S41F 共用英文说明书(T9E大板 亚洲6A608方案)
E486-33/50IC E486DX2-50IC System Board User`s Manual
User Manual
Ethernet Data Acquisition Systems Ethernet/Serial Interface EDAS
SIMADYN D Digital Control System SS52 Interface Module
Compaq Deskpro EX and Deskpro EXS Series of Personal