Interfacing 16F688 and MCP515


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425

    Default Interfacing 16F688 and MCP515

    I think the answer to this question is no but I wanted to be sure. There isn't any way to interface a 16F688 to a MCP2515, is there?

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,521


    Did you find this post helpful? Yes | No

    Default Re: Interfacing 16F688 and MCP515

    It uses a SPI interface and the datasheet specifies no minimum SPI clock frequency so in theory SHIFTIN/SHIFTOUT should work. I have no idea if the bandwidth provided by SHIFTIN/SHIFTOUT will be enough for your application though.

    Using a PIC with a MSSP-module would allow much (MUCH) higher SPI-clock frequency but the 16F688 doesn't have one so....

  3. #3
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425


    Did you find this post helpful? Yes | No

    Default Re: Interfacing 16F688 and MCP2515

    I was hoping but......

    My next option is to use an 18F4550. I know this can communicate with the MCP2515 but I may have another problem. I have an existing board that uses the USART on an 18F4550 to communicate with another PIC. The RX is on Portc.7. The SPI data out is also on Portc.7. Is there an easy workaround?
    Last edited by Christopher4187; - 2nd July 2012 at 13:57. Reason: I put MCP515 but it should have been MCP2515

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,521


    Did you find this post helpful? Yes | No

    Default Re: Interfacing 16F688 and MCP515

    No, no easy workaround as I see it.
    On some PICs some of the peripheral can be switched to alternative pins but on the 4550 it seems that CCP2 is the only peripheral with that functionallity. So unless you can find a pin compatible PIC where the MSSP module is on another set of pin (guess it's not pin compatible then) or can be switched to a different set of pins I think you'll have to resort the SHIFTIN/SHIFTOUT - or a redesign....

    /Henrik.

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