Other Parts Discussed in Thread: TDA4VM
Hello TI Team,
I already test MCU_CAN0 module on RTOS core between 2 board TDA4VM using example code and I have an issue related to MCU_CAN0 as below:
In function to test mcu_can : void test_csl_mcan_evm_loopback_app(void).
App_ConsolePrintf("MCAN Node Type:\n");
App_ConsolePrintf("1. Transmitter Side.\n");
App_ConsolePrintf("2. Receiver Side.\n");
App_ConsolePrintf("3. Loopback - no external transmission/reception \n");
App_ConsolePrintf("4. Loopback - external transmission and reception \n");
App_ConsolePrintf("Enter type of the node:\n");
+ I using 1 board is Receiver Side and other board is Transmitter Side.
+ If I transceiver frame can between 2 board with ID message transmit default is 100000(hex) then ID message receive is 100008(hex)
=> When I set id message greater than or equal 100000(hex) and send, but id message receiver always is 100008(hex). I don't know why?
=> When I set id less than 100000(hex) and send, the receiving board doesn't receive any packets. I don't know why?
Below are setting filter of mcu_can0:
stdFiltelem.sfid2 = 0x0U;
stdFiltelem.sfid1 = 0x4U;
stdFiltelem.sfec = 0x7U;
stdFiltelem.sft = 0x0U;
According to spec TI as below:
Could you explain to me why when transmit and receive , the id is not the same and when transmitting with id less than 100000(hex) it is not received ?
If I want set id < 100000(hex), so what should I do.
Thank,
Danh