Part Number:AM5728
Tool/software: TI-RTOS
I am using the DCAN_BasicExample_evmAM572x_c66xTestProject to test CAN communication. I am using RTOS. In the example the RX parameters are set to:
/*Initialize DCAN Rx Config Params*/
pDcanRxCfgPrms->xIdFlagMask = 0x1;
pDcanRxCfgPrms->dirMask = 0x1;
pDcanRxCfgPrms->msgValid = TRUE;
pDcanRxCfgPrms->xIdFlag = TRUE;
pDcanRxCfgPrms->direction = DCAN_DIR_RX;
pDcanRxCfgPrms->msgIdentifierMask = 0x1FFFFFFF;
pDcanRxCfgPrms->uMaskUsed = TRUE;
pDcanRxCfgPrms->msgIdentifier = 0xC1;
pDcanRxCfgPrms->intEnable = TRUE;
pDcanRxCfgPrms->remoteEnable = FALSE;
pDcanRxCfgPrms->fifoEOBFlag = TRUE;
This only allows messages witn an ID of 0xC1 to be received. I cant figure out how to disable Rx filtering. I've tried changing msgIdentifierMask , uMaskUsed , and msgIdentifier without any luck.
What parameters do I need to change to allow all messages to be received?
Regards,
Kenny