This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I2C and CAN protocols not working

I2C and CAN not working in LPC1768
I am using two nos. LPC1768 header boards from different manufacturers. And if I try to communicate using I2C and CAN through both controllers, nothing is transmitting. But if I try to use UART on each controller and its working wonderful. Also whatever the I2C and CAN code written is working with other controllers which are of same manufacturers. I am not getting whats the wrong with these controllers and any hardware configuration to be changed. Also I want to know how to debug I2C protocol in this scenario and I don't have any oscilloscope or analyzer.

Parents
  • What do you mean by you have 2 LPC1768 from 2 different manufactures?

    It's a device from NXP - The silicon vendor.

    Do you mean you have 2 different boards which have LPC1768 ?

    For MCB1700 board from Keil, there is a sample example project for CAN which can be downloaded from the Pack installer and can be used out of the box.

    For other boards, you need to check the hardware configuration of the board and change the configuration accordingly.

    The best way is to consult the user's manual of the board.

Reply
  • What do you mean by you have 2 LPC1768 from 2 different manufactures?

    It's a device from NXP - The silicon vendor.

    Do you mean you have 2 different boards which have LPC1768 ?

    For MCB1700 board from Keil, there is a sample example project for CAN which can be downloaded from the Pack installer and can be used out of the box.

    For other boards, you need to check the hardware configuration of the board and change the configuration accordingly.

    The best way is to consult the user's manual of the board.

Children
No data