Home     Company     Products     Services     Community     Download     Store
    [Home arrow Community arrow Forum ]
Community
Community
Login Form





Lost Password?
No account yet? Register
Evidence Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Even more questions on I2C (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Even more questions on I2C
#184
Alberto_82 (User)
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
Gender: Male alberto_savioli@libero.it Location: Mantova Birthdate: 1982-12-09
Even more questions on I2C 3 Months, 1 Week ago Karma: 1  
Hi to all, guys!
My problems with i2c bus are driving me crazy!
I've tried to dial with a compass, HMC6352 by Honeywell, but I didn't receive no answers. So I've taken my oscilloscope to see if signals sequence on pins RG3_PIN56 and 57 (i2c port n°1) was right.. Surprise: no signal were sent by the Flex to the sensor. I tried to set and reset I2C1CONbits.I2CEN bit, to send the sensor as start sequence by the I2C1CONbits.SEN bit, but the line was kept low.
I don't know what to do...
Please help me!!

Tnx...

/Alberto
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#185
paolo.gai (Admin)
Admin
Posts: 116
graph
User Offline Click here to see the profile of this user
Re:Even more questions on I2C 3 Months, 1 Week ago Karma: 4  
Alberto,

did you used the I2C code we used for the I2C compass in the _embed_ded World 2007 demo? I remember I have seen the device working...

bye

PJ
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#186
Alberto_82 (User)
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
Gender: Male alberto_savioli@libero.it Location: Mantova Birthdate: 1982-12-09
Re:Even more questions on I2C 3 Months, 1 Week ago Karma: 1  
yes I did! But nothing works...
The problem is that I have to use it for my Thesis.. I'm of University of Pavia, Tullio is my supervisor and told me to contact you!!

Bye,
/Alberto
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#188
nino (Moderator)
Moderator
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:Even more questions on I2C 3 Months, 1 Week ago Karma: 2  
You remembered to put the pull-up resistors on I2C bus clock and data lines?

You respected all the init phases? TRISxbits for directions, clock multipliers compatible with the system clock and so on?

Nino
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#190
Alberto_82 (User)
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
Gender: Male alberto_savioli@libero.it Location: Mantova Birthdate: 1982-12-09
Re:Even more questions on I2C 3 Months, 1 Week ago Karma: 1  
Ehm... not at all! Where does the pull up resistors might be placed? I didn't know that, sorry. Is it on the EE docs? I'm going to try finding it, now.
Talkin' about the TRISxbits: yes, I think I've setted it in the right way, looking to the "pic30__embed_ded_World_2007" example.
I'm working to obtain something, now...
Thanks!!!

/Alberto
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/09/25 10:56 By Alberto_82.
  The administrator has disabled public write access.
#191
nino (Moderator)
Moderator
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:Even more questions on I2C 3 Months, 1 Week ago Karma: 2  
In the demo folder you also can find the schematich for the homemade board. In that you can spot the resistors with the right placement and value.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Evidence S.r.l. - PIVA: 01638690501
Via Carducci 64/A - Ghezzano - Pisa - Italy
Privacy Policy