0

I found several tutorials online on how to change the I2C speed on RPi3. They all boil down to this one. The script does work and I do read a 400000 value. However when I look at the scope my frequency is about 246KHz. I also tried setting it to 100000 and got back a frequency on the scope equal to 62KHz. What's going on? Should I be using different values?

  • so, fairly consistent - you say "about 246K" and "equal to 62K" - so, is 248K (i.e. 62 * 4) about 246K? – Jaromanda X May 8 '18 at 4:26
  • Why do you care? SCL is NOT a continuous clock. – Milliways May 8 '18 at 4:53
  • @Milliways The driver doesn't seem to sample input correctly from my slave device which runs at 100KHz. I did try changing the value but the error still persists. It looks like there is a mismatch between hardware and software. – flashburn May 8 '18 at 23:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.