Other Parts Discussed in Thread: AWR6843AOP,
Dear Team
What configuration is need to support 8Mbps by TC1463-Q?
MCU : AWR6843AOP
CAN TRx : TCAN1463-Q1
Test Application : ti/mmwave_sdk_03_05_00_04/package/ti/drivers/canfd/test/xwr68xx/main.c
testSelection : MCAN_APP_TEST_EXTERNAL_DATA
Nothing is modified except followings.
/* bit rate configuration */ /* 1Mhz */ mcanBitTimingParams.nomBrp = 0x2U; mcanBitTimingParams.nomPropSeg = 0x8U; mcanBitTimingParams.nomPseg1 = 0x6U; mcanBitTimingParams.nomPseg2 = 0x5U; mcanBitTimingParams.nomSjw = 0x1U; /*5MHz*/ mcanBitTimingParams.dataBrp = 0x1U; mcanBitTimingParams.dataPropSeg = 0x1U; mcanBitTimingParams.dataPseg1 = 0x1U; mcanBitTimingParams.dataPseg2 = 0x2U; mcanBitTimingParams.dataSjw = 0x1U;
while (1) { /* Send data over Tx message object */ if (testFrameType == CANFD_MCANFrameType_FD) { length = 128U; if(idIndex > 10) { idIndex = 0; } msgId = txMsgObjectParams.msgIdentifier + idIndex; Task_sleep(1U); while(length > MCAN_APP_TEST_DATA_SIZE) { retVal = CANFD_transmitData (txMsgObjHandle, msgId, CANFD_MCANFrameType_FD, MCAN_APP_TEST_DATA_SIZE, &txData[0], &errCode); length = length - MCAN_APP_TEST_DATA_SIZE; Task_sleep(1); } idIndex++; } ... blah blah ... }
Question.
Because of Task_sleep(1U), it does not meet 8Mbps.
How can I solve this???
Best & Regard