This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CAN Bus



Hi,

I am trying to activate the DCAN using TMS570LS20216SPGE USB stick.

on the first step i want to see any transmissions so I made the following:

char tx_packet[8] = {1,2,3,4,5,6,7,8};

gioInit();

canInit();

canREG1->CTL |= 0x00000040;// set CCE Config Change En

canREG1->CTL |= 0x00000080;// set test mode

canREG1->TEST &= ~0x00000010 ;

canREG1->TEST |= 0x00000100 ; // set external Loop back

canREG1->CTL &= ~0x00000040;// reset CCE Config Change En

canTransmit(canREG1, 33, (const unsigned char*)tx_packet);

I can not see any transmission on the CAN1H/CAN1L pins, can you please help me?

thanks

Gil