background image

0 = CT_GATE0 (default)

1 = CT_GATE1

CLK0_INV

=

Counter #0 clock input polarity:

0 = clock input non-inverted (default)

1 = clock input inverted

CLK0[2:0]

=

Counter #0 clock input selection:

000 = CT_IN0 (default)

001 = CT_IN1

010 = CT_OUT2

011 = IRQ_IN2

100 = 4 MHz oscillator

101 = 10 MHz oscillator

110 = 20 MHz oscillator

111 = 40 MHz oscillator

8.10

 Counter/Timer I/O Connector J13 

Counter/Timer connector J13:

Name

Direction

CT_CLK0

Input to Tracer Board

CT_GATE0

Input to Tracer Board

CT_OUT0

Output from Tracer Board

CT_CLK1

Input to Tracer Board

CT_GATE1

Input to Tracer Board

CT_OUT1

Output from Tracer Board

CT_CLK2

Input to Tracer Board

CT_GATE2

Input to Tracer Board

CT_OUT2

Output from Tracer Board

8.10 Counter/Timer I/O Connector J13

Tracer Reference Manual

Friday, June 08, 2018

21

8

Summary of Contents for Tracer

Page 1: ......

Page 2: ...line DIO and counter timer module Apex Embedded Systems LLC 116 Owen Road Monona WI 53716 Phone 608 256 0767 www apexembeddedsystems com customer service apexembeddedsystems com Copyright Notice Copyright 2003 2018 by Apex Embedded Systems LLC All rights reserved ...

Page 3: ... Base Address and Configuration 9 Base Address Table 10 Register Set 12 Summary 12 8255 Device 1 Registers 12 Digital I O Connector J12 8255 1 14 External IRQ Source 0 IRQ_IN0 J5 15 8255 Device 2 Registers 15 Digital I O Connector J9 8255 2 17 External IRQ Source 1 IRQ_IN1 J7 18 8254 Counter Timer Registers 18 Counter Timer Setup Registers 19 Tracer Reference Manual Friday June 08 2018 iii ...

Page 4: ...on Register 22 Connector Summary 24 Specification 28 TRACER DIO 3 3VIO 29 TRACER DIO 5VIO 29 Valid Part Numbers 30 Revision Information 31 Application Notes 32 Quadrature Decoder 32 Limited Warranty 33 Index a Tracer Reference Manual iv Friday June 08 2018 ...

Page 5: ...r products and services Apex Embedded Systems Continuous improvement policy utilizes customer feedback to improve existing products and create new product offerings based on needs of our customers Continued Success Apex Embedded Systems LLC 1 Tracer Reference Manual Friday June 08 2018 1 1 ...

Page 6: ...oes not apply to products which have been subject to misuse including static discharge neglect accident or modification or which have been soldered or altered during assembly and are not capable of being tested DO NOT USE PRODUCTS SOLD BY APEX EMBEDDED SYSTEMS AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS Products sold by Apex Embedded Systems are not authorized for use as critical com...

Page 7: ... All that is required is a 50 pin ribbon cable from the Tracer to any of the OPTO 22 racks High current capacity sinking 32mA on each digital output Broad selection of interrupt sources and software configurable On board LED to indicate general status and useful for system debugging A wide variety of signals can be routed to the LED via software selection 8254 Counter Timer operation to 40 MHz Cou...

Page 8: ...3 2 Photo Tracer Reference Manual 3 3 Tracer Block Diagram 4 Friday June 08 2018 3 ...

Page 9: ...3 3 Tracer Block Diagram 3 3 Tracer Block Diagram Tracer Reference Manual Friday June 08 2018 5 3 ...

Page 10: ...4 Errata Addresses known board related issues and includes methods to work around the issues Description none end Tracer Reference Manual 4 6 Friday June 08 2018 4 ...

Page 11: ... board Before handling any board discharge static electricity from yourself by touching a grounded conductor such as your computer chassis your computer must be turned off Whenever you handle a board hold it by the edges and avoid touching any board components or cable connectors 5 Tracer Reference Manual Friday June 08 2018 7 5 ...

Page 12: ... step will prevent permanent board damage Helpful hint During system prototyping install the spacers to help guide installation and provide another means of checking board alignment We recommend having the bolt end of the spacer facing up to act as a guide or alignment pin Tracer Reference Manual 6 8 Friday June 08 2018 6 ...

Page 13: ...Address Base Address 768 or 0x300 11 0000 00002 Mode M3 M2 M1 M0 Normal Legacy 0 0 0 0 J12 9 replaces J13 2 J12 9 will now be CT_CLK1 0 1 0 0 Note 1 Jumper installed 0 Jumper not installed Factory Default 7 2 Base Address Table Tracer Reference Manual Friday June 08 2018 9 7 ...

Page 14: ...0x2C0 1 0 1 1 0 0 0x2D0 1 0 1 1 0 1 0x2E0 1 0 1 1 1 0 0x2F0 1 0 1 1 1 1 0x300 1 1 0 0 0 0 0x310 1 1 0 0 0 1 0x320 1 1 0 0 1 0 0x330 1 1 0 0 1 1 0x340 1 1 0 1 0 0 0x350 1 1 0 1 0 1 0x360 1 1 0 1 1 0 0x370 1 1 0 1 1 1 0x380 1 1 1 0 0 0 0x390 1 1 1 0 0 1 0x3A0 1 1 1 0 1 0 0x3B0 1 1 1 0 1 1 0x3C0 1 1 1 1 0 0 0x3D0 1 1 1 1 0 1 0x3E0 1 1 1 1 1 0 0x3F0 1 1 1 1 1 1 Notes 1 Jumper installed 0 Jumper not in...

Page 15: ...ded jumper settings for high vibration requirements Resistors are soldered to the board in place of jumpers to insure successful operation in high vibration conditions 7 2 Base Address Table Tracer Reference Manual Friday June 08 2018 11 7 ...

Page 16: ...ounter Timer 1 Data see page 18 Read Write 9 8254 Counter Timer 2 Data see page 18 Read Write 10 8254 Counter Timer Mode Configuration Register see page 18 Write 11 8254 Counter Timer Input Setup Low Byte Register see page 19 Read Write 12 8254 Counter Timer Input Setup High Byte Register see page 19 Read Write 13 General Setup Low Byte Register see page 22 Read Write 14 General Setup High Byte Re...

Page 17: ... J12 25 J12 27 J12 29 J12 31 Base 3 8255 Device 1 Configuration Register Write D7 D6 D5 D4 D3 D2 D1 D0 Group A Group A Group A Group A Group B Group B Group B Mode Set M3 M2 A CH M1 B CL 8255 Configuration codes valid for the Tracer Only Mode 0 is supported Port Direction A Port Direction CH Port Direction CL Port Direction B Hex Value Decimal Value IN IN IN IN 0x9B 155 IN IN IN OUT 0x99 153 IN OU...

Page 18: ...8 3 Digital I O Connector J12 8255 1 J12 Tracer Reference Manual 8 4 External IRQ Source 0 IRQ_IN0 J5 14 Friday June 08 2018 8 ...

Page 19: ...2 Both bit names and associated connector placement are shown where applicable i e ref pin Base 4 8255 Device 2 Port A Register Read Write D7 D6 D5 D4 D3 D2 D1 D0 2A7 2A6 2A5 2A4 2A3 2A2 2A1 2A0 Associated Connector Pins J9 1 J9 3 J9 5 J9 7 J9 9 J9 11 J9 13 J9 15 Base 5 8255 Device 2 Port B Register Read Write D7 D6 D5 D4 D3 D2 D1 D0 2B7 2B6 2B5 2B4 2B3 2B2 2B1 2B0 Associated Connector Pins J9 33 ...

Page 20: ...Group B Group B Group B Mode Set M3 M2 A CH M1 B CL 8255 Configuration codes valid for the Tracer Only Mode 0 is supported Port Direction A Port Direction CH Port Direction CL Port Direction B Hex Value Decimal Value IN IN IN IN 0x9B 155 IN IN IN OUT 0x99 153 IN OUT OUT IN 0x92 146 IN OUT OUT OUT 0x90 144 OUT IN IN IN 0x8B 139 OUT IN IN OUT 0x89 137 OUT OUT OUT IN 0x82 130 OUT OUT OUT OUT 0x80 128...

Page 21: ...8 6 Digital I O Connector J9 8255 2 J9 8 7 External IRQ Source 1 IRQ_IN1 J7 Tracer Reference Manual Friday June 08 2018 17 8 ...

Page 22: ... 8254 Counter Timer Registers Data registers to from the each of the three counter timers Base 8 8254 Counter Timer 0 Data Read Write D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 Base 9 8254 Counter Timer 1 Data Read Write D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 Base 10 8254 Counter Timer 2 Data Read Write D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 Tracer Reference Manual 8 8 8254 ...

Page 23: ...latch command 01 Read Write least significant byte only 10 Read Write most significant byte only 11 Read Write least significant byte first then most significant byte SC 1 0 Select Counter 00 Select Counter 0 01 Select Counter 1 10 Select Counter 2 11 Read Back Command see read operations 8 9 Counter Timer Setup Registers Base 12 8254 Counter Timer input Setup Low Byte Register Read Write D7 D6 D5...

Page 24: ...V Counter 1 gate input polarity 0 clock input non inverted default 1 clock input inverted CLK1_INV Counter 1 clock input polarity 0 clock input non inverted default 1 clock input inverted CLK1 2 0 Counter 1 clock input selection 000 CT_IN1 default 001 CT_OUT0 010 CT_OUT2 011 IRQ_IN2 100 4 MHz oscillator 101 10 MHz oscillator 110 20 MHz oscillator 111 40 MHz oscillator GT0_INV Counter 0 gate input ...

Page 25: ...scillator 111 40 MHz oscillator 8 10 Counter Timer I O Connector J13 Counter Timer connector J13 Name Direction CT_CLK0 Input to Tracer Board CT_GATE0 Input to Tracer Board CT_OUT0 Output from Tracer Board CT_CLK1 Input to Tracer Board CT_GATE1 Input to Tracer Board CT_OUT1 Output from Tracer Board CT_CLK2 Input to Tracer Board CT_GATE2 Input to Tracer Board CT_OUT2 Output from Tracer Board 8 10 C...

Page 26: ...ED1 LED0 IEC ISC2 ISC1 ISC0 IEA Interrupt source A enable IEB Interrupt source B enable IEC Interrupt source C enable ISA 2 0 Interrupt source A selected IRQ driven at J10 Signal Name Location 000 CT_OUT0 J13 5 default 001 CT_OUT1 J13 6 010 CT_OUT2 J13 11 011 IRQ_IN0 J12 22 100 IRQ_IN1 J9 22 101 IRQ_IN2 J12 8 110 8255 1 Bit C0 J12 31 111 8255 2 Bit C0 J9 31 ISB 2 0 Interrupt source B selected IRQ ...

Page 27: ...t C0 J12 31 111 8255 2 Bit C0 J9 31 LED 3 0 LED drive source 0000 base address decode default 0001 Counter Timer 0 Input CI0 0010 Counter Timer 1 Input CI1 0011 Counter Timer 2 Input CI2 0100 Counter Timer 0 Output 0101 Counter Timer 1 Output 0110 Counter Timer 2 Output 0111 Interrupt Source A ISA 1000 IRQ_IN0 1001 IRQ_IN1 1010 IRQ_IN2 1011 none 1100 Interrupt Source B ISB 1101 Interrupt Source C ...

Page 28: ...9 Connector Summary Digital I O Connector J12 8255 1 External IRQ Source 0 IRQ_IN0 J5 Tracer Reference Manual 9 24 Friday June 08 2018 9 ...

Page 29: ...nput at J12 pin 22 J12 22 2 3 J12 pin 22 grounded for opto 22 rack compatibility External Interrupt Source 0 not available FACTORY CONFIGURATION Digital I O Connector J9 8255 2 External IRQ Source 1 IRQ_IN1 J7 9 Tracer Reference Manual Friday June 08 2018 25 9 ...

Page 30: ... pin 22 grounded for opto 22 rack compatibility External Interrupt Source 0 not available FACTORY CONFIGURATION PC 104 IRQ Source A Connector J10 PC 104 IRQ Source B Connector J8 PC 104 IRQ Source C Connector J6 Counter Timer Connector J13 Tracer Reference Manual 9 26 Friday June 08 2018 9 ...

Page 31: ... from Tracer Board CT_CLK1 Input to Tracer Board CT_GATE1 Input to Tracer Board CT_OUT1 Output from Tracer Board CT_CLK2 Input to Tracer Board CT_GATE2 Input to Tracer Board CT_OUT2 Output from Tracer Board IRQ_IN2 Additional interrupt input 9 Tracer Reference Manual Friday June 08 2018 27 9 ...

Page 32: ...cy On board oscillator Compliant to the 82C54 2 Quantity of 3 each 16 bits 40 MHz 50 MHz 0 01 100ppm divided down to 4 10 20 MHz Interrupt Configuration Number of System Interrupts Selectable interrupt levels Pull down resistor 3 IRQ2 IRQ3 IRQ4 IRQ5 IRQ6 IRQ7 1K resistor selectable via jumper on each interrupt MTBF Information MIL HDBK 217F Ground benign at 25o C Failure Rate 1 3801 MTBF 724 559 2...

Page 33: ...ut voltage Compatibility TTL and LVTTL Logic output low maximum Vol 0 55 volts 64 mA Logic output high minimum Voh 2 0 volts 32 mA 2 4 volts 3 mA 3 3 volts 0 mA Range 0 0 to 3 3 volts as an output Triastate voltage If load is tied to 5 volts it will float to 5 volts If no load then I O will be pulled to 3 3 volts Buffer transceiver used 74LVT245BQ 115 with I O operating with 3 3V supply 10 2 TRACE...

Page 34: ...upply 10 3 Valid Part Numbers Valid Part Number Description TRACER DIO 3 3VIO RUGGEDIZED COTs PC 104 High Drive 48 line DIO and counter timer module Full 5V I O Legacy compatible This product is an update from our classic Tracer E This version provides safe 3 3 volt output swings and all inputs are 5 volt tolerant TRACER DIO 5VIO RUGGEDIZED COTs PC 104 High Drive 48 line DIO and counter timer modu...

Page 35: ...scription October 13 2016 160912 161011 161011 Original release of firmware April 13 2017 160912 161216 161116 Reorganization of firmware no logical changes December 11 2017 170908 171116 171116 Added M2 jumper functionality 10 4 Revision Information Tracer Reference Manual Friday June 08 2018 31 10 ...

Page 36: ... True CT_GATE0 source CT_GATE1 CT_CLK0 inverted True CT_CLK0 source CT_IN1 Base_Address 12 0000 1001 Base_Address 13 1 01 1 where is the configuration for Counter Timer 2 Software setup base_address 0x300 Counter Timer Setup Register 0x0000 CT0 Clock Inverted False Source CT_IN0 Gate Inverter False Source CT_GATE1 CT1 Clock Inverted False Source CT_IN1 Gate Inverter False Source CT_GATE1 CT2 Clock...

Page 37: ...ping documents This warranty will not apply to products that have been misused abused or altered This warranty will not apply to prototypes of any kind engineering services software or products under pre release status Any returns must be supported by a Return Material Authorization RMA number issued by APEX APEX reserves the right to refuse delivery of any shipment containing any shipping carton ...

Page 38: ......

Page 39: ...gital I O Connector J9 8255 2 17 E Errata 6 ESD Caution 7 Exective Summary 3 External IRQ Source 0 IRQ_IN0 J5 15 External IRQ Source 1 IRQ_IN1 J7 18 G General Configuration Register 22 H Hardware Configuration 9 L Legal Notice 2 Limited Warranty 33 P PC 104 Insertion Caution 8 Photo 4 Q Quadrature Decoder 32 R Register Set 12 Revision Information 31 S Specification 28 Summary 12 T Tracer Block Dia...

Reviews: