Society of Robots - Robot Forum
Software => Software => Topic started by: pchan on November 29, 2009, 11:30:34 PM
-
im trying to use the cp2102 si-labs converter, however im not having any success connecting with the blob java console, i only wired up the rx and tx lines, is cts/rts required as well for hardware flow control? has anyone else had luck with the cp2102?
-
i grounded pin-17 on the srv-1 to disable hw flow control, this did the trick. cp2102 works with just tx/rx connected, thanks all for the info.
from uart.c line starting from 126:
void uart0SendChar(unsigned char c)
{
while (*pPORTHIO & 0x0001) // hardware serial flow control -
continue; // S32 pin 17 should be grounded to disable
while (!(*pUART0_LSR & THRE))
continue;
*pUART0_THR = c;
}
-
Exactly. Note that pin 16 on the 32-pin header is GND, so you just need to connect pin 16 <=> pin 17 to override the hardware flow control.