Re: PL2303 driver guide ?



"trungnl" <ngolamtrung@xxxxxxxxx> wrote in message
news:xsadnTWnQpEQ_hHeRVn-ug@xxxxxxxxxxxxxxx
> Actually I am writting the PL2303 driver base on some reverse-engineered
> information retrieved by monitoring the data transfer process between a
> PL2303-based USB-RS232 cable and PC. Now I can enumerate the PL2303, set
> the COM settings like baudrate, stop bits, parity... I can send as many
> data as I like from the embedded USB host to PL2303 as well. But there is
> still a big problem because the host cannot get data from PL2303.
> Now I need some more information on:
> 1. How to be notified when there's some data in the Receive buffer of
> PL2303.

You have to poll the PL2303 for that. Remember, USB is a master/slave system
where a slave NEVER starts transmitting by itself. Transmission of a slave
is always a response to a request from the master.

Meindert


.