RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
695
Undelayed
Short List
Command
set_mcbsp_out
Function Defines two signal types for output at the McBSP interface, see also Chapter 4.6.6
”McBSP/ANALOG Socket Connector”, page 84.
Call
set_mcbsp_out( Signal1, Signal2 )
Parameters
Signal1
To-be-outputted signal type.
As an unsigned 32-bit value.
Signal2
To-be-outputted signal type.
As an unsigned 32-bit value.
Comments • The selectable signal types are identical to those of set_trigger (refer to the comments
there for the allowed value range, signal types and other information). If the value for
Signal1
/
Signal2
is unallowed, then set_mcbsp_out is replaced by list_nop
(get_last_error return code
RTC6_PARAM_ERROR
).
• Both selected data signals are continuously transmitted (once per 10 µs cycle).
• Only 16-bit portions of the selected data signals are packed into a common 32-bit data
word for output.
Signal1
is the lower half and
Signal2
the upper half of this 32-bit data
word.
– Only RTC4-compatible Bit #4…Bit #19 of the sample values and status values
returned by the scan system (
Signal1, Signal2 =
1…23, 25…30) are outputted. The
least significant 4 bits and any exceeding bits (in the virtual Image Field) are ignored.
– For the other data types (
Signal1, Signal2 =
0, 24, 31…57), the least significant 16
bits are outputted and the upper bits are ignored.
– McBSP_Output = (( Out2 & 0x0000FFFF ) << 16 ) | ( Out1 & 0x0000FFFF ));
• Transmitted values are those of the preceding clock cycle: data is processed at the end
of a cycle and transmitted at the beginning of the next clock cycle at the set
transmission frequency (see set_mcbsp_freq).
• The signals and operating conditions of the McBSP interface are presented in
Chapter 4.6.6 ”McBSP/ANALOG Socket Connector”, page 84.
RTC4RTC6 New command.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References read_mcbsp, mcbsp_init, set_mcbsp_freq, set_mcbsp_out_ptr, set_trigger