background image

USB-4301 User's Guide 

Functional Details 

16 

Internal frequency values for different base frequencies 

 

1.0000 MHz 

1.6667 MHz 

3.3333 MHz 

5.0000 MHz 

FREQ1 

1.0000 MHz 

1.6667 MHz 

3.3333 MHz 

5.0000 MHz 

FREQ2 

100.00 kHz 

166.67 kHz 

333.33 kHz 

500.00 kHz 

FREQ3 

10.000 kHz 

16.667 kHz 

33.333 kHz 

50.000 kHz 

FREQ4 

1.0000 kHz 

1.6667 kHz 

3.3333 kHz 

5.0000 kHz 

FREQ5 

100.00 Hz 

166.67 Hz 

333.33 Hz 

500.00 Hz 

External sources 

In addition to the five internal sources, the frequency source for the oscillator can be an input signal connected 

to any of the five counter input pins (

INP1

 – 

INP5

) or any of the five gate pins (

GAT1

 – 

GAT5

). The input signal 

can have a maximum frequency of 20 MHz on the counter input pins, and a maximum frequency of 7 MHz on 

the gate pins.  

The table below applies to all internal and external sources. 

Oscillator sources 

Source 

Description 

CTRINPUT1 

Counter 1 input pin 

CTRINPUT2 

Counter 2 input pin 

CTRINPUT3 

Counter 3 input pin 

CTRINPUT4 

Counter 4 input pin 

CTRINPUT5 

Counter 5 input pin 

GATE1 

Counter 1 gate pin 

GATE2 

Counter 1 gate pin 

GATE3 

Counter 1 gate pin 

GATE4 

Counter 1 gate pin 

GATE5 

Counter 1 gate pin 

FREQ1 

Internal base frequency 

FREQ2 

Internal base frequency/10 

FREQ3 

Internal base frequency/100 

FREQ4 

Internal base frequency/1000 

FREQ5 

Internal base frequency/10,000 

Divider (OSC divider) 

The signal output from the 

OSC

 pin is the same frequency as the frequency source divided by a value from 1 to 

16. For example, if you select a base frequency of 

5.0000 MHz

 in 

Insta

Cal, and choose 

FREQ3

 as the internal 

frequency source (50.000 kHz from the 

Internal frequency values

 table above), and 

8

 as the oscillator divider, 

the frequency of the signal at the OSC pin is (50.000 kHz / 8) = 6.2500 kHz. 

Counter operation 

Each of the five counters performs essentially the same function: their internal value either increments or 

decrements on each rising or falling edge of their source signal. Since they are all 16-bit counters, they can 

count up from 0 to 2

16

-1 = 65,535, or down from 65,535 to 0. When counting up, 65,535 is considered to be the 

Terminal Count

 (TC); when counting down, 0 is the TC. There are a variety of configuration options that can 

be used to unlock the power of this basic functionality. 

Содержание USB-4301

Страница 1: ......

Страница 2: ...USB 4301 9513 based Counter Timer User s Guide Document Revision 5 March 2009 Copyright 2009 Measurement Computing Corporation...

Страница 3: ...n For specific information please refer to the terms and conditions of sale Harsh Environment Program Any Measurement Computing product that is damaged due to misuse or any reason may be eligible for...

Страница 4: ...No license is granted by implication or otherwise under any patent or copyrights of Measurement Computing Corporation All rights reserved No part of this publication may be reproduced stored in a retr...

Страница 5: ...Details 11 USB 4301 block diagram 11 External components 12 USB connector 12 Status LED 12 Power LED 12 Screw terminal banks 12 Counter terminals INP1 to INP5 GAT1 to GAT5 and OUT1 to OUT5 14 Digital...

Страница 6: ...21 Counter 21 Digital input output 22 Interrupt Input 22 Memory 23 Microcontroller 23 USB 5V voltage 23 LEDs 23 Power 23 USB specifications 24 Environmental 24 Mechanical 24 Screw terminal connector t...

Страница 7: ...s of manuals and help topic titles and to emphasize a word or phrase For example The InstaCal installation procedure is explained in the Quick Start Guide Never touch the exposed pins or circuit conne...

Страница 8: ...with your USB 4301 refer to the Quick Start Guide that shipped with your device The Quick Start Guide is also available in PDF at www mccdaq com PDFmanuals DAQ Software Quick Start pdf Check www mccd...

Страница 9: ...al documentation In addition to this hardware user s guide you should also receive the Quick Start Guide available in PDF at www mccdaq com PDFmanuals DAQ Software Quick Start pdf This booklet supplie...

Страница 10: ...301 To connect the USB 4301 to your system turn your computer on and connect the USB cable to a USB port on your computer or to an external USB hub that is connected to your computer The USB cable pro...

Страница 11: ...igital output 9513 CTR1 Input CTR1 Gate CTR2 Input CTR2 Gate CTR2 Output CTR3 Gate CTR3 Output CTR4 Input CTR4 Gate CTR4 Output CTR5 Input CTR5 Gate Counter 1 Counter 2 Counter 3 Counter 4 Counter 5 U...

Страница 12: ...power supply is required Status LED The Status LED indicates the communication status of the USB 4301 It flashes when data is being transferred and is off when the USB 4301 is not communicating This L...

Страница 13: ...connection DI CTL One oscillator output connection OSC One interrupt input connection INT Two voltage output power connections 5V Two ground connections GND Seven pins are reserved RSVD Do not connect...

Страница 14: ...ck gate and output sources are software selectable You can configure each counter to count up or down Digital input DI0 to DI7 and output DO0 to DO7 terminals You can connect up to eight digital input...

Страница 15: ...th this option digital outputs are not set to the value written until an active edge occurs on this pin Save the current value of a counter You can configure this option for each counter individually...

Страница 16: ...ounter 1 gate pin GATE2 Counter 1 gate pin GATE3 Counter 1 gate pin GATE4 Counter 1 gate pin GATE5 Counter 1 gate pin FREQ1 Internal base frequency FREQ2 Internal base frequency 10 FREQ3 Internal base...

Страница 17: ...as two associated 16 bit registers which can be used to store count values the Load register and the Hold register The Load register is used to load the starting value for the counter The Hold registe...

Страница 18: ...s it easy to decode long binary numbers For example 0b1001 0001 0000 1001 equals 9109 in BCD Binary Coded Decimal mode and equals 37 129 in binary mode In BCD mode the counter can only contain values...

Страница 19: ...onfigure Counter 1 1 Using InstaCal configure the counter 1 source for 1 MHz As shown in the Internal frequency values table on page 16 an internal base frequency of 1 0000 MHz corresponds to FREQ1 Th...

Страница 20: ...is option is active the digital inputs always return the same value until a new active edge is received on the interrupt pin When the active edge is received the current value is latched at the input...

Страница 21: ...l or edge counter 1 5 gate input Active high level previous gate or next gate All external gate signals GATx individually pulled up through 47 K resistors to 5 V Internal Active high previous counter...

Страница 22: ...ll down configurations are available using the DI CTL terminal block pin 19 The pull down configuration requires the DI CTL pin pin 19 to be connected to a GND pin pin 10 20 38 or 48 For a pull up con...

Страница 23: ...ange terminal block pin 8 and 18 Connected to self powered hub Note 4 4 75 V min to 5 25 V max User 5V output current terminal block pin 8 and pin 18 Bus powered and connected to a self powered hub No...

Страница 24: ...ND min 28 AWG D D USB cable length 3 meters max Environmental Table 10 Environmental specifications Operating temperature range 0 to 60 C Storage temperature range 40 to 85 C Humidity 0 to 90 non cond...

Страница 25: ...round 11 RSVD Do not connect 39 RSVD Do not connect 12 RSVD Do not connect 40 RSVD Do not connect 13 RSVD Do not connect 41 RSVD Do not connect 14 RSVD Do not connect 42 RSVD Do not connect 15 RSVD Do...

Страница 26: ...the following conditions must be met The host computer peripheral equipment power sources and expansion hardware must be CE compliant Equipment must be operated in a controlled electromagnetic enviro...

Страница 27: ...Measurement Computing Corporation 10 Commerce Way Suite 1008 Norton Massachusetts 02766 508 946 5100 Fax 508 946 9500 E mail info mccdaq com www mccdaq com...

Отзывы: