|
|
|
|
|
|
|
Even more questions on I2C (1 viewing) (1) Guests
Favoured: 0
|
|
|
TOPIC: Even more questions on I2C
|
|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access. |
nino (Moderator)
Moderator
Posts: 15
|
|
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
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
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
|
|
|
|
|
|
|
Last Edit: 2008/09/25 10:56 By Alberto_82.
|
|
|
The administrator has disabled public write access. |
nino (Moderator)
Moderator
Posts: 15
|
|
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.
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
|
|
|
|
|
 |
Evidence S.r.l. - PIVA: 01638690501
Via Carducci 64/A - Ghezzano - Pisa - Italy
|
Privacy Policy
|
 |
|
|