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

I2C GPS communication Problem

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







I2C GPS communication Problem
PostPosted: Tue Dec 16, 2008 5:25 am     Reply with quote

Hi All,
I am using a ublox5 GPS receiver that is connected to a PIC16F88.
I am trying to communicate via the i2c without success it always returns 0xFF back.

Could someone help me please.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Dec 16, 2008 12:14 pm     Reply with quote

Read their document on the i2c bus:
http://www.u-blox.com/customersupport/gps.g5/DDC_Implementation_AppNote(GPS.G5-X-08023).pdf

1. Make sure you have the pull-up resistors as shown in Figure 1
on page 4.

2. Make sure you understand the note at the start of Section 2.2 on
page 5. Read about how the slave address of 0x42 is really 0x84, when
combined with the R/W bit. (This is the way that CCS uses it, so make
sure you are using 0x84 as the address).
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