AnsweredAssumed Answered

LPC11C24 CAN Send test problem

Question asked by na fu on Sep 30, 2018
Latest reply on Oct 1, 2018 by soledad

With OM13093.I took two wires in TXD and RXD, measured with an oscilloscope, and then run the following program. Found no signal. It  was found that VCC is always 0. Does VCC requires an  external power supply?

 

 

while(1) {
        msg_obj.msgobj  = 0;
        msg_obj.mode_id = 0x345;
        msg_obj.mask    = 0x0;
        msg_obj.dlc     = 4;
        msg_obj.data[0] = 'T';    // 0x54
        msg_obj.data[1] = 'E';    // 0x45
        msg_obj.data[2] = 'S';    // 0x53
        msg_obj.data[3] = 'T';    // 0x54
        LPC_CCAN_API->can_transmit(&msg_obj);
        for(j=0;j<1000000;j++) {
            ;
        }
        Board_LED_Toggle(0);
    }

Outcomes