VITA 57 Development Kit User's Guide
Troubleshooting
SD.DT.F79-0e
Page
11
>
it is also possible to set a register and read back the value of all registers in one command. For example
the following lines :
# gpio
−
c 9
−
s GPIO_DataOut
−
v 0x2aa
# gpio
−
c 9
−
g GPIO_In
GPIO_In
−
> 0x000003FF
can be replaced with:
# gpio
−
c 9
−
u
−
s GPIO_DataOut
−
v 0x2aa
****************************************************************
Channel: 9 => 10 GPIOs
****************************************************************
GPIO_Control XXXXXXXXXXXXXXXXXXXXXX1010101010 0x000002AA
GPIO_DataOut XXXXXXXXXXXXXXXXXXXXXX1010101010 0x000002AA
GPIO_In XXXXXXXXXXXXXXXXXXXXXX1111111111 0x000003FF
GPIO_IntMask XXXXXXXXXXXXXXXXXXXXXX1111111111 0x000003FF
GPIO_IntPolarity XXXXXXXXXXXXXXXXXXXXXX0000000000 0x00000000
GPIO_IntMode XXXXXXXXXXXXXXXXXXXXXX0000000000 0x00000000
GPIO_IntToggle XXXXXXXXXXXXXXXXXXXXXX0000000000 0x00000000
GPIO_IntStatus XXXXXXXXXXXXXXXXXXXXXX0000000000 0x00000000
****************************************************************
GPIO_GlobalStatus 00000000000000000000000000000000
****************************************************************
>
for more info on "GPIO" command:
# gpio
−
h
4.4.2
FMC TXn/RXn signals
These signals can be set for RS232 or RS422/485 mode.
On FMC-SER0 PCB B:
>
the TXn buffers are enabled by the DXEN (for TX1 to TX14) and DXEN1516 (for TX15 and TX16) signals,
when set to level 1.
>
the RS232 or RS422/485 mode is set by switches and can be overridden by software with LED1R_SW1
(TX1/RX1 to TX4/RX4), LED1G_SW2 (TX5/RX5 to TX8/RX8), LED2R_SW3 (TX9/RX9 to TX12/RX12), and
LED2G_SW4 (TX13/RX13 to TX16/RX16). Level 1 for RS422/485; 0 for RS232.
On FMC-SER0 PCB A:
>
all TXn buffers are enabled by the DXEN signal when set to level 1 - DXEN1516 is called MODE and selects
RS232 or RS422/485 for all TXn. Level 1 for RS422/485; 0 for RS232.
The procedure below assumes that a FMC-SER0 PCB B is used.