EmbeddedRelated.com
Forums

PL2303 driver guide ?

Started by trungnl November 29, 2005
"trungnl" <ngolamtrung@yahoo.com> wrote in message
news:z7SdnaMGFbQ4sRDeRVn-rw@giganews.com...
> > >You have to poll the PL2303 for that. > > Thanks Meindert, > > I have implemented a polling mechanism to get data from PL2303 to the > embedded host. But there is another problem > > According to PL2303's spec, the chip has an 256-byte-buffer for each Tx > and Rx operation. But when I transfer a large amount of data (about 3KB) > to the RS232 interface of PL2303, the USB host can only read a few bytes > from the USB interface. It seems that the data in PL2303's buffer has lost > so I cannot read all the data transfered to RS232 interface.
Without knowing all the details, I'd say: poll more often. You have to at least poll often enough not to let your 256 buffer fill up. Meindert