I am trying to establish a serial link with a Vinculum VDIP1 chip from a OP6800. This is how I have setup the connections:
For the OP6800 the following I/O lines are used:
OP6800 VDIP1
----------------------------------------------------
GND --- GND
RxC (/CTS)<-- /RTS (AD2)
+5V --- +5V
TxB (---) --> Rx (AD1)
RxB (---) <-- Tx (AD0)
TxC (/RTS) --> /CTS (AD3)
IN12 (---) <-- /DATAACK#(AD4)
OUT06 (---) --> /DATAREQ#(AD5)
This is the initial code I have:
void main()
{
brdInit(); //required for OP6800 series boards
// Initialize serial portB, set baud rate to 9600
serBopen(9600);
serBwrFlush();
serBrdFlush();
// Initialize serial portC, set baud rate to 9600
serCopen(9600);
serCwrFlush();
serCrdFlush();
serMode(1);
for(;
{
}
}
For what I understand the leds on the VDIP1 should flash and then turn solid when I power up. In my case the leds never stop flashing.
Can anyone help?
Thank you,
Andrea Zaccagnino