EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Interface; Mcbsp Interface

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
9 Programming Peripheral Interfaces
287
innovators for industry
9.1.6 RS-232 Interface
The RS232 socket connector provides an RS-232
interface, see Chapter 4.6.5 ”RS232 Socket
Connector”, page 83.
For configuring the RS-232 interface, see
Chapter 4.6.5 ”RS232 Socket Connector”, page 83.
rs232_write_data can be used to send single data
words (bytes) to the RS-232 interface. Texts can be
sent to the interface by rs232_write_text or
rs232_write_text_list.
9.1.7 McBSP Interface
At the McBSP interface, see Chapter 4.6.6
”McBSP/ANALOG Socket Connector”, page 84, a
32-bit data word every 10 µs at DX0 pin (07) is
permanently outputted.
The set_mcbsp_out and set_mcbsp_out_ptr
commands allow selection of the signal types
(analogously to set_trigger) to be outputted there:
set_mcbsp_out lets you specify two signal types
for simultaneous output at the McBSP interface.
A 16-bit portion of the first signal type is packed
along with a 16-bit portion of the second signal
type into a 32-bit data word for output every
10 µs. For a detailed description, see
set_mcbsp_out
set_mcbsp_out_ptr lets you define a list of up to
8 signal types. The signals are outputted
sequentially in the specified order. For every
10 µs clock cycle, the lower 24 bits of the
corresponding data signal and the associated
signal type number (8 bits) are packed into a
32-bit data word and outputted at the
McBSP interface. For a detailed description, see
set_mcbsp_out_ptr.
Notes
For signals and operating conditions, see
Chapter 4.6.6 ”McBSP/ANALOG Socket
Connector”, page 84.
In the default setting, the McBSP interface always
outputs Bit #4…Bit #19 of the Cartesian control
values for the x axis and y axis (SampleX and
SampleY) in a common 32-bit data word. This is
equivalent to specifying
set_mcbsp_out(7, 8)
.
Signals specified by set_mcbsp_out or are
outputted (with set_mcbsp_out_ptr
sequentially) until you call one of these two
commands again.
OIE Output Mode, page 696 can be set at the
McBSP interface by set_mcbsp_out_oie_ctrl and
set_mcbsp_out_oie_list.

Table of Contents