
|
INFO - FAQ - CC2-Forum - CCPro-Forum |
|
Using the test programs listed below and a scopemeter I got the following results (listed in the test programs). These results may help you in designing your own hard/software. Greetings, H.J. Windt '----------------------------------------------------------------------------------------------------' '*************************************************************************' '* WINDT SYSTEMS *' '*OUTPUT FREQUENCY AND PULSE LENGTH TEST v1.0 for CCIUM2.01 with CCIAB2.0*' '* H.J. WINDT *' '* 2004 *' '*************************************************************************' '----------------------------------------------------------------------------------------------------' 'Test the max output frequency and pulse length of a port by making that port 0, then 1 and looping.' 'Results:' 'Frequency is about 9.31kHz' 'HIGH Pulse length is about 40uS = 0,04mS' '----------------------------------------------------------------------------------------------------' '*************** IN and OUTS ***************' define output port[1] '*******************************************' '**************** VARIABLES ****************' '*******************************************' '**************** CONSTANTS ****************' '*******************************************' '****************** SETUP ******************' output = 0 '*******************************************' '***************** PROGRAM *****************' #start output = 1 output = 0 goto start '*******************************************' '****************** DATA *******************' '*******************************************' '----------------------------------------------------------------------------------------------------' '**********************************************************************' '* WINDT SYSTEMS *' '*TOG FREQUENCY AND PULSE LENGTH TEST v1.0 for CCIUM2.01 and CCIAB2.01*' '* H.J. WINDT *' '* 2004 *' '**********************************************************************' '----------------------------------------------------------------------------------------------------' 'Test the output frequency and pulse length of a port by togging that port and looping.' 'Results:' 'Frequency is about 17.75kHz' 'HIGH Pulse lenght is about 19uS = 0,019mS' '----------------------------------------------------------------------------------------------------' '*************** IN and OUTS ***************' define output port[1] '*******************************************' '**************** VARIABLES ****************' '*******************************************' '**************** CONSTANTS ****************' '*******************************************' '****************** SETUP ******************' output = 0 '*******************************************' '***************** PROGRAM *****************' #start tog output tog output goto start '*******************************************' '****************** DATA *******************' '*******************************************' '----------------------------------------------------------------------------------------------------' '************************************************************************' '* WINDT SYSTEMS *' '*PULSE FREQUENCY AND PULSE LENGTH TEST v1.0 for CCIUM2.01 with CCIAB2.0*' '* H.J. WINDT *' '* 2004 *' '************************************************************************' '----------------------------------------------------------------------------------------------------' 'Test the output frequency and pulse length of a port by pulsing that port and looping.' 'Results:' 'Frequency is about 26.68kHz' 'HIGH Pulse lenght is about 850nS = 0,00085mS' '----------------------------------------------------------------------------------------------------' '*************** IN and OUTS ***************' define output port[1] '*******************************************' '**************** VARIABLES ****************' '*******************************************' '**************** CONSTANTS ****************' '*******************************************' '****************** SETUP ******************' output = 0 '*******************************************' '***************** PROGRAM *****************' #start pulse output goto start '*******************************************' '****************** DATA *******************' '*******************************************' |
| Antwort schreiben |