Home

User Manual - Jupiter Instruments

image

Contents

1. Figure 2 50 pin I O Connector Jl 4040 6 4 25 11 Jupiter Instruments The following table contains a brief description of the connector signals Signal Name Direction Description Port A lt 7 0 gt Input Output 8 bit General Purpose I O port Software direction configurable Port B lt 7 0 gt Port C lt 7 0 gt Port D lt 7 0 gt Port E lt 1 0 gt Input Output 2 bit General Purpose I O port Software direction configurable Port F lt 1 0 gt Port G lt 1 0 gt Input Output 2 bit Special Function Port SFP Port H lt 1 0 gt Software configurable for the following functions 1 Clock Pulse Generator Output 2 Pulse Period Timer Input 3 Event Counter Input Output Voltage source I O Voltage Level leno Ground Reference for the port signals and the Vbus supply Table 1 Connector Signals Jl 4040 T 4 25 11 Jupiter Instruments 2 2 Jumper Settings Figure 3 below shows the location of the four jumpers J2 J3 J5 and J6 used to select the I O voltage and I O pull up polarity 50 Pin Connector Power Connector USB Connector J3 321 J 45 oog J2 O 3 jO 3 O 3 Oj2 jOj2 O 2 1 1 1 Figure 3 Jumper Locations PCB Top Side Jl 4040 8 4 25 11 Jupiter Instruments 2 2 1 I O Voltage The I O voltage is configured via jumpers J2
2. 3 Connect the JI 4040 unit to a spare USB port 4 Now verify that the Found New Hardware Wizard window is displayed as shown in Figure 1 Found New Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps you install a device driver for a hardware device To continue click Next lt Back Cancel Figure 1 Found New Hardware Wizard Window 5 Click Next to continue 6 At the next Found New Hardware Wizard window Figure 3 select Search for a suitable driver for my device recommended as shown below then click next Jl 4040 37 4 25 11 Jupiter Instruments Found New Hardware Wizard Install Hardware Device Drivers A device driver is a software program that enables a hardware device to work with an operating system Figure 1 Found New Hardware Wizard Window 2 7 Atthe next Found New Hardware Wizard window Figure 4 check the box next to CD ROM drives and uncheck all others Click next Found New Hardware Wizard Locate Driver Files Where do you want Windows to search for driver files Figure 1 Found New Hardware Wizard Window 3 Jl 4040 38 4 25 11 Jupiter Instruments 8 Once Windows has found the required INF driver file Figure 4 click next to proceed Found New Hardware Wizard Driver Files Search Results oe The wizard has finished searching for driver files for your hardware device SY
3. 4 Connect the JI 4040 to the host PC 5 Launch the JI 4040 test application and open the USB port B Run Test 1 Atthe main window set ports A F to input by clicking the Input button in the Data Direction grouping for each port 2 Atthe Input Test fixture alternately switch every other switch on beginning at SW 0 Specifically SW 0 2 4 and 6 are on and SW 1 3 5 7 are off 3 Read port A by clicking the Read button for port A in the Red Write grouping 4 Verify that port A reads 55h 5 Now change test fixture settings such that every other switch is on beginning at SW 1 Specifically SW 1 3 5 7 are on and SW 2 4 6 and 8 are off 6 Verify that port A reads AAh 7 Port A Input Test is complete C Test remaining ports B F 1 Next repeat step A and B for the remaining 5 ports moving the test fixture to each port For ports E and F only connect switches SW 0 and SW 1 Substitute the value 1 for 55h in step B 2 and 2 for AAh in step B 6 2 If no errors were encountered in the above steps the Input Test has passed 3 6 SFP Test This exercise verifies SFP operation and familiarizes the user with the four operational modes 1 Clock Generator 2 Pulse Generator 3 Pulse Period Timer 4 Event Counter Required equipment to complete this exercise is listed below 1 Output Test Fixture see appendix F or an oscilloscope or DVM 2 1jumper wire 3 Jl 4040 test application software JI 4040_T
4. 1 Connect the JI 4040 to the host PC using the 6 USB cable 2 After afew seconds confirm that the JI 4040 is powered by verifying that the green PWR LED on the rear panel is on If the PWR LED does not illuminate or if the LED goes out after 10 20 seconds an error has occurred Begin troubleshooting by verifying that USB driver is installed See appendix C for details 3 The USB Drive HW Check has passed 3 4 Software Check 1 Ensure that the JI 4040 unit is connected to the host PC and power is on 2 Go to the folder where the test application software is installed ex C JI 4040 3 Launch the test application by clicking JI 4040_Test_App_VerXX exe 4 Verify that the test application main window is displayed as shown in figure 4 Jl 4040 10 4 25 11 Jupiter Instruments JI 4040 Test Application Figure 4 JI 4040 Test Application Main window If an error occurs and the window does not appear begin by verifying that the NET Framework is installed on the host PC To do this click Start on your windows desktop select Control Panel and then double click the Add or Remove Programs icon When the window appears scroll through the list of installed programs Verify that the NET Framework 3 0 or higher is listed If not go to http msdn2 microsoft com en us netframework aa569263 aspx for instructions on downloading and installing the latest NET Framework version 5 At the main window open a USB port b
5. Full Speed Connector Standard type B socket Optional power supply required if combined I O source and Vbus current exceeds 400 mA JI 4040 30 4 25 11 Jupiter Instruments Mechanical and Environmental Specifications Mechanical Dimensions Board only 39 x0 5 x4 7 WxHxL Enclosure 4 1 x1 1 x 5 5 WHA xl Weight Board only 0 1 lbs Enclosure 0 9 Ibs Environmental Operating Temperature Board only OCto70C Enclosure OC to 60C Storage Temperature 40C to 70C Jl 4040 3 1 4 25 11 Jupiter Instruments APPENDIX B 1 1 PC System Requirements e Microsoft Windows 2000 XP Vista or Windows 7 e Pentium 4 or equivalent processor 600 MHz minimum e USB 2 0 port e CD ROM drive e 25 MB Free hard disk space e 256 MB Memory Jl 4040 32 4 25 11 Jupiter Instruments APPENDIX C 1 Jl 4040 Installing USB Device Driver Two types of drivers will be installed Virtual COM Port VCP and Direct Drive D2XX The VCP driver allows control of the JI 4040 adapter via ASCII serial commands sent using a terminal emulation program such as Windows Hyper Terminal The D2XX driver allows direct access to a USB device via a DLL interface Both drivers are supplied by the manufacture of the USB interface IC designed into the JI 4040 Complete USB driver information can be found at the FTDI website http www ftdichip com FTDrivers htm Instructions below assist with the installation of JI 4040 drivers for the following Wi
6. Jupiter Instruments APPENDIX F 1 Output Test Fixture Schematic LED 7 LED 6 LED 5 LED 4 LED 3 LED 2 LED 1 LED 0 Flying Lead gt 0 025 Contact Female f 10 segment Bar Graph Array LED Part Number DC10EWA Manufacture Kingbright Distributor Digi Key Distributor PN 754 1176 5 ND 220 Ohm SIP Resistor Network Part Number 770101221P Manufacture CTS Distributor Digi Key Distributor PN 770 101 R220P ND Flying Lead 1 GND Title JI 4040 Output Test Fixture Size Document Number ev A SC17571 A Friday April 22 2011 Jl 4040 42 4 25 11 Jupiter Instruments APPENDIX G 1 Input Test Fixture Schematic SW 7 SW 6 SW 5 SW 4 SW 3 SW 2 SW 1 SW 0 me FOC 00 IT 0 025 Contact Female od 4 100 Ohm SIP Resistor Network Flying Lead Jl 4040 8 Position DIP Switch dd prefer prep 43 Part Number 106 1208 EV Manufacture Mountain Switch Distributor Mouser Distributor PN 106 1208 EV Part Number 770101101P Manufacture CTS Distributor Digi Key Distributor PN 770 101 R100P ND Jl 4040 Input Test Fixture Document Number SC17572 Monday April 25 2011 4 25 11 Jupiter Instruments APPENDIX H Jl 4040 1 0 General Information 1 1 1 2 1 3 1 4 Warranty The equipment is warranted for one year from data of purchase against defects in materials o
7. the PWR LED did not illuminate continue to the No Internet Connection steps below No Internet Connection 1 Please refer to the FTDI Drivers Installation Guide for Windows Vista for detailed instructions http www ftdichip com Documents AppNotes AN_ 103 FTDI Drivers Installation Guide for VISTA FT 000080 pdf 1 3 Windows XP To install drivers for the JI 4040 under Windows XP follow the instructions below For additional installation information please refer to the FTDI Drivers Installation Guide for Windows XP http www ftdichip com Documents AppNotes AN 104 FTDI Driver Installation Guide f or_WindowsXP ET_000093 pdf 1 Temporarily disconnect the host PC from the Internet Simply remove the network cable from the PC 2 Insert the JI 4040 CD ROM into the computer s CD drive or download the latest drivers from the FTDI Web Site and unzip them to a temporary location on your PC 3 Connect the JI 4040 unit to a spare USB port 4 Now verify that the Found New Hardware Wizard window is displayed as shown in Figure 1 Found New Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking on your computer on the hardware installation CD or on the Windows Update Web site with your permission Read our privacy policy Can Windows connect to Windows Update to search for software O Yes this time only O Yes now and every ti
8. will be the best match for your hardware Figure 3 Found New Hardware Wizard Window 3 Jl 4040 35 4 25 11 Jupiter Instruments 8 A window is now displayed showing the driver software being located and then copied Figure 4 Found New Hardware Wizard Please wait while the wizard searches USB Serial Port Cancel Figure 4 Driver Coping Window 9 A window indicating that the installation was successful should now be displayed Figure 5 Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for a USB Serial Converter Click Finish to close the wizard Figure 5 Installation Success Window 10 The D2XX driver is now installed Click Finish 11 Repeat steps 5 through 11 to install the VCP driver J1 4040 36 4 25 11 Jupiter Instruments 12 The installation is now complete 1 4 Windows 2000 To install drivers for the JI 4040 under Windows 2000 follow the instructions below For additional installation information please refer to the Windows 2000 Installation Guide http www ftdichip com Documents InstallGuides Windows 2000 Installation Guide pdf 1 Temporarily disconnect the host PC from the Internet Simply remove the network cable from the PC 2 Insert the JI 4040 CD ROM into the computer s CD drive or download the latest drivers from the FTDI Web Site and unzip them to a temporary location on your PC
9. 0h 09h 0031h 0031h 10KHz 25 20h 09h 0018h 004ah 1KHz 50 20h 09h 01f3h 01f3h 100Hz 50 20h 09h 1387h 1387h 1Hz 50 20h F9h 4e1fh 4e1fh Table 6 Register values for selected CLK frequencies and duty cycles 22 4 25 11 Jupiter Instruments 4 1 2 2 Pulse Generator A block diagram of the Pulse Generator is shown in figure 9 below Reset Q Figure 9 Pulse Generator Diagram The Pulse Generator produces a single pulse with each write to the start control The width of the pulse is set by the Prescalar and TH Counter registers The pulse signal can be prematurely terminated by issuing a stop command The signal is output on pin 1 and the complement is available on pin 0 The Pulse Generator mode is selected by writing 21h to the Configuration register of the selected port Using the following equation to set the period of the signal NTH TH Register valid range 0000h to ffffh Npre Prescalar Register valid range 00h to ffh ty NTH 1 NpRE 1 0 1 uS Jl 4040 23 4 25 11 Jupiter Instruments Below are calculated register values for selected pulse widths 100nS 21h 00h 0000h 1 00uS 21h 00h 0009h 10 0uS 21h 09h 0009h 50uS 21h 09h 0031h 100uS 21h 09h 0063h ims 21h 09h 03e7h 100mS 21h 31h 4e1fh 0 5S 21h F9h 4e1fh Table 5 Register values for selected pulse widths A Done bit in the Port Status register indicates pulse completion The bit location is sh
10. CLK Generator GND Figure 5 JI 4040 Block Diagram 17 P1 Connector 50 PIN IDC 4 25 11 Jupiter Instruments 4 1 I O Ports The JI 4040 is comprised of 2 port types 1 General Purpose I O GPIO 8 bit and 2 bit 2 Special Function Port There are four 8 bit GPIO two 2 bit GPIO ports and two 2 bit Special Function Ports SFP for a total of 40 I O pins All I Os include a 100K resistor that is jumper configurable as either a pull up or pull down see Table 3 The I O voltage is jumper selectable for either 5 0V 3 3V 2 5V or 1 8V operation see Table 2 Custom voltages can be selected with a single resistor change See Appendix TBD or ordered custom from the factory Jl 4040 18 4 25 11 Jupiter Instruments 4 1 1 General Purpose I O The JI 4040 includes 36 general purpose I Os organized as four 8 bit ports A B C D and two 2 bit ports E F Each port is assigned as either an input or output via a Data Direction command Upon power up all ports are reset to input Commands are available to read write each port either individually 8 bit byte mode or concurrently 32 bit long word mode for ports A D 8 bit and 2 bit GPIO block diagrams are shown in figures 6 and 7 respectively OfpPFNWORUON Figure 6 8 Bit Port Block Diagram Figure 7 2 Bit Port Block Diagram Jl 4040 19 4 25 11 Jupiter Instruments Registers Each GPIO is individually controlled by way of three register
11. J3 and J5 located on the lower left hand side of the circuit board towards the 50 pin connector see Figure 3 If the JI 4040 enclosure is used see appendix F for instructions on removing the back panel to access these jumpers Use the following table to set the desired I O voltage al a rovorsowee vovotege Internal Standard Internal Standard Internal Standard Internal Standard External Optional External Optional External Optional External Optional Table 2 I O Voltage Configuration Table 2 2 2 IO Pull up The I O pull up pull down selection is configured via jumper J6 located on the lower left hand side of the circuit board towards the 50 pin connector see Figure 3 If the JI 4040 enclosure is used see appendix E for instructions on removing the back panel to access these jumpers Use the table below to set the desired pull up polarity Configuration Pull up to Vbus Pull down to GND Float Table 3 I O Pull up Pull down Configuration Table Jl 4040 9 4 25 11 Jupiter Instruments 3 GETTING STARTED 3 1 Set I O Voltage and Pull ups If you have not already done so set the JI 4040 I O voltage to 5 00 volts and configure the I O pull up for pull up See section 2 2 and 2 3 for details 3 2 Software Installation A USB driver as well as test software will be installed Refer to appendix C and D for step by step installation instructions 3 3 USB Driver Check
12. Model JI 4040 USB Multifunction Digital I O Module Isolated User Manual Version 1 2 Jupiter Instruments 5 7 2011 Edition Jl 4040 1 4 25 11 Jupiter Instruments TABLE OF CONTENTS 1 INTRODUCTION 2 CONNECTORS AND JUMPERS 2 1 Connectors 2 1 1 Connector Locations 2 1 2 T O Connector 50 pin 2 2 Jumper Settings 2 2 1 T O Voltage 2 2 2 T O Pull up 3 GETTING STARTED 3 1 Set I O Voltage and Pull ups 3 2 Software Installation 3 3 USB Driver Check 3 4 Software Check 3 5 GPIO Test 3 5 1 Output Test 3 5 2 Input Test 3 6 SFP Test 3 6 1 Clock and Pulse Generator 3 6 2 Pulse Period Timer 3 6 3 Event Counter 4 FUNCTIONAL DESCRIPTION 4 0 Block Diagram 4 1 I O Ports 4 1 1 General Purpose I O 4 1 2 Special Function Port SFP 4 1 2 1 Clock Generator 4 1 2 2 Pulse Generator 4 1 2 3 Pulse Period Timer 4 1 2 4 Event Counter APPENDIX A 1 0 Specifications APPENDIX B 1 1 PC System Requirements Jl 4040 2 O 0 0 10 10 10 10 29 32 32 4 25 11 Jupiter Instruments APPENDIX C 1 Installing USB Device Driver 1 1 Windows 7 1 2 Windows Vista 1 3 Windows XP 1 4 Windows 2000 APPENDIX D 1 0 Installing Application Software APPENDIX E 1 Top Panel Removal Procedure APPENDIX F 1 Output Test Fixture Schematic APPENDIX G 1 Input Test Fixture Schematic APPENDIX H 1 0 General Information 1 1 Warranty 1 2 Thirty Day Return Policy 1 3 Limitatio
13. The wizard found a driver for the following device gt USB lt gt Serial Cable Windows found a driver for this device To install the driver Windows found click Next 39 e 4edm 2 00 00 ftdibus inf lt Back Cancel Figure 4 Driver Found Window 9 A window indicating that the installation was successful should now be displayed Figure 5 Click Next Completing the Found New Hardware Wizard gt USB Serial Converter Windows has finished installing the software for this device To close this wizard click Finish lt Back Cancel Figure 5 Installation Success Window 10 The installation is now complete 39 4 25 11 Jl 4040 Jupiter Instruments APPENDIX D Jl 4040 1 0 Installing Application Software The JI 4040 application software can be installed locally on the host PC s hard drive C or executed directly from CD ROM To install 2 Insert the CD ROM into the host PC s CD DVD drive or download the latest executable from http www jupiteri com JI 4040 Files JI 4040 Top html to a temporary location on your PC Using Windows Explorer find the file setup exe on the CD drive Double click on the file to begin the installation Follow the instructions on the screen until the installation is complete Software installation is now complete 40 4 25 11 Jupiter Instruments APPENDIX E 1 Top Panel Removal Procedure TBD Jl 4040 41 4 25 11
14. at valid data is available at the T E Register An Overflow bit signals a measurement error The signal input is on pin 1 Pin O is the optional input enable signal Use the table below to select the Event Counter mode and measurement options SRI Counter Enabled count egister Transition 40h Always Rising Edge 41h Always Falling Edge 42h Bit0 1 Rising Edge 43h Bit0 1 Falling Edge 43h Bit0 0 Rising Edge 40h Bit 0 0 Falling Edge Table 8 Event Counter Configuration 27 4 25 11 Jupiter Instruments Status bits for the Event Counter are located in the Port Status Register eer Ts TATE on 1 Data RDY 1 Overflow Error Figure 14 Port Status Register Jl 4040 28 4 25 11 Jupiter Instruments APPENDIX A Jl 4040 1 0 Specifications USB Multifunction Digital I O Module Isolated Model JI 4040 Jupiter Instruments Ver 1 4 Electrical Specifications Digital 1 0 Channel Count Power on State Data Transfers Special Function Port SFP Number of SFPs Function Modes Event Counter Count Trigger Pulse width Pulse Period Timer Timer Base Clock Configuration Pulse Width Measurement Range CLK Generator Configuration Base Clock Frequency Range Duty cycle Pulse Generator Configuration Base Clock Pulse Width Range VO Charactersicts VO Voltage MIH High level input voltage ML Low level input voltage ll Input current lo Output curr
15. bottom Verify that the LED 0 is on and LED 1 is off for 500mS each time the start button is clicked The Pulse Generator test is complete D Run Port H Pulse Period Test 1 2 Jl 4040 Next repeat step A C for port H If no errors were encountered the port H Clock and Pulse Generator test is complete 14 4 25 11 Jupiter Instruments Jl 4040 3 6 2 Pulse Period Timer Complete the following steps A Setup 1 Remove Jl 4040 power by disconnecting the USB cable 2 Ensure that the JI 4040 I O voltage is set to 5 00 volts and the I O pull up is configured for pull up See section 2 2 for details 3 Connect a jumper wire from port G pin 1 to port H pin 1 4 Connect the JI 4040 to the host PC 5 Launch the JI 4040 test application and open the USB port B Configure Port H as a 1KHz clock source 1 At the Port H Configuration ensure that the 1uS is selected in the CLK Prescalar group box 2 Select the CLK mode by clicking the CLK button in the Generator group box 3 Next enter 500us in both the tHIGH and tLOW text boxes 4 Now start the CLK by clicking the Start button at the bottom 5 Port H 1KHz clock source is now running C Configure Port G as a Period Timer and run test 1 At the Port G Configuration ensure that 1uS is selected in the CLK Prescalar group box 2 Next select period timer by clicking the Period button in the Timer group box 3 Now start the timer by clicking the green Start button at t
16. ent Vimax Max input voltage range ESD protection 4 21 2011 Edition 36 Inputfoutput Four 8 bit and two 2 bit ports Default to inputs pull up pull down 100 K ohms Programmed I O Two independent ports 2 bit 16 bits with overflow flag Configurable Rising falling edge and 1 bit input qualifier gt 100 ns minimum 16 bits with a programmable S bit prescalar 10 MHz Rising falling edge combinations gt 100 ns minimum 100 ns to 1 677 s with overflow flag tHicH amp tLow 16 bit timers with an 8 bit prescalar 10 MHz 0 298 Hz to 5 00 MHz Programmable 2 16 1 steps from 0 0015 to 99 84 THIGH 16 bit timer with an 8 bit prescalar 10 MHz 100 nS to 1 67 S Selectable 5 0V 3 3 2 5V 1 6 and Adj 2 0 Y min Ybus 3 3 V 1 7 Ymi Vbus 2 5V 1 2 Y min vbus 1 8 Y 1 5 Y max Ybus 5 0 Y 0 8 Y max Vbus 3 3 V 0 7 V max Vbus 2 5 0 6 Y max Ybus 1 8 Y 2 uA max Vbus 1 8 Y to 50 Y 32 mA max Ybus 5 0 V 24 mA max Ybus 3 3 V 8 mA max Vbus 25 VY 4 mA max Vbus 1 9V 0 5 Vito 6 5 V 4000Y Human Body Model Al 14 A 29 4 25 11 Jupiter Instruments Electrical Specifications continued Power Power source USB supplied std or external 5 0 V supply high current Current consumption Idle 40 mA max USB supplied 400 mA max External 5 0 Y supplied 1 4 A max Power connector external 2 1mm ID 5 5mm OD CUI PJ 102A PC Interface Communication USB 2 0
17. est_AppXX exe Jl 4040 1 3 4 25 11 Jupiter Instruments 3 6 1 Clock and Pulse Generator Complete the following steps A Setup 1 Remove JI 4040 power by disconnecting the USB cable 2 Ensure that the JI 4040 I O voltage is set to 5 00 volts and the I O pull up is configured for pull up See section 2 2 for details 3 Connect the Output Test Fixture to Port E 1 Connect the test fixture GND lead a convenient ground pin on the 50 pin connector See figure 2 2 Connect the 2 LED leads to corresponding port pins i e LED 0 connects to port G 0 4 Connect the JI 4040 to the host PC 5 Launch the JI 4040 test application and open the USB port B Set Clock Generator to 1Hz and run test 1 Atthe Port G Configuration select 10uS in the CLK Prescalar group box 2 Begin by testing the CLK Generator Select the CLK mode by clicking the CLK button in the Generator group box 3 Next enter 500ms in both the tHIGH and tLOW text boxes 4 Now start the CLK by clicking the green Start button at the bottom 5 Verify two alternate blinking LEDs The frequency should be 1 Hz 6 Next stop the CLK by clicking the red Stop button 7 Verify that the blinking has stopped and that LED 0 is off and LED 1 is on 8 The Clock Generator test is complete C Set Pulse Generator for 500ms and run test Select the Pulse Generator by clicking the Pulse button in the Generator group box Now generate a 500mS pulse by clicking the Start button at the
18. g the Pulse button in the Generator group box 3 Next enter 1000us in the tHIGH text box C Configure Port G as a Counter and run test 1 At the Port G Configuration click the Rising Edge button in the Counter group box 2 Next click the enabled Always radio button 3 Now start the counter by clicking the Start button at the bottom of the group box 4 Next send 10 pulses to port H by clicking the Start button at the Port H Configuration 5 Now stop the counter by clicking the Stop button at the Port G Configuration 6 Verify that the port G count reading is 10 7 The port G Event Counter test is complete D Run Port H Event Counter Test 1 Substitute the text Port G for Port H and Port H for Port G in steps A C Then repeat steps A C 2 If no errors were encountered the Port H Event Counter test is complete Jl 4040 16 4 25 11 Jupiter Instruments Jl 4040 4 FUNCTIONAL DESCRIPTION 4 0 Block Diagram Figure 5 shows the key functional components of the JI 4040 Optional 5V Supply USB Connector Level Translation Vbus PA lt 7 0 gt PB lt 7 0 gt PC lt 7 0 gt PD lt 7 0 gt DC DC Iso lated Convertor PWR PE lt 1 0 gt PF lt 1 0 gt PortG Special Function PG lt 1 0 gt Period Timer Event Counter CLK Generator PortH Special Function PH lt 1 0 gt Period Timer Event Courter
19. he bottom of the group box 4 After a few seconds verify that the Status reads Done and the Time reading is 1000uS 5 The port G Period Timer test is complete D Configure Port G as a Pulse Timer and run test 1 At the Port G Configuration ensure that 1uS is selected in the CLK Prescalar group box 2 Next select period timer by clicking the Pulse button in the Timer group box 3 Now start the timer by clicking the Start button at the bottom of the group box 4 After a few seconds verify that the Status reads Done and the Time reading is 500uS 5 The port G Pulse Timer test is complete 15 4 25 11 Jupiter Instruments E Run Port H Pulse Period Test 1 Repeat steps A D by substituting the text Port G for Port H in step B and Port H for Port G in steps C and D 2 Ifno errors were encountered the port H Pulse Period Timer test is complete 3 6 3 Event Counter Complete the following steps A Setup 1 Remove JI 4040 power by disconnecting the USB cable 2 Ensure that the JI 4040 I O voltage is set to 5 00 volts and the I O pull up is configured for pull up See section 2 2 for details 3 Connect a jumper wire from port G pin 1 to port H pin 1 4 Connect the JI 4040 to the host PC 5 Launch the JI 4040 test application and open the USB port B Configure Port H as a 1000uS One shot 1 At the Port H Configuration ensure 1uS is selected in the CLK Prescalar group box 2 Select the CLK mode by clickin
20. id range 00h to ffh Nte T E Register valid range 00h to ffffh Resolution minimum period Tmin NPRE 1 0 100uS Maximum period Tmax NPRE 1 6 5536mS Use the following equation to calculate the period of the signal T NpRE 1 N7 E 0 100US Below are register values for selected configurations Function Mn ni Resolution Maximum Period Period positive 30h 00h 100nS 65 536mS Period negative 31h 09h 1uS 65 536mS Pulse positive 32h 63h 10US 655 36mS Pulse negative 33h 67h 20uS 1 31078 Table 7 Register values for selected configurations Status bits for the Pulse Period Timer are located in the Port Status Register ets EEE ENEO 1 Data RDY 1 Overflow Error Figure 12 Port Status Register Jl 4040 26 4 25 11 Jupiter Instruments 4 1 2 4 Event Counter Jl 4040 A block diagram of the Event Counter is shown in figure 13 below Configuration 1 of 2 Vec EN CLR RCO Cie T E Counter 16 bit Figure 13 Event Counter Block Diagram Port Pins Enable The Event Counter counts the occurrence of a signal transition Measurement options include selection of a rising or falling edge transition and a qualification signal that enables counting when pulled to a 1 or O state A Start command initiates a measurement and a Stop command halts a measurement A Done bit in the Port Status register indicates measurement completion and th
21. me connect a device No not this time Click Next to continue Figure 1 Found New Hardware Wizard Window Jl 4040 34 4 25 11 Jupiter Instruments 5 Select No not at this time from the options and then click Next 6 Atthe Found New Hardware Wizard window Figure 2 select Install from a specific list or location Advanced and then click Next Found New Hardware Wizard This wizard helps you install software for JI 300 12C Adapter If your hardware came with an installation CD 2 or floppy disk insert it now What do you want the wizard to do O Install the software automatically Recommended Ol Click Next to continue Figure 2 Found New Hardware Wizard Window 2 7 Atthe Found New Hardware Wizard window Figure 3 select Search for the best driver in these locations followed by Search removable media floppy CD ROM Click Next Found New Hardware Wizard Please choose your search and installation options ates SY Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed C Include this location in the search Don t search will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose
22. mpatible e Available as either a desktop unit or low cost OEM board e Power provided via USB bus Optional power supply required if combined I O source current exceeds 300 mA Jl 4040 4 4 25 11 Jupiter Instruments 2 CONNECTORS AND JUMPERS 2 1 Connectors Onboard connectors link the JI 4040 to external devices such as host computer USB optional I O power supply and user specified I O 2 1 1 Connector Locations n gt pis w a Figure 1 Connector Locations 1 WO Connector 50 pin IDC keyed 3M D2550 5002 AR USB Connector Type B Molex 67068 0000 External I O Power Connector Optional Circular 2 1MM CUI PJ 102A Jl 4040 5 4 25 11 Jupiter Instruments 2 1 2 I O Connector 50 pin Figure 2 shows the pin outs of the 50 pin connector 50 Pin Connector Pin Outs Connector type 50 pin IDC 0 10 x 0 10 with polairization PN 3M D2550 5002 AR Connector Pin Outs GND Vbus PortH 1 PortH 0 PontG 1 BE PortG 0 GND E PortF 1 PortF 0 _ PortE 1 PortE 0 _ GND PortD 7 PortD 6 PortD 5 PortD 4 PortD 3 aE PortD 2 PortD 1 Bea PortD 0 GND GND PortC 7 PortC 6 PortC 5 PortC 4 PortC 3 ne PortC 2 PortC 1 ER PortC 0 GND E PonB 7 PortB 6 PonB 5 PortB4 _ PontB 3 PortB 2 PortB 1 PontB 0 _ GND PortA 7 PortA 6 PortA 5 PortA d PortA 3 PortA 2 PortA 1 PortA 0 GND Vbus
23. n of Liability 1 4 Contact Us 33 33 33 33 34 37 40 40 41 41 42 42 43 43 44 44 44 44 44 44 Jl 4040 4 25 11 Jupiter Instruments 1 INTRODUCTION The JI 4040 module is a versatile easy to use device for adding universal digital I O capability to a computer system via a USB connection The module is comprised of 36 bidirectional I O channels and 2 Special Function Ports SFP The SFP can be software programmed as a variable duty cycle clock pulse generator event counter or interval pulse timer The I O is selectable to interface 5 0 V 3 3 V 2 5 V or 1 8 V systems Host to module isolation eliminates ground loops and provides protection from noise and switching transients on external signals The JI 4040 is available as either a desktop unit or low cost OEM board The JI 4040 includes a Windows 2000 XP 7 compatible software package This contains sample programs and source code written in Visual C and an application program that provides access to all I O ports and control of the SFPs Features e 36 bidirectional I O channels Four 8 bit and two 2 bit ports e 2 Special Function Ports SFP Programmable functions include e Event Counter e Pulse Period Timer e Clock Pulse Generator e Selectable I O voltage 5 0V 3 3V 2 5V 1 8V and Adj e High current I O drive 32 mA 5 0 V 24 mA 3 3 V e Selectable I O pull up pull down resistors e 500Vrms Isolation rating e USB 2 0 co
24. ndows Operating systems Windows 2000 XP Vista or Windows 7 1 1 Windows 7 To install drivers for the JI 4040 under Windows 7 follow the instructions below Internet Connection 1 2 Ensure the host PC is connected to the internet Connect the JI 4040 to a spare USB port on the PC Windows 7 will silently connect to Windows Update website and install the required driver s At the conclusion of the installation verify that the green PWR LED on the rear panel of the JI 4040 is on Installation is now complete If the drivers were not automatically found or the PWR LED did not illuminate continue to the No Internet Connection steps below No Internet Connection 1 Please refer to the FTDI Drivers Installation Guide for Windows 7 for detailed instructions http www ftdichip com Documents AppNotes AN_ 119 FTDI Drivers Installation Guide for Windows7 pdf 1 2 Windows Vista To install drivers for the JI 216 under Windows Vista follow the instructions below Internet Connection 1 1 Ensure the host PC is connected to the internet Connect the JI 4040 to a spare USB port on the PC Vista will silently connect to Windows Update website and install the required driver s 33 4 25 11 Jupiter Instruments 3 At the conclusion of the installation verify that the green PWR LED on the rear panel of the JI 4040 is on Installation is now complete 4 Ifthe drivers were not automatically found or
25. oducts in accordance with the Jupiter Instruments limited warranty Jupiter Instruments shall not be liable for any incidental special or consequential damages for breach of any warranty expressed or implied directly or indirectly arising out of Jupiter Instruments sale of merchandise including any failure to deliver any merchandise or arising out of customer s installation or use whether proper or improper of the product separately or in combination with other equipment or from any other cause Use all Jupiter Instruments products and accessories at your own risk Products sold by Jupiter Instruments are not authorized for use as critical components in life support devices or systems Contact Us e Address Jupiter Instruments Mission Viejo CA 92692 e Email Sales Jupiteri com Tech Jupiteri com e Phone Sales and Information 949 716 0154 e Website www Jupiteri com 44 4 25 11
26. own below 1 Done Figure 10 Port Status Register Jl 4040 24 4 25 11 Jupiter Instruments 4 1 2 3 Pulse Period Timer 10 MHz Clock Jl 4040 A block diagram of the Pulse Period Timer is shown in figure 11 below Reset Q Configuration EN cug T E Counter CLR 16 bit Reset Q Figure 11 Pulse Period Timer Diagram Use the table below to select the Pulse Period Timer mode and measurement options Configuration Register Function 30h Period Positive 31h Period Negative 32h Fi Pulse Positive 25 The Pulse Period Timer measures the period or pulse width of a signal The measurement resolution maximum period is set by the Prescalar register Measurement options include rising or falling edge period measurements and positive or negative pulse width measurements A Start command initiates a measurement and a Data RDY bit in the Port Status register indicates measurement completion An Overflow bit signals a measurement error A Stop command aborts any measurement in process The signal input is on pin 1 Pin 0 is not used 4 25 11 Jupiter Instruments 33h Pulse Negative Table 6 Pulse Period Timer Configuration Use the following equations to set the resolution maximum period of the measurement Npre Prescalar Register val
27. port B Run Test 1 Atthe main window set ports A F to output by clicking the Output button in the Data Direction grouping for each port 2 SetportA to 55h by writing 55h to the port A write text box in the Red Write grouping followed by clicking the Write button 3 Verify that every other LED is illuminated beginning at LED 1 Specifically LEDs 0 2 4 and 6 are on and LEDs 1 3 5 and 7 are off 4 Now change port A data to AAh i e repeat step B 2 5 Verify that every other LED is illuminated beginning at LED 2 Specifically LEDs 1 3 5 and 7 are on and LEDs 0 2 4 and 6 are off 6 Port A Output Test is complete C Test remaining ports B F 1 Next repeat step A and B for the remaining 5 ports B F moving the test fixture to each port For ports E and F only connect LEDs 0 and 1 2 Ifno errors were encountered in the above steps the Output Test has passed 3 5 2 Input Test Complete the following steps A Setup 1 Remove JI 4040 power by disconnecting the USB cable Jl 4040 12 4 25 11 Jupiter Instruments 2 Ensure that the JI 4040 I O voltage is set to 5 00 volts and the I O pull up is configured for pull up See section 2 2 for details 3 Connect the Output Input Test Fixture to Port A 1 Connect the test fixture GND lead a convenient ground pin on the 50 pin connector See figure 2 2 Connect the 8 DIP switch leads to corresponding port pins i e SW 0 connects to portA 0
28. r 20 4 25 11 Jupiter Instruments 4 1 2 1 Clock Generator A block diagram of the Clock Generator is shown in figure 8 below Reset a Figure 8 Clock Generator Diagram The Clock Generator produces a variable duty cycle variable frequency signal with stop start control The signal is output on pin 1 and the complement is available on pin 0 The Clock Generator mode is selected by writing 20h to the configuration register of the selected port The frequency and duty cycle of the clock signal is controlled by the setting of the Prescalar TH Counter and TL Counter registers Register definitions are as follows NTH TH Register valid range 0000h to ffffh NtL TL Register valid range 0000h to ffffh NPRE Prescalar Register valid range 00h to ffh ty NTH 1 NpRE 1 0 1 uS tL NTL 1 NpRE 1 0 1 uS Using the following equations to set the CLK frequency and duty cycle Duty Cycle D ty tH t NTH 1 NTH 1 NTL 1 Frequency f 1 tu t 10 NTH NTL 2 Npre 1 Hz Jl 4040 21 4 25 11 Jupiter Instruments Jl 4040 Below are calculated register values for selected CLK frequencies and duty cycles F Duty Configuration Prescalar TH TL requency TE Register Register Register Register o NPRE NTH NTL 5MHz 50 20h 00h 0000h 0000h 1MHz 50 20h 00h 0004h 0004h 100KHz 50 20h 09h 0004h 0004h 10KHz 50 2
29. r workmanship Jupiter Instruments reserves the right to repair or replace products at its own and complete discretion Customer must obtain from Jupiter Instruments a Return Authorization Number RMA prior to returning any products to Jupiter Instruments Products returned under this Warranty must be unmodified and in original packaging Jupiter Instruments reserves the right to refuse warranty repairs or replacements for any products that are damaged or not in original form The customer is responsible for the shipping and insurance cost arising from the return of products to Jupiter Instruments Jupiter Instruments will return all in warranty products with shipping cost prepaid Thirty Day Return Policy Customers may return Jupiter Instruments products for a full refund if Jupiter Instruments is contacted within thirty days of the customer s receipt of the product Customer may return Jupiter Instruments products for credit exchange or a refund Customer must obtain form Jupiter Instruments a Return Authorization Number RMA prior to returning any products to Jupiter Instruments Products must be returned unmodified and in original packaging Jupiter Instruments reserves the right to refuse return rights for any products that are damaged or not in original form Volume orders may be subject to a significant restocking fee Limitation of Liability Jupiter Instruments liability shall be limited to the repair or replacement of defective pr
30. s 1 Data Direction Register DDR 2 Read Register 3 Write Register The DDR selects the direction of data flow for the selected port The direction is typically set once at the beginning of a session However bi directional data flow is possible by setting the DDR for each change in direction As the names suggest the Read register reads data from the port pins and the Write register latches data to the port pins A read or write can be performed irrespective of the DDR setting 4 1 2 Special Function Port The JI 4040 includes 2 special function ports G H Each port is configured in one of four modes SFP 1 Clock Generator 2 Pulse Generator 3 Pulse Period Timer 4 Event Counter The Mode is selected via the Port Configuration Register Data HEX Function Operation Details 20 CLK Gen Continuous Wave CW 21 Pulse Gen One Shot Pulse 30 Period Timer Positive rising edge to rising edge 31 Period Timer Period falling edge to falling edge 32 Pulse Timer Pulse rising edge to falling edge 33 Pulse Timer Pulse falling edge to rising edge 40 Event Counter Rising edge DO X 41 Event Counter Falling edge DO X 44 Event Counter Rising edge Enable when DO 0 45 Event Counter Falling edge Enable when DO 0 46 Event Counter Rising edge Enable when DO 1 47 Event Counter Falling edge Enable when DO 1 Jl 4040 Figure 3 Port Configuration Registe
31. y clicking the Open button in the USB Connection group 6 Atthe menu bar open the About message box 7 Verify that the version numbers for the HW Version and VHDL Version are valid i e HW Version 1 0 VHDL Version 2 1 etc If a question mark HW Version or VHDL Version or some other character appears an error has occurred 8 If no errors have occurred or if errors have been resolved the Software Check has passed 3 5 GPIO Test This exercise verifies GPIO operation and familiarizes the user with the four 8 bit and two 2 bit GPIO ports Required equipment to complete this exercise is listed below 1 Output Test Fixture see appendix F or an oscilloscope or DVM 2 Input Test Fixture see appendix G or a set of 8 jumper wires 3 Jl 4040 test application software JI 4040_Test_App_VerXX exe Jl 4040 11 4 25 11 Jupiter Instruments 3 5 1 Output Test Complete the following steps A Setup 1 Remove JI 4040 power by disconnecting the USB cable 2 Ensure that the JI 4040 I O voltage is set to 5 00 volts and the I O pull up is configured for pull up See section 2 2 for details 3 Connect the Output Test Fixture to Port A 1 Connect the test fixture GND lead a convenient ground pin on the 50 pin connector See figure 2 2 Connect the 8 LED leads to corresponding port pins i e LED 0 connects to port A 0 4 Connect the JI 4040 to the host PC 5 Launch the JI 4040 test application and open the USB

Download Pdf Manuals

image

Related Search

Related Contents

TEDDY W5A - Webstaurant Store  Livret pédagogique de la licence de géographie 2013-2014    L0gi[G= Mac用ポ一タブルDVD ユニッ ト  Pericolo - Tyrolit  HNW150APBR Manuale Utente  Thecus User`s Manual    LC-60LE822E/ERU Operation-Manual FR  資料1  

Copyright © All rights reserved.
Failed to retrieve file