Author Topic: Blackfin camera console - cp2102  (Read 2720 times)

0 Members and 1 Guest are viewing this topic.

Offline pchanTopic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
Blackfin camera console - cp2102
« 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?


Offline pchanTopic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
Blackfin camera console - cp2102
« Reply #1 on: November 30, 2009, 12:14:17 AM »
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;
}

Offline hgordon

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 373
  • Helpful? 7
    • Surveyor Robotics Journal
Blackfin camera console - cp2102
« Reply #2 on: November 30, 2009, 10:14:11 AM »
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.
Surveyor Corporation
  www.surveyor.com

 


Get Your Ad Here

data_list