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.

TMS320F280049C: 寄存器里面是空的

Part Number: TMS320F280049C


我现在跑的280049的发送can_ex4_simple_transmit   

while(1)
{
CAN_sendMessage(CANA_BASE, TX_MSG_OBJ_ID, MSG_DATA_LENGTH, txMsgData);

//
// Poll TxOk bit in CAN_ES register to check completion of transmission
//
txMsgData[0] += 0x01;
txMsgData[1] += 0x01;
if(txMsgData[0] > 0xFF)
{
txMsgData[0] = 0;
}
if(txMsgData[1] > 0xFF)
{
txMsgData[1] = 0;
}

while(((HWREGH(CANA_BASE + CAN_O_ES) & CAN_ES_TXOK)) != CAN_ES_TXOK)    //跑到这停了
{

}
}

也没有值,是不是就没发送出去呢?

如何解决一下,原始程序没有更改。