CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

ex_usb_serial and RTS

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
zr4



Joined: 14 Jan 2007
Posts: 2
Location: South Africa

View user's profile Send private message

ex_usb_serial and RTS
PostPosted: Sun Jan 14, 2007 6:21 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sat Jan 20, 2007 3:15 am     Reply with quote

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?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group