VITA 57 Development Kit User's Guide
Troubleshooting
SD.DT.F79-0e
Page
13
Check TX/RX signals when configured for RS422/485. The level set on TX1 must be also read on RX1, but
setting a level on TX2 does not change RX2 as we are in differential mode: TX1/TX2 and RX1/RX2 are the same
pair.
# gpio
−
c 0
−
s GPIO_DataOut
−
v 0x8 # TX1=1, TX2=0
# gpio
−
c 0
−
g GPIO_In # must read TX1=RX1=1, TX2=RX2=0
GPIO_In
−
> 0x00000009
# gpio
−
c 0
−
s GPIO_DataOut
−
v 0x2 # TX1=0, TX2=1
# gpio
−
c 0
−
g GPIO_In # must read TX1=RX1=RX2=0, TX2=1
GPIO_In
−
> 0x00000002
# gpio
−
c 0
−
s GPIO_DataOut
−
v 0x0 # TX1=0, TX2=0
# gpio
−
c 0
−
g GPIO_In # must read TX1=RX1=TX2=RX2=0
GPIO_In
−
> 0x00000000
#
Check TX/RX signals when configured for RS232. The level set on TX1 must be also read on RX1, and the level
set on TX2 must be also read on RX2 (TX1/TX2 and RX1/RX2 are independant).
# gpio
−
c 0
−
s GPIO_DataOut
−
v 0x8 # TX1=1, TX2=0
# gpio
−
c 0
−
g GPIO_In # must read TX1=RX1=1, TX2=RX2=0
GPIO_In
−
> 0x00000009
# gpio
−
c 0
−
s GPIO_DataOut
−
v 0x2 # TX1=0, TX2=1
# gpio
−
c 0
−
g GPIO_In # must read TX1=RX1=0, TX2=RX2=1
GPIO_In
−
> 0x00000006
# gpio
−
c 0
−
s GPIO_DataOut
−
v 0x0 # TX1=0, TX2=0
# gpio
−
c 0
−
g GPIO_In # must read TX1=RX1=TX2=RX2=0
GPIO_In
−
> 0x00000000
#