Connect with us

PIC10F200 and I2C communications?

Discussion in 'Microcontrollers, Programming and IoT' started by eem2am, Nov 14, 2012.

Scroll to continue with content
  1. eem2am

    eem2am

    414
    0
    Aug 3, 2009
    Hello,
    I am wanting to interface an MCP4706 DAC to a PIC10F200
    MCP4706 DAC datasheet
    http://ww1.microchip.com/downloads/en/DeviceDoc/22272C.pdf

    PIC10F200 DATASHEET:
    http://ww1.microchip.com/downloads/en/devicedoc/41239a.pdf

    Will i need to add external open collector BJTs to the PIC10F200 to act as outputs, and use a separate input pin on the pIC10F200?
    ...Or is it simply not going to be possible to interface the PIC10F200 to the MCP4706, since PIC10F200 does not have an I2C module?

    I wish to use "bit-bashing" to communicate (immitate the I2C protocol) with the MCP4706 because there is no I2C module on the PIC10F200.
     
  2. BobK

    BobK

    7,682
    1,686
    Jan 5, 2010
    1. Why not choose a PIC with an I2C module?
    2. You can do it with software, as long as speed is not a problem.

    Bob
     
  3. Gpino

    Gpino

    11
    0
    Nov 27, 2012
    < Please retype it in English, thankyou :) >

    ciao Gpino
     
    Last edited by a moderator: Nov 27, 2012
  4. Harald Kapp

    Harald Kapp Moderator Moderator

    10,370
    2,264
    Nov 17, 2011
    Gpino: English please. Not everyone understands Italian.

    Harald
     
  5. Gpino

    Gpino

    11
    0
    Nov 27, 2012
    Hello pic10F200 with the low memory you can not do what you want
    I with the same micro spi command in a 74HC595 and I'm already at the limit of memory
     
  6. Gpino

    Gpino

    11
    0
    Nov 27, 2012
    PIC10Fxx

    I do not think I've never had problems like the problem is the lack of memory
     
  7. gorgon

    gorgon

    603
    24
    Jun 6, 2011
    How about changing the DAC to a SPI version, since you are using SPI already.
    If you have hit the memory roof already, you need to revise your selection of PIC variant, or how you use memory.
    If you program in C, you may save some memory going through the data types in use, and the grouping of them. Alignment issues may steal RAM from you.
     
  8. Gpino

    Gpino

    11
    0
    Nov 27, 2012
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-