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

What PIC do I need? (USB to cell phone)

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



Joined: 15 Sep 2003
Posts: 36

View user's profile Send private message

What PIC do I need? (USB to cell phone)
PostPosted: Tue Jun 08, 2004 12:04 pm     Reply with quote

Hello List,

I need to do an interface between a cell phone (Siemens A56) for which I have a data cable (USB). I need to send AT commands to the phone, I've done this using RS232 cable but now I would like to do it through the USB cable.

What PIC do I need to use?
Does CCS supports USB?

Max baud rate would be 9600

Best regards
Peter
William H. Conley III



Joined: 27 May 2004
Posts: 17
Location: Tucson, AZ

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Tue Jun 08, 2004 1:03 pm     Reply with quote

CCS has examples....

Most any pic would work, you need an exteranl USB driver.
I would recommend the PIC18FXXX


-bc
dbotkin



Joined: 08 Sep 2003
Posts: 197
Location: Omaha NE USA

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Wed Jun 09, 2004 12:21 pm     Reply with quote

The fun part will be figuring out how to play USB host. If all you need to do is see the phone connected and send one string, or do the same sequence of actions, you may be able to get by with faking just enough of the process to make the device think it's connected to a "real" host.

The CCS USB examples don't handle the host end of USB, but if you read through them you can gete some pretty interesting insight into what the USB device expects to see from the host.

You will probably want to buy a copy of USB Complete: Everything You Need to Develop Custom USB Peripherals by Jan Axelson before you get very far into this. It's not a simple plug-in-and-go thing like serial.
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