Prev: MSP430 --> AD421 DAC current loop problem
Next: Need schematic to make programmer for PIC18 family PICs
From: Meindert Sprang on 30 Nov 2005 01:55 "trungnl" <ngolamtrung(a)yahoo.com> wrote in message news:z7SdnaMGFbQ4sRDeRVn-rw(a)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
First
|
Prev
|
Pages: 1 2 3 Prev: MSP430 --> AD421 DAC current loop problem Next: Need schematic to make programmer for PIC18 family PICs |