Other Parts Discussed in Thread: SYSCONFIG
In example code, mcan_ex7_classic_transmit , i tried to configure 29bit extended identifier as classic (11-bit standard identifier) and transmission id as 1,i could see canid as 000 in Peak CAN view software tool.
Below i tried with two canid's configuration, wrt to example code and result
1)txMsg[loopCnt].id = 0x1;
txMsg[loopCnt].rtr = 0U;
txMsg[loopCnt].xtd = 0U;
txMsg[loopCnt].esi = 0U;
txMsg[loopCnt].dlc = 8U;
txMsg[loopCnt].brs = 0U;
txMsg[loopCnt].fdf = 0U;
txMsg[loopCnt].efc = 0U;
txMsg[loopCnt].mm = 0x7FFU;
Result canid: 000h
2)txMsg[loopCnt].id = 0x100000;
txMsg[loopCnt].rtr = 0U;
txMsg[loopCnt].xtd = 0U;
txMsg[loopCnt].esi = 0U;
txMsg[loopCnt].dlc = 8U;
txMsg[loopCnt].brs = 0U;
txMsg[loopCnt].fdf = 0U;
txMsg[loopCnt].efc = 0U;
txMsg[loopCnt].mm = 0x7FFU;
Result canid: 004h
Can you please help me why the result i am getting canid as 004h for 2nd approach and how can i configure as classic can in example project.
If i try to debugstop in between execution of program and resume it again, the transmission of can stop and cannot able to transmit again.
Please can anyone help me on these issue?