Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/27/07 16:41
Read: times


 
#131604 - a guess and a suggestion
Responding to: ???'s previous message
Do You have 10K pullups on i2c ? Sometimes this helps.
Since this is a thermometer, it would be likely that it was far from the processor. The IIC bus does not handle long connectins very well. Ph ARGH NXP has IIC buffers that alleviate this some, read the datasheets as to what interconnect capacitance they can handle. Anyhow, if there is any wire length to speak of then 10k will never do it. To debug use the smallest resistor the Ioh max for the devices will allow. OR put the thermometer chip next to your uC and see what happens. Anyhow you can find thousands of bit-bang IIC codes on the net, there will even be some right here in the code library. If you use one of those posted by an active member, you would, very likely, get fast replies to whatever problems you have.

Second: Try to descript Your code or include in question
The statement "it does not work" is not very helpful.

post your indented and commented code using use <pre> and </pre>


Erik


List of 9 messages in thread
TopicAuthorDate
interface ds1621 with 8051            01/01/70 00:00      
   A mistake in your code            01/01/70 00:00      
   LCD            01/01/70 00:00      
   interface ds1621 with 8051            01/01/70 00:00      
      possibilities            01/01/70 00:00      
   you specify generic 8051            01/01/70 00:00      
      rply            01/01/70 00:00      
   Your question is not correct,Ramandeep            01/01/70 00:00      
      a guess and a suggestion            01/01/70 00:00      

Back to Subject List