LPC11C24 CAN Send test problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC11C24 CAN Send test problem

335 Views
funa
Contributor I

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);
    }

0 Kudos
1 Reply

270 Views
soledad
NXP Employee
NXP Employee

Hi,

It is not normal that VCC=0v. It is not necessary additional supply for VCC.
 where are you doing this measurement? do you have additional connections?


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos