Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

I2C Board rate genarator

Status
Not open for further replies.

PA3040

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

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: 68

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

i2c brg.jpg


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.
 
  • Like
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top