Re: PL2303 driver guide ?
- From: "Meindert Sprang" <mhsprang@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 30 Nov 2005 07:55:02 +0100
"trungnl" <ngolamtrung@xxxxxxxxx> wrote in message
news:z7SdnaMGFbQ4sRDeRVn-rw@xxxxxxxxxxxxxxx
>
> >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
.
- References:
- PL2303 driver guide ?
- From: trungnl
- Re: PL2303 driver guide ?
- From: Michael N. Moran
- Re: PL2303 driver guide ?
- From: trungnl
- Re: PL2303 driver guide ?
- From: Meindert Sprang
- Re: PL2303 driver guide ?
- From: trungnl
- PL2303 driver guide ?
- Prev by Date: Instruction Set Simulator Book/Links
- Next by Date: Re: Debugging assembly
- Previous by thread: Re: PL2303 driver guide ?
- Next by thread: Re: PL2303 driver guide ?
- Index(es):
Relevant Pages
|