Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

RTOS/AM5728: DCAN_BasicExample_evmAM572x_c66xTestProject - The test application can not receive CAN messages from all IDs

$
0
0

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


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>