This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0G3507: Question about Message RAM Configuration in MCAN

Part Number: MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG

Hi Expert,

I try to understand Message RAM Configuration in MCAN. Also, try to understand the setting from example code.

please help clarify few questions below.

from example, mcan_message_rx_tcan114x_LP_MSPM0G3507_nortos_ticlang

1. why TX buffer start address is 148? Filter starts from 0 and filter needs memory from 0-147?

2. follow previous question. Why  i increase 1 "Number of Dedicated Transmit Buffers", end address increases 6( 6 32bit)? But the element size is 64 bytes.

3. Same question as above. If I increase\ decrease 1 from Number of RX FIFO0 Elements, End Address will increase\ decrease. but But the element size is 8 byte data field(2 32bits). As I know, it should be 2(R0+R1)+2(data field)=4,right?

4. from the code, start address is divided by 4. From TRM, it should be 32bits address. Why? 

HW_WR_FIELD32(&mcan->MCANSS.MCAN.MCAN_RXF0C, MCAN_RXF0C_F0SA,
(msgRAMConfigParams->rxFIFO0startAddr >> 2U));

BR,

frank