VITA 57 Development Kit User's Guide
Troubleshooting
Page 12
SD.DT.F79-0e
4.4.2.1
Enable buffers
Set DXEN abd DXEN1516 as outputs:
# gpio
−
c 8
−
s GPIO_Control
−
v 0x3
Set DXEN and DXEN1516 to level 1 to enable all TXn outputs:
# gpio
−
c 8
−
s GPIO_DataOut
−
v 0x3
the command above is suitable for FMC-SER0 PCB B. On FMC-SER0 PCB A, the RS232 or RS422/485
mode is controlled by DXEN1516 for all TXn/RXn:
>
to set to RS232:
# gpio
−
c 8
−
s GPIO_DataOut
−
v 0x1
>
to set to RS422/485:
# gpio
−
c 8
−
s GPIO_DataOut
−
v 0x3
4.4.2.2
Test a channel
The test below is done on channel 0: TX1/RX1, TX2/RX2. It must also be done on other channels (1 to 7) by
replacing the "-c 0" with "-c 1" to "-c 7".
Set TX signals as outputs (TX1 and TX2)
# gpio
−
c 0
−
s GPIO_Control
−
v 0xa