CAN bus, SPI or I2C

I am currently about to undertake a project using the C167 infineon. I will be communicating with another processor and a number of FPGA aand need to choose between CAN bus, SPI or I2C. I have a very short time scale to produce this project and am after advice of which would be the best route to take.

Has anyone out there any advice of the easiest route to take????????

Parents
  • <i.choose between CAN bus, SPI or I2C

    If you "stay on the board" drop CAN, if you get off the board, use CAN or RS485.

    SPI and IIC for "on board" use (I use IIC between 4 processors and 3 devices on one of mine)
    SPI is somewhat faster but require a separate port pin for every device connected.
    IIC is a bit slower (100/400kHz) but 2 wires is all it takes regardless of no of devices (within reason)

    Erik

Reply
  • <i.choose between CAN bus, SPI or I2C

    If you "stay on the board" drop CAN, if you get off the board, use CAN or RS485.

    SPI and IIC for "on board" use (I use IIC between 4 processors and 3 devices on one of mine)
    SPI is somewhat faster but require a separate port pin for every device connected.
    IIC is a bit slower (100/400kHz) but 2 wires is all it takes regardless of no of devices (within reason)

    Erik

Children
More questions in this forum