External Serial EEPROM Speed Questions


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    rsocor01 , If using the command I2CWRITE or I2CREAD, they are both bit banging routines and will not operate at the full I2C bus speed. If you want to operate the eeprom at it's maximum speed you will have to use the hardware module built into the processor you are using. This module is called the "Master Synchronous Serial Port". It will allow you to set the slew rate for the bus to either 100Khz. or 400Khz. There is an option to set the master clock mode to Fosc(4 * (sspadd + 1)). All the information is in the data sheet for the processor you are using........

    Dave Purola,
    N8NTA

  2. #2
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704


    Did you find this post helpful? Yes | No

    Default

    Dave,

    Thank you for your answer.

    Yes, you are right. After some research done, I found out that MSSP is the way to go. Unfortunally, PBP does not directly support MSSP. There is an interesting thread in which somebody asked in the "PBP Wish List" for a HI2CREAD / HI2CWRITE type command.

    http://www.picbasic.co.uk/forum/show...highlight=mssp

    I found a promising thread started by circuitpro that I hope it will help me. I'll be back with results after some testing is done.

    http://www.picbasic.co.uk/forum/show...highlight=mssp

    Has anybody made this MSSP work with an external EEPROM? Any inputs/ideas?

    Robert
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts