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

CAN code using LPC2129

Hi every one, This is Seetaram, i wanted to communicate between sensor and controller using CAN bus. I m confusing to configure register. Please any one have the code send my id.. seetarama.naik@gmail.com
I will wait for ur reply.
With regards, Seetaram

Parents
  • Code follows:

    void CAN_Configuration_to_sensor (void) {
      // Do initialize CAN controller as I want it to
      CAN_Init(speed);
    
      // Communicate to it in the way that I expect it to
      CAN_Communicate_To_Sensor(do_what_I_want);
    
      // Do not ask any questions (read: read my mind)
      if (CAN_Read_My_Mind() == FALSE)
        CAN_Ask_For_Help_On_Forum ();
      else
        CAN_Juuuhooo_It_Works();
    }
    

Reply
  • Code follows:

    void CAN_Configuration_to_sensor (void) {
      // Do initialize CAN controller as I want it to
      CAN_Init(speed);
    
      // Communicate to it in the way that I expect it to
      CAN_Communicate_To_Sensor(do_what_I_want);
    
      // Do not ask any questions (read: read my mind)
      if (CAN_Read_My_Mind() == FALSE)
        CAN_Ask_For_Help_On_Forum ();
      else
        CAN_Juuuhooo_It_Works();
    }
    

Children