I2C Board rate genarator

Status
Not open for further replies.

PA3040

Advanced Member level 3
Joined
Aug 1, 2011
Messages
883
Helped
43
Reputation
88
Reaction score
43
Trophy points
1,308
Activity points
6,936
Dear All,
This is related to pic16f877a mcu I2C peripheral.


1.As per the attached picture could you please guide me what is the relation ship BRG and SCL clock
2.what is the relation ship BRG timeout and reload value (SSPADD)
Pleas advice
Thanks in advance
 

Attachments

  • START TIMING.bmp
    499.6 KB · Views: 58

Dear wp100,
Thanks for the reply
I red the given links and it is nice tutorials.

1.What I got is, The I2C frequency ( SCL frequency ) depend on the value which we load to the SSPADD register ( in the master mode )
2.Before find The SSPADD value, we need to knowing frequency we are going to use for I2C , Am I correct?

In master mode SSPADD SFR used for slave rat control ( I2C speed)

In the bellow picture shows that BRG count down,
Let me know the from which value, it is counting down , what is the relation ship with reload value and
count down beginning value
Picture shows BRG starts to count from 03




Please advice
Thanks in advance
 
Last edited:

Hi,

Sorry, have never looked into the detailed working of the I2C timings.

Sounds like its one BigDogGuru might be able to come in and help you on.
 
Reactions: PA3040

    PA3040

    Points: 2
    Helpful Answer Positive Rating
Dear WP100,
Thanks for the reply
Hopefully you will take this opportunity to study I2C timing more deeply and help on me later
Hopefully BigDogGuru could help on this

Thanks
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…