(07-26-2016, 07:09 AM)MarkHaysHarris777 Wrote:(07-26-2016, 02:59 AM)khgoh Wrote: Hi,
I found the problem that cause the I2c communication brake down when installing the I2c POT. The problem is due to the internal pull up feature is not enabled by default on the i2c i/o pin. I manage to come up with a small program that enable the internal pull up for the I2c Pin. You can download it from the wiki page. The archive is included with the source code and the compiled binary (I use ubuntu 20160716-1 image with gcc to compile the code).
You just need to execute the program once (with root access privilege) to enable the internal pull. After that, you can test it out using the i2cdetect to detect the i2c devices.
../KH Goh
kh goh, thank you very much. I will have a couple of the guys on the irc channel test this too, with the debian image (as will I ).
This is really good news ! ... thank for your work !
marcus
Thank you very much! This is COOL!
As I undestand you switch on pull up resistors? You using pullup register to do that?