Joined: 14 Jan 2007 Posts: 2 Location: South Africa
ex_usb_serial and RTS
Posted: Sun Jan 14, 2007 6:21 am
I'm using ex_usb_serial on the PICDEM FS USB Demo Board with virtual serial port. I only made minor changes like pin assignments etc.
I would like to get the RTS and DTR status from the virtual port. The DTR as well as the RTS information can be seen in usb_ep0_rx_buffer[2] (DTR = bit 0 and RTS = bit 1). My problem is the DTR information is always up to date, but RTS not.
Is there a way to fix this or perhaps a better way to get the RTS status?
Thank you.
zr4
Joined: 14 Jan 2007 Posts: 2 Location: South Africa
Posted: Sat Jan 20, 2007 3:15 am
When I change the DTR state it jumps to the USB ISR and updates both the RTS and DTR states, but if I change only the RTS state it doesn't go to the USB ISR and the state is not updated.
Does this mean that it is the driver on the PC that does not send the RTS information?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum