![HOLT ADK-2130mPCIe Скачать руководство пользователя страница 22](http://html1.mh-extra.com/html/holt/adk-2130mpcie/adk-2130mpcie_technical-manual_2146798022.webp)
Holt Integrated Circuits
22
Hardware Description
The Holt Mini PCIe card features two Holt HI-2130 dual-redundant multi-terminals on a 50.95mm x
30mm form factor per the PCI Express Mini Card Electromechanical Specification. A Xilinx XC7A12T FPGA
serves as the interface between two HI-2130s and the PCIe Gen2 bus. The host communicates with the
card using the built-in PCIe drivers in the Linux OS once a PCIe link is established after power up.
FPGA HI-2130 Dev0 and Dev1 control signals
A common parallel 16-bit address and data bus is implemented in the FPGA to communicate to the two
HI-2130 devices (Dev0/Dev1). These signals are shown on page 2 of the schematics.
The terminal control signals for both devices ( HI-2130) are connected to FPGA I/O which are controlled
by the host using a memory mapped software write function to access the I/O registers 0x8000 –
0x8013. Signals that are writable are set high by writing a 1 or a 0 to set it low. For example to set
BCENA high for device 0: The Chan parameter specifies device 0 or device 1 by setting the parameter to
0 or 1.
HoltRegWrite(Chan, P_BCENA, 1); // Chan=0 for Dev0.
Demo Mode vs. User Mode
For ease of software demonstration a Demo Mode is selected when location INPUT_CONTROL (0x800D)
is set low and a User Mode is selected when it is high. The power up default is Demo Mode.
In Demo Mode some of the control signals are preset in their enabled states by default so the terminals
are all enabled: BCENA =1, RTENA=1 and MTENA=1 etc.
In User Mode the user can set any combination of BC, RT or MT enable control signals to enable or
disable any of these terminals of each device. In User Mode two control signals, BCENA and BCTRIG,
are sourced from the J4 connector pin.
To select User Demo Mode or User Mode use the write function:
HoltRegWrite(Chan, INPUT_CONTROL, 0); // 0=demo mode (default)
HoltRegWrite(Chan, INPUT_CONTROL, 1); // 1=user mode
When demo software is configured for ‘Demo mode - default’ the BCENA0 and BCENA1 pins from the
FPGA to the devices are settable by software. When in “User” mode both BC enables follow the J4
connector states. By default, both BC enables are disabled. To enable a BC the user must ground the BE
Enable pin on the connector. The BCTRIG0 and BCTRIG1 inputs are provided but are not currently used
in the demos.
Console menu command ‘0’ can be used to select between User and Demo mode. Console menu
command ‘f’ reads all the signals from each device and displays the states of each signal.
Содержание ADK-2130mPCIe
Страница 1: ...AN 2130mPCIe_New 01 20 ADK 2130mPCIe Technical Manual Jan 16 2020...
Страница 2: ...This page intentionally blank...
Страница 13: ...Holt Integrated Circuits 13...
Страница 32: ...Holt Integrated Circuits 32 Figure 3 Board References...