Notices

X30 Hardware Troubles Axim X30 Hardware Discussions

Reply
 
LinkBack Thread Tools
Old 03-24-09, 04:32 AM   #1 (permalink)
Aximsite Prospect
 
Join Date: Mar 2009
Posts: 4
Thanked 0 Times in 0 Posts
axim x3: CTS & DSR

Hi,

I am looking for a way to connect 2 external switches to my x3 (and x50v). I have not made any progress with my original idea of using the USB DATA+ and DATA- lines. I therefore attempted to use the DSR and CTS lines (x3 pins 19 & 16) directly at the connector (no level shifter or other circuitry connected). Normally, the DSR line has a H (3.3V) level. When I boldly ground the DSR pin, the following call

DWORD dwstatus;
GetCommModemStatus(hport, &dwstatus);

(hport previously set with CreateFile(..)) will always reveal that the bits MS_RLSD_ON **and** MS_DSR_ON are set. Changing the level of the CTS pin does not appear to have any effect on dwstatus; when I let DSR float again, both MS_RLSD_ON and MS_DSR_ON become 0.

When I ground only the DSR pin and query the line status with WaitCommEvent(..), EV_CTS **and** EV_DSR will be set. Again, changing the level of the CTS pin does not appear to have any effect (I did not forget to set both the EV_CTS and EV_DSR bits with SetCommMask(..) ).

Any suggestions?

Thanks,

Fred

Last edited by FredHS; 03-24-09 at 04:33 AM. Reason: typo corrected
FredHS is offline   Reply With Quote
Sponsor Ads
Reply

Tags
axim, cts, dsr

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:39 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC