EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Set_Max_Counts; Set_Mcbsp_Freq

Scanlab RTC6 PCIe Board
1004 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
685
innovators for industry
Ctrl Command set_max_counts
Function Defines the maximum number of External Starts.
Call
set_max_counts( Counts )
Parameters
Counts
Maximum number of External Starts.
As an unsigned 32-bit value.
Allowed value range: [0…(2
32
–1)].
Comments When the specified number of External Starts has been reached, the external start
input is disabled (see set_control_mode, Bit #0 = 0).
If
Counts
= 0, the number of External Starts is unlimited.
When the RTC6 is initialized (by load_program_file),
Counts
is set to 0.
The current number of External Starts can be read from the corresponding internal
counter by get_counts. The counter can be reset by set_control_mode.
RTC4RTC6 Unchanged functionality. In addition: increased value range.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References get_counts, set_control_mode
Ctrl Command set_mcbsp_freq
Function Sets the transmission frequency of the McBSP interface.
Call
mcbsp_freq = set_mcbsp_freq( Freq )
Parameters
Freq
Desired transmission frequency of the McBSP interface in Hz.
As an unsigned 32-bit value.
Allowed value range: [4000000…16000000] (4…16 MHz).
Out-of-range values are clipped to the boundary values.
Out-of-range values cause the get_last_error return code
RTC6_PARAM_ERROR
to
be generated.
Result The actually set frequency in Hz.
As an unsigned 32-bit value.
With overflowing values 0 is returned.
Comments The default transmission frequency (after initialization) is 8 MHz (
Freq
= 8,000,000).
Because not every arbitrary frequency can be implemented, set_mcbsp_freq returns
the actually set frequency.
Example:
mcbsp_freq = set_mcbsp_freq(7,000,000);
returns
mcbsp_freq = 7,200,000
.
The new transmission frequency only becomes effective when you re-initialize the
McBSP interface by mcbsp_init.
The signals and operating conditions of the McBSP interface are presented in the
Chapter 4.6.6 ”McBSP/ANALOG Socket Connector”, page 84.
Note: The receiving frequency is exclusively determined by the incoming clock pulses
and has a maximum limit of 16 MHz.
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References mcbsp_init, set_mcbsp_out, set_mcbsp_out_ptr

Table of Contents