16F630 and MCP3221 I2C


Closed Thread
Results 1 to 13 of 13

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Well that's good news. If you can get dataview to work with it, at least we know the Pictail is working.

    So here's another question that you've probably already checked.

    When programming the F630 on the Pickit, did you check the "Device Power" checkbox?

    Without it, the PIC in the "Evaluation Socket", and the MCP3221 won't get power.

    Other than that, I think it's down to checking all the basic troubleshooting items, such as.

    Check continuity, from F630 pins 9 and 10 to the MCP3221 pins 4 and 5.

    Is there power getting to all the chips involved.

    Does Pin1 match up on the connectors between the 2 boards

    As you can tell, I'm focusing on the hardware, because the program looks fine.<br><br>
    Last edited by Darrel Taylor; - 19th August 2005 at 06:38.
    DT

  2. #2
    Join Date
    Aug 2005
    Posts
    11


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor
    When programming the F630 on the Pickit, did you check the "Device Power" checkbox?

    Without it, the PIC in the "Evaluation Socket", and the MCP3221 won't get power.
    Yep, the reason I know the reading is not being made is because the LED's are not changing (toggling)

    Quote Originally Posted by Darrel Taylor
    Other than that, I think it's down to checking all the basic troubleshooting items, such as.

    Check continuity, from F630 pins 9 and 10 to the MCP3221 pins 4 and 5.

    Is there power getting to all the chips involved.

    Does Pin1 match up on the connectors between the 2 boards

    As you can tell, I'm focusing on the hardware, because the program looks fine.<br><br>
    OK ... I'll do a hardware check on the i2c lines + the power lines from the PicKit - from what you are saying it does not look like software!

    Thanks,

    Rod

  3. #3
    Join Date
    Aug 2005
    Posts
    11


    Did you find this post helpful? Yes | No

    Default

    OK

    I've done the idiot checks on the hardware:

    1. +5 from PicKit is going through to the VDD on the PicTail
    2. SDA and SCL are connected to pins 5 and 4 of the MCP3221 and have continuity through to pin 10 and pin 9 of the 16F630.

    Looks like hardware connections are fine!

    Rod

    P.S. there isn't any chance of the on-board (PicTail) 16c745 keeping the SCL and SDA lines low or otherwise interfering is there?
    Last edited by badcock; - 19th August 2005 at 07:31. Reason: final thought!

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


    Did you find this post helpful? Yes | No

    Default

    >> P.S. there isn't any chance of the on-board (PicTail) 16c745 keeping the
    >> SCL and SDA lines low or otherwise interfering is there?

    That's a good possibility. One way to find out is to just ground the MCLR pin on the 16C745. It should put all the pins into high impeadance state. And, see what happens.<br><br>
    DT

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