LPC11C24 CAN Send test problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC11C24 CAN Send test problem

673 次查看
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 项奖励
回复
1 回复

608 次查看
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 项奖励
回复