I2C: slaves to alien master


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2005
    Posts
    1,073

    Default I2C: slaves to alien master

    I need to use 4-5 8-pin PICs to operate as slaves to an Atmel AVR acting as I2C master. These must share the bus with an I2C FRAM (100kHz, 400kHz, 1MHz) and an I2C RTC (ST M41T81S 400kHz only).

    Can the PICs (12F683 or 12F615 probably) handle a 400kHz clock?

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: I2C: slaves to alien master

    400khz would be 2.5uS per bit.
    I don't think you'll have much luck writing a software based I2C slave routine that's fast enough.

    You might consider the 12F1822.
    It's an 8 pin device with an MSSP module.

    With a 32Mhz internal oscillator, it should be a piece of cake.
    DT

  3. #3
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default Re: I2C: slaves to alien master

    Thanks, Darrel.

    I had downloaded the 12F1822 datasheet a few weeks back but didn't think to look at it when this came up. Now I suppose I'll have to even read it.

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: I2C: slaves to alien master

    Yeah no kidding, you need to read it, and understand it...



    Says Yoda... Life's so cruel
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default Re: I2C: slaves to alien master

    You will have to use a chip with a hardware I2C port.
    Charles Linquist

Members who have read this thread : 1

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