AnsweredAssumed Answered

CAN code

Question asked by Ajay Singh on Dec 7, 2014
Latest reply on Jan 7, 2015 by iggi

MY CAN code is not working , anyone have any idea

 

CAN1TIER = 0x07;

 

 

//CAN1TFLG =CAN1TFLG_TXE0_MASK;

  

    CAN1TFLG = 0x01;

 

 

      CAN1TXTBPR = 0x01;

 

      CAN1TXDLR = 0x08;

  

      CAN1TXIDR3 = 0x00;

      CAN1TXIDR2 = 0x00;

      CAN1TXIDR1 = 0x00;

      CAN1TXIDR0 = 0xFF;    //SID

 

 

      CAN1TXDSR0 = 0xFF;     //DATA  

      CAN1TXDSR1 = 0xFF;

      CAN1TXDSR2 = 0xFF;

      CAN1TXDSR3 = 0x00;

   

      CAN1TXDSR4 = 0x00;

      CAN1TXDSR5 = 0x00;

      CAN1TXDSR6 = 0x00;

      CAN1TXDSR7 = 0x00;

Outcomes