Crystal frequency for I2C when using a PIC

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Stanga
Posts: 35
Joined: Sat Aug 07, 2010 10:17 am
Been thanked: 2 times
Contact:

Crystal frequency for I2C when using a PIC

Post by Stanga »

Is there a specific crystal frequency that I should use with say a PIC16F873A? I wish to read and write to a I2C enabled chip that has a maximum 400KHz bus speed. But I have not been able to find any reference regarding what frequency or range of frequency the PIC crystal has to adhere to for correct I2C bus speed.

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: Crystal frequency for I2C when using a PIC

Post by dazz »

Hi
Have a read of the attached doc, it should help

Regards
Dazz
Attachments
UM10204.pdf
(1.31 MiB) Downloaded 243 times
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

Post Reply