LPC5536 CAN ID Filter

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC5536 CAN ID Filter

960 Views
alvarolopes
Contributor III

 

Hi,

I am creating a project with LP5536 that I need to use 6 ID Filters, but I am facing some problems. I started using SDK example that have only ID Filter. When I tried to use 6 ID Filters the code generated an error during the CAN initialization:

"MCAN Message RAM configuration failed, please check parameters!"

Follow my code and definitions:

#define TX_BUFFER_OFS 0x20U

#define MSG_RAM_SIZE (TX_BUFFER_OFS + 8 + CAN_DATASIZE)

#define CAN_DATASIZE (64U)

 

mcan_config_t mcanConfig;

mcan_memory_config_t memoryConfig = {0};

mcan_frame_filter_config_t rxFilter = {0};

mcan_std_filter_element_config_t stdFilter = {0};

mcan_rx_fifo_config_t rxFifo0 = {0};

mcan_tx_buffer_config_t txBuffer = {0};

 

CLOCK_SetClkDiv(kCLOCK_DivCanClk, 5U, true);

CLOCK_AttachClk(kMCAN_DIV_to_MCAN);

 

MCAN_GetDefaultConfig(&mcanConfig);

 

mcan_timing_config_t timing_config;

memset(&timing_config, 0, sizeof(timing_config));

 

if (MCAN_CalculateImprovedTimingValues(mcanConfig.baudRateA, MCAN_CLK_FREQ, &timing_config))

{

/* Update the improved timing configuration*/

memcpy(&(mcanConfig.timingConfig), &timing_config, sizeof(mcan_timing_config_t));

}

else

{

PRINTF("No found Improved Timing Configuration. use default configuration\r\n\r\n");

}

 

mcanConfig.baudRateA = CAN1_SPEED_100kBit;

 

MCAN_Init(EXAMPLE_MCAN, &mcanConfig, MCAN_CLK_FREQ);

 

memoryConfig.baseAddr = (uint32_t)msgRam;

 

/* STD filter config. */

rxFilter.address = STD_FILTER_OFS;

rxFilter.idFormat = kMCAN_FrameIDStandard;

rxFilter.listSize = 6U;

rxFilter.nmFrame = kMCAN_reject0;

rxFilter.remFrame = kMCAN_rejectFrame;

memoryConfig.stdFilterCfg = &rxFilter;

 

 

/* RX fifo0 config. */

rxFifo0.address = RX_FIFO0_OFS;

rxFifo0.elementSize = 1U;

rxFifo0.watermark = 0;

rxFifo0.opmode = kMCAN_FifoBlocking;

//rxFifo0.datafieldSize = kMCAN_8ByteDatafield;

rxFifo0.datafieldSize = kMCAN_64ByteDatafield;

 

 

memoryConfig.rxFifo0Cfg = &rxFifo0;

/* TX buffer config. */

txBuffer.address = TX_BUFFER_OFS;

txBuffer.dedicatedSize = 1U;

txBuffer.fqSize = 0;

txBuffer.datafieldSize = kMCAN_8ByteDatafield;

 

memoryConfig.txBufferCfg = &txBuffer;

 

/* Set Message RAM config and clear memory to avoid BEU/BEC error. */

memset((void *)msgRam, 0, MSG_RAM_SIZE * sizeof(uint8_t));

if (kStatus_Success != MCAN_SetMessageRamConfig(EXAMPLE_MCAN, &memoryConfig))

{

PRINTF("MCAN Message RAM configuration failed, please check parameters!\r\n");

return -1;

}

 

 

 If anyone has a tip to help me, I would appreciate.

 

Regards!

 

 

 

 

 

 

 

 

 

 

 

 

0 Kudos
Reply
7 Replies

937 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @alvarolopes 

Thanks for your post

Could you please share which version of MCUXpresso and the SDK are you using?

You mentioned that the issue happens at the can initialization, but error log you share is from "

if (kStatus_Success != MCAN_SetMessageRamConfig(EXAMPLE_MCAN, &memoryConfig))

{

PRINTF("MCAN Message RAM configuration failed, please check parameters!\r\n");

return -1;

}

"

Please debug the MCAN_SetMessageRamConfig function and share where the code is going to kStatus_Fail

0 Kudos
Reply

929 Views
alvarolopes
Contributor III

 

MCUXpresso version:

MCUXpresso IDE v25.6

The problem happens when I use more than 4 ID filters (rxFilter.listSize).

Follow my entire code:

 
mcan_config_t mcanConfig;
    mcan_memory_config_t memoryConfig          = {0};
    mcan_frame_filter_config_t rxFilter        = {0};
    mcan_std_filter_element_config_t stdFilter = {0};
 
    mcan_rx_fifo_config_t rxFifo0    = {0};
    mcan_tx_buffer_config_t txBuffer = {0};
 
    /* Initialize board hardware. */
    //BOARD_InitHardware();
 
    //Set MCAN clock 100Mhz/5=20MHz.
    CLOCK_SetClkDiv(kCLOCK_DivCanClk, 5U, true);
    CLOCK_AttachClk(kMCAN_DIV_to_MCAN);
 
    PRINTF("\r\n==MCAN loopback functional example -- Start.==\r\n\r\n");
 
    /* Get MCAN module default Configuration. */
    /*
     * mcanConfig.baudRate               = 500000U;
     * mcanConfig.baudRateFD             = 2000000U;
     * mcanConfig.enableCanfdNormal      = false;
     * mcanConfig.enableCanfdSwitch      = false;
     * mcanConfig.enableLoopBackInt      = false;
     * mcanConfig.enableLoopBackExt      = false;
     * mcanConfig.enableBusMon           = false;
     */
    MCAN_GetDefaultConfig(&mcanConfig);
    /* Enable external loop back mode.
     * Current node treats its own transmitted messages as received messages,
     * Other node can receive Current node transmitted messages,
     * Other node can't transmit messages or ACK signal to Current node.
     */
    //mcanConfig.enableLoopBackExt = true;
 
    mcan_timing_config_t timing_config;
    memset(&timing_config, 0, sizeof(timing_config));
 
    if (MCAN_CalculateImprovedTimingValues(mcanConfig.baudRateA, MCAN_CLK_FREQ, &timing_config))
    {
        /* Update the improved timing configuration*/
        memcpy(&(mcanConfig.timingConfig), &timing_config, sizeof(mcan_timing_config_t));
    }
    else
    {
        PRINTF("No found Improved Timing Configuration. use default configuration\r\n\r\n");
    }
 
mcanConfig.baudRateA = CAN1_SPEED_100kBit;
 
    MCAN_Init(EXAMPLE_MCAN, &mcanConfig, MCAN_CLK_FREQ);
 
    memoryConfig.baseAddr = (uint32_t)msgRam;
 
    /* STD filter config. */
    rxFilter.address          = STD_FILTER_OFS;
    rxFilter.idFormat         = kMCAN_FrameIDStandard;
    rxFilter.listSize         = 6U;
    rxFilter.nmFrame          = kMCAN_reject0;
    rxFilter.remFrame         = kMCAN_rejectFrame;
    memoryConfig.stdFilterCfg = &rxFilter;
 
    /* RX fifo0 config. */
    rxFifo0.address       = RX_FIFO0_OFS;
    rxFifo0.elementSize   = 1U;
    rxFifo0.watermark     = 0;
    rxFifo0.opmode        = kMCAN_FifoBlocking;
    rxFifo0.datafieldSize = kMCAN_8ByteDatafield;
 
    memoryConfig.rxFifo0Cfg = &rxFifo0;
    /* TX buffer config. */
    txBuffer.address       = TX_BUFFER_OFS;
    txBuffer.dedicatedSize = 1U;
    txBuffer.fqSize        = 0;
    txBuffer.datafieldSize = kMCAN_8ByteDatafield;
 
    memoryConfig.txBufferCfg = &txBuffer;
 
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
Follow is when the error occurs
 
    /* Set Message RAM config and clear memory to avoid BEU/BEC error. */
    memset((void *)msgRam, 0, MSG_RAM_SIZE * sizeof(uint8_t));
    if (kStatus_Success != MCAN_SetMessageRamConfig(EXAMPLE_MCAN, &memoryConfig))
    {
        PRINTF("MCAN Message RAM configuration failed, please check parameters!\r\n");
        return -1;
    }
 
If you put     "rxFilter.listSize > 4" , the message "MCAN Message RAM configuration failed, please check parameters!" will be displayed.
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
And follow my filters:
 
stdFilter.sfec = kMCAN_storeinFifo0;
//Classic filter mode, only filter matching ID.
stdFilter.sft   = kMCAN_classic;
stdFilter.sfid1 = 0x4B0U;
stdFilter.sfid2 = 0x7FFU;
MCAN_SetSTDFilterElement(EXAMPLE_MCAN, &rxFilter, &stdFilter, 0);
 
stdFilter.sfec = kMCAN_storeinFifo0;
//Classic filter mode, only filter matching ID.
stdFilter.sft   = kMCAN_classic;
stdFilter.sfid1 = 0x600U;
stdFilter.sfid2 = 0x7FFU;
MCAN_SetSTDFilterElement(EXAMPLE_MCAN, &rxFilter, &stdFilter, 1);
 
stdFilter.sfec = kMCAN_storeinFifo0;
//Classic filter mode, only filter matching ID.
stdFilter.sft   = kMCAN_classic;
stdFilter.sfid1 = 0x1a1U;
stdFilter.sfid2 = 0x7FFU;
MCAN_SetSTDFilterElement(EXAMPLE_MCAN, &rxFilter, &stdFilter, 2);
 
stdFilter.sfec = kMCAN_storeinFifo0;
//Classic filter mode, only filter matching ID.
stdFilter.sft   = kMCAN_classic;
stdFilter.sfid1 = 0x2a2U;
stdFilter.sfid2 = 0x7FFU;
MCAN_SetSTDFilterElement(EXAMPLE_MCAN, &rxFilter, &stdFilter, 3);
 
stdFilter.sfec = kMCAN_storeinFifo0;
//Classic filter mode, only filter matching ID.
stdFilter.sft   = kMCAN_classic;
stdFilter.sfid1 = 0x421U;
stdFilter.sfid2 = 0x7FFU;
MCAN_SetSTDFilterElement(EXAMPLE_MCAN, &rxFilter, &stdFilter, 4);
 
stdFilter.sfec = kMCAN_storeinFifo0;
//Classic filter mode, only filter matching ID.
stdFilter.sft   = kMCAN_classic;
stdFilter.sfid1 = 0x100U;
stdFilter.sfid2 = 0x7FFU;
MCAN_SetSTDFilterElement(EXAMPLE_MCAN, &rxFilter, &stdFilter, 5);
 
    /* Enable RX fifo0 new message interrupt using interrupt line 0. */
    MCAN_EnableInterrupts(EXAMPLE_MCAN, 0, CAN_IE_RF0NE_MASK);
    EnableIRQ(CAN0_IRQ0_IRQn);
 
Regards,
 
Alvaro
 
0 Kudos
Reply

897 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @alvarolopes 

The MCAN_SetMessageRamConfig function fail due to wrong address parameter, this is related to memoryConfig configuration. 

Please make sure msgRam has 4k alignment.

Also share the value of MSG_RAM_SIZE 

0 Kudos
Reply

849 Views
alvarolopes
Contributor III

 

#define MSG_RAM_BASE 0x04000000U

 

#define TX_BUFFER_OFS 0x20U

#define CAN_DATASIZE (64U)

 

#define MSG_RAM_SIZE (TX_BUFFER_OFS + 8 + CAN_DATASIZE)

 

How can I know if my RAM has 4k alignment?

Regards,

Alvaro

 

0 Kudos
Reply

770 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @alvarolopes 

Apologies the late reply

I do some test at my end and I've found the following:

To have more than 4 filters you need to modify the rxFifo0.address value to be at least 4 * rxFilter.listsize so you need rxFifo0.address be equal to 0x18 at minimum to support 6 filters. 

Regarding the alignment question to ensure the start of msg_ram to be align you only need to ensure that the value of MSG_RAM_BASE is divisible per 0x1000, the value you assign is aligned. 

Let me know if this information solves the issue. 

0 Kudos
Reply

701 Views
alvarolopes
Contributor III

 

Hello my friend. Excuse me for delay.

Good news. It works, but I needed to change the register txBuffer.address to

0x28.

The final configuration was:

 

RX_FIFO0_OFS = 0x18

rxFifo0.address = RX_FIFO0_OFS;

TX_BUFFER_OFS = 0x28

txBuffer.address = TX_BUFFER_OFS;

 

Regards,

Alvaro

0 Kudos
Reply

695 Views
carlos_o
NXP TechSupport
NXP TechSupport

Hi @alvarolopes 

Great to hear that!

Thanks for letting me know and share the configurations that works for you.

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2305496%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELPC5536%20CAN%20ID%20Filter%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2305496%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBR%20%2F%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20am%20creating%20a%20project%20with%20LP5536%20that%20I%20need%20to%20use%206%20ID%20Filters%2C%20but%20I%20am%20facing%20some%20problems.%20I%20started%20using%20SDK%20example%20that%20have%20only%20ID%20Filter.%20When%20I%20tried%20to%20use%206%20ID%20Filters%20the%20code%20generated%20an%20error%20during%20the%20CAN%20initialization%3A%3C%2FP%3E%3CP%3E%3CSPAN%3E%22MCAN%20Message%20RAM%20configuration%20failed%2C%20please%20check%20parameters!%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFollow%20my%20code%20and%20definitions%3A%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3E%23define%3C%2FSPAN%3E%3CSPAN%3E%20TX_BUFFER_OFS%200x20U%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%23define%3C%2FSPAN%3E%3CSPAN%3E%20MSG_RAM_SIZE%20(TX_BUFFER_OFS%20%2B%208%20%2B%20CAN_DATASIZE)%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3E%23define%3C%2FSPAN%3E%20%3CSPAN%3ECAN_DATASIZE%3C%2FSPAN%3E%3CSPAN%3E%20(64U)%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3Emcan_config_t%3C%2FSPAN%3E%3CSPAN%3E%20mcanConfig%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Emcan_memory_config_t%3C%2FSPAN%3E%3CSPAN%3E%20memoryConfig%20%3D%20%7B0%7D%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Emcan_frame_filter_config_t%3C%2FSPAN%3E%3CSPAN%3E%20rxFilter%20%3D%20%7B0%7D%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Emcan_std_filter_element_config_t%3C%2FSPAN%3E%3CSPAN%3E%20stdFilter%20%3D%20%7B0%7D%3B%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3Emcan_rx_fifo_config_t%3C%2FSPAN%3E%3CSPAN%3E%20rxFifo0%20%3D%20%7B0%7D%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Emcan_tx_buffer_config_t%3C%2FSPAN%3E%3CSPAN%3E%20txBuffer%20%3D%20%7B0%7D%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3ECLOCK_SetClkDiv(%3C%2FSPAN%3E%3CSPAN%3EkCLOCK_DivCanClk%3C%2FSPAN%3E%3CSPAN%3E%2C%205U%2C%20true)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECLOCK_AttachClk(%3C%2FSPAN%3E%3CSPAN%3EkMCAN_DIV_to_MCAN%3C%2FSPAN%3E%3CSPAN%3E)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3EMCAN_GetDefaultConfig(%26amp%3BmcanConfig)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3Emcan_timing_config_t%3C%2FSPAN%3E%3CSPAN%3E%20timing_config%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ememset(%26amp%3Btiming_config%2C%200%2C%20%3C%2FSPAN%3E%3CSPAN%3Esizeof%3C%2FSPAN%3E%3CSPAN%3E(timing_config))%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3Eif%3C%2FSPAN%3E%3CSPAN%3E%20(MCAN_CalculateImprovedTimingValues(mcanConfig.%3C%2FSPAN%3E%3CSPAN%3EbaudRateA%3C%2FSPAN%3E%3CSPAN%3E%2C%20MCAN_CLK_FREQ%2C%20%26amp%3Btiming_config))%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20Update%20the%20improved%20timing%20configuration*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ememcpy(%26amp%3B(mcanConfig.%3C%2FSPAN%3E%3CSPAN%3EtimingConfig%3C%2FSPAN%3E%3CSPAN%3E)%2C%20%26amp%3Btiming_config%2C%20%3C%2FSPAN%3E%3CSPAN%3Esizeof%3C%2FSPAN%3E%3CSPAN%3E(%3C%2FSPAN%3E%3CSPAN%3Emcan_timing_config_t%3C%2FSPAN%3E%3CSPAN%3E))%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Eelse%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EPRINTF(%3C%2FSPAN%3E%3CSPAN%3E%22No%20found%20Improved%20Timing%20Configuration.%20use%20default%20configuration%5Cr%5Cn%5Cr%5Cn%22%3C%2FSPAN%3E%3CSPAN%3E)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3EmcanConfig.%3C%2FSPAN%3E%3CSPAN%3EbaudRateA%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20CAN1_SPEED_100kBit%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EMCAN_Init(EXAMPLE_MCAN%2C%20%26amp%3BmcanConfig%2C%20MCAN_CLK_FREQ)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EmemoryConfig.%3C%2FSPAN%3E%3CSPAN%3EbaseAddr%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20(%3C%2FSPAN%3E%3CSPAN%3Euint32_t%3C%2FSPAN%3E%3CSPAN%3E)msgRam%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E%2F*%20STD%20filter%20%3C%2FSPAN%3E%3CSPAN%3Econfig%3C%2FSPAN%3E%3CSPAN%3E.%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ErxFilter.%3C%2FSPAN%3E%3CSPAN%3Eaddress%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20STD_FILTER_OFS%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ErxFilter.%3C%2FSPAN%3E%3CSPAN%3EidFormat%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkMCAN_FrameIDStandard%3C%2FSPAN%3E%3CSPAN%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ErxFilter.%3C%2FSPAN%3E%3CSPAN%3ElistSize%3C%2FSPAN%3E%3CSPAN%3E%20%3D%206U%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ErxFilter.%3C%2FSPAN%3E%3CSPAN%3EnmFrame%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkMCAN_reject0%3C%2FSPAN%3E%3CSPAN%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ErxFilter.%3C%2FSPAN%3E%3CSPAN%3EremFrame%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkMCAN_rejectFrame%3C%2FSPAN%3E%3CSPAN%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EmemoryConfig.%3C%2FSPAN%3E%3CSPAN%3EstdFilterCfg%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%26amp%3BrxFilter%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3E%2F*%20RX%20fifo0%20%3C%2FSPAN%3E%3CSPAN%3Econfig%3C%2FSPAN%3E%3CSPAN%3E.%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ErxFifo0.%3C%2FSPAN%3E%3CSPAN%3Eaddress%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20RX_FIFO0_OFS%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ErxFifo0.%3C%2FSPAN%3E%3CSPAN%3EelementSize%3C%2FSPAN%3E%3CSPAN%3E%20%3D%201U%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ErxFifo0.%3C%2FSPAN%3E%3CSPAN%3Ewatermark%3C%2FSPAN%3E%3CSPAN%3E%20%3D%200%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ErxFifo0.%3C%2FSPAN%3E%3CSPAN%3Eopmode%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkMCAN_FifoBlocking%3C%2FSPAN%3E%3CSPAN%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F%2FrxFifo0.datafieldSize%20%3D%20kMCAN_8ByteDatafield%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ErxFifo0.%3C%2FSPAN%3E%3CSPAN%3EdatafieldSize%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkMCAN_64ByteDatafield%3C%2FSPAN%3E%3CSPAN%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3EmemoryConfig.%3C%2FSPAN%3E%3CSPAN%3ErxFifo0Cfg%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%26amp%3BrxFifo0%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20TX%20buffer%20%3C%2FSPAN%3E%3CSPAN%3Econfig%3C%2FSPAN%3E%3CSPAN%3E.%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EtxBuffer.%3C%2FSPAN%3E%3CSPAN%3Eaddress%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20TX_BUFFER_OFS%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EtxBuffer.%3C%2FSPAN%3E%3CSPAN%3EdedicatedSize%3C%2FSPAN%3E%3CSPAN%3E%20%3D%201U%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EtxBuffer.%3C%2FSPAN%3E%3CSPAN%3EfqSize%3C%2FSPAN%3E%3CSPAN%3E%20%3D%200%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EtxBuffer.%3C%2FSPAN%3E%3CSPAN%3EdatafieldSize%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkMCAN_8ByteDatafield%3C%2FSPAN%3E%3CSPAN%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3EmemoryConfig.%3C%2FSPAN%3E%3CSPAN%3EtxBufferCfg%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%26amp%3BtxBuffer%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E%2F*%20Set%20Message%20RAM%20%3C%2FSPAN%3E%3CSPAN%3Econfig%3C%2FSPAN%3E%3CSPAN%3E%20and%20clear%20memory%20to%20avoid%20BEU%2FBEC%20error.%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ememset((%3C%2FSPAN%3E%3CSPAN%3Evoid%3C%2FSPAN%3E%3CSPAN%3E%20*)msgRam%2C%200%2C%20MSG_RAM_SIZE%20*%20%3C%2FSPAN%3E%3CSPAN%3Esizeof%3C%2FSPAN%3E%3CSPAN%3E(%3C%2FSPAN%3E%3CSPAN%3Euint8_t%3C%2FSPAN%3E%3CSPAN%3E))%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Eif%3C%2FSPAN%3E%3CSPAN%3E%20(kStatus_Success%20!%3D%20MCAN_SetMessageRamConfig(EXAMPLE_MCAN%2C%20%26amp%3BmemoryConfig))%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EPRINTF(%3C%2FSPAN%3E%3CSPAN%3E%22MCAN%20Message%20RAM%20configuration%20failed%2C%20please%20check%20parameters!%5Cr%5Cn%22%3C%2FSPAN%3E%3CSPAN%3E)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ereturn%3C%2FSPAN%3E%3CSPAN%3E%20-1%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3BIf%20anyone%20has%20a%20tip%20to%20help%20me%2C%20I%20would%20appreciate.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ERegards!%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2311992%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC5536%20CAN%20ID%20Filter%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2311992%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBR%20%2F%3E%3CP%3EMCUXpresso%20version%3A%3C%2FP%3E%3CP%3E%3CSPAN%3EMCUXpresso%20IDE%20v25.6%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20problem%20happens%20when%20I%20use%20more%20than%204%20ID%20filters%20(rxFilter.listSize).%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EFollow%20my%20entire%20code%3A%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Emcan_config_t%20mcanConfig%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20mcan_memory_config_t%20memoryConfig%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20%7B0%7D%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20mcan_frame_filter_config_t%20rxFilter%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20%7B0%7D%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20mcan_std_filter_element_config_t%20stdFilter%20%3D%20%7B0%7D%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20mcan_rx_fifo_config_t%20rxFifo0%26nbsp%3B%20%26nbsp%3B%20%3D%20%7B0%7D%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20mcan_tx_buffer_config_t%20txBuffer%20%3D%20%7B0%7D%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%2F*%20Initialize%20board%20hardware.%20*%2F%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%2F%2FBOARD_InitHardware()%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%2F%2FSet%20MCAN%20clock%20100Mhz%2F5%3D20MHz.%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20CLOCK_SetClkDiv(kCLOCK_DivCanClk%2C%205U%2C%20true)%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20CLOCK_AttachClk(kMCAN_DIV_to_MCAN)%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20PRINTF(%22%5Cr%5Cn%3D%3DMCAN%20loopback%20functional%20example%20--%20Start.%3D%3D%5Cr%5Cn%5Cr%5Cn%22)%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%2F*%20Get%20MCAN%20module%20default%20Configuration.%20*%2F%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%2F*%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B*%20mcanConfig.baudRate%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20500000U%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B*%20mcanConfig.baudRateFD%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%202000000U%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B*%20mcanConfig.enableCanfdNormal%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20false%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B*%20mcanConfig.enableCanfdSwitch%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20false%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B*%20mcanConfig.enableLoopBackInt%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20false%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B*%20mcanConfig.enableLoopBackExt%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20false%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B*%20mcanConfig.enableBusMon%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20false%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B*%2F%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20MCAN_GetDefaultConfig(%26amp%3BmcanConfig)%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%2F*%20Enable%20external%20loop%20back%20mode.%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B*%20Current%20node%20treats%20its%20own%20transmitted%20messages%20as%20received%20messages%2C%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B*%20Other%20node%20can%20receive%20Current%20node%20transmitted%20messages%2C%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B*%20Other%20node%20can't%20transmit%20messages%20or%20ACK%20signal%20to%20Current%20node.%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B*%2F%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%2F%2FmcanConfig.enableLoopBackExt%20%3D%20true%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20mcan_timing_config_t%20timing_config%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20memset(%26amp%3Btiming_config%2C%200%2C%20sizeof(timing_config))%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20if%20(MCAN_CalculateImprovedTimingValues(mcanConfig.baudRateA%2C%20MCAN_CLK_FREQ%2C%20%26amp%3Btiming_config))%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%7B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%2F*%20Update%20the%20improved%20timing%20configuration*%2F%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20memcpy(%26amp%3B(mcanConfig.timingConfig)%2C%20%26amp%3Btiming_config%2C%20sizeof(mcan_timing_config_t))%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%7D%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20else%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%7B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20PRINTF(%22No%20found%20Improved%20Timing%20Configuration.%20use%20default%20configuration%5Cr%5Cn%5Cr%5Cn%22)%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%7D%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EmcanConfig.baudRateA%20%3D%20CAN1_SPEED_100kBit%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20MCAN_Init(EXAMPLE_MCAN%2C%20%26amp%3BmcanConfig%2C%20MCAN_CLK_FREQ)%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20memoryConfig.baseAddr%20%3D%20(uint32_t)msgRam%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%2F*%20STD%20filter%20config.%20*%2F%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20rxFilter.address%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20STD_FILTER_OFS%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20rxFilter.idFormat%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20kMCAN_FrameIDStandard%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20rxFilter.listSize%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%206U%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20rxFilter.nmFrame%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20kMCAN_reject0%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20rxFilter.remFrame%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20kMCAN_rejectFrame%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20memoryConfig.stdFilterCfg%20%3D%20%26amp%3BrxFilter%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%2F*%20RX%20fifo0%20config.%20*%2F%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20rxFifo0.address%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20RX_FIFO0_OFS%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20rxFifo0.elementSize%26nbsp%3B%20%26nbsp%3B%3D%201U%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20rxFifo0.watermark%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%200%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20rxFifo0.opmode%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20kMCAN_FifoBlocking%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20rxFifo0.datafieldSize%20%3D%20kMCAN_8ByteDatafield%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20memoryConfig.rxFifo0Cfg%20%3D%20%26amp%3BrxFifo0%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%2F*%20TX%20buffer%20config.%20*%2F%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20txBuffer.address%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20TX_BUFFER_OFS%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20txBuffer.dedicatedSize%20%3D%201U%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20txBuffer.fqSize%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%200%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20txBuffer.datafieldSize%20%3D%20kMCAN_8ByteDatafield%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20memoryConfig.txBufferCfg%20%3D%20%26amp%3BtxBuffer%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%20%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%20%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%20%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%20%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%20%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EFollow%20is%20when%20the%20error%20occurs%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%2F*%20Set%20Message%20RAM%20config%20and%20clear%20memory%20to%20avoid%20BEU%2FBEC%20error.%20*%2F%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20memset((void%20*)msgRam%2C%200%2C%20MSG_RAM_SIZE%20*%20sizeof(uint8_t))%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20if%20(kStatus_Success%20!%3D%20MCAN_SetMessageRamConfig(EXAMPLE_MCAN%2C%20%26amp%3BmemoryConfig))%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%7B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20PRINTF(%22MCAN%20Message%20RAM%20configuration%20failed%2C%20please%20check%20parameters!%5Cr%5Cn%22)%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20return%20-1%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%7D%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EIf%20you%20put%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%22rxFilter.listSize%20%26gt%3B%204%22%20%2C%20the%20message%20%22MCAN%20Message%20RAM%20configuration%20failed%2C%20please%20check%20parameters!%22%20will%20be%20displayed.%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%20%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%20%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%20%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%20%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%25%20%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EAnd%20follow%20my%20filters%3A%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfec%20%3D%20kMCAN_storeinFifo0%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%2F%2FClassic%20filter%20mode%2C%20only%20filter%20matching%20ID.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sft%26nbsp%3B%20%26nbsp%3B%3D%20kMCAN_classic%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfid1%20%3D%200x4B0U%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfid2%20%3D%200x7FFU%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EMCAN_SetSTDFilterElement(EXAMPLE_MCAN%2C%20%26amp%3BrxFilter%2C%20%26amp%3BstdFilter%2C%200)%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfec%20%3D%20kMCAN_storeinFifo0%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%2F%2FClassic%20filter%20mode%2C%20only%20filter%20matching%20ID.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sft%26nbsp%3B%20%26nbsp%3B%3D%20kMCAN_classic%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfid1%20%3D%200x600U%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfid2%20%3D%200x7FFU%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EMCAN_SetSTDFilterElement(EXAMPLE_MCAN%2C%20%26amp%3BrxFilter%2C%20%26amp%3BstdFilter%2C%201)%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfec%20%3D%20kMCAN_storeinFifo0%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%2F%2FClassic%20filter%20mode%2C%20only%20filter%20matching%20ID.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sft%26nbsp%3B%20%26nbsp%3B%3D%20kMCAN_classic%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfid1%20%3D%200x1a1U%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfid2%20%3D%200x7FFU%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EMCAN_SetSTDFilterElement(EXAMPLE_MCAN%2C%20%26amp%3BrxFilter%2C%20%26amp%3BstdFilter%2C%202)%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfec%20%3D%20kMCAN_storeinFifo0%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%2F%2FClassic%20filter%20mode%2C%20only%20filter%20matching%20ID.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sft%26nbsp%3B%20%26nbsp%3B%3D%20kMCAN_classic%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfid1%20%3D%200x2a2U%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfid2%20%3D%200x7FFU%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EMCAN_SetSTDFilterElement(EXAMPLE_MCAN%2C%20%26amp%3BrxFilter%2C%20%26amp%3BstdFilter%2C%203)%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfec%20%3D%20kMCAN_storeinFifo0%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%2F%2FClassic%20filter%20mode%2C%20only%20filter%20matching%20ID.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sft%26nbsp%3B%20%26nbsp%3B%3D%20kMCAN_classic%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfid1%20%3D%200x421U%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfid2%20%3D%200x7FFU%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EMCAN_SetSTDFilterElement(EXAMPLE_MCAN%2C%20%26amp%3BrxFilter%2C%20%26amp%3BstdFilter%2C%204)%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfec%20%3D%20kMCAN_storeinFifo0%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%2F%2FClassic%20filter%20mode%2C%20only%20filter%20matching%20ID.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sft%26nbsp%3B%20%26nbsp%3B%3D%20kMCAN_classic%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfid1%20%3D%200x100U%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EstdFilter.sfid2%20%3D%200x7FFU%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EMCAN_SetSTDFilterElement(EXAMPLE_MCAN%2C%20%26amp%3BrxFilter%2C%20%26amp%3BstdFilter%2C%205)%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%2F*%20Enable%20RX%20fifo0%20new%20message%20interrupt%20using%20interrupt%20line%200.%20*%2F%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20MCAN_EnableInterrupts(EXAMPLE_MCAN%2C%200%2C%20CAN_IE_RF0NE_MASK)%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20EnableIRQ(CAN0_IRQ0_IRQn)%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3ERegards%2C%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EAlvaro%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2311648%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC5536%20CAN%20ID%20Filter%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2311648%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67396%22%20target%3D%22_blank%22%3E%40alvarolopes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20post%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20share%20which%20version%20of%20MCUXpresso%20and%20the%20SDK%20are%20you%20using%3F%3C%2FP%3E%0A%3CP%3EYou%20mentioned%20that%20the%20issue%20happens%20at%20the%20can%20initialization%2C%20but%20error%20log%20you%20share%20is%20from%20%22%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Eif%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B(kStatus_Success%20!%3D%20MCAN_SetMessageRamConfig(EXAMPLE_MCAN%2C%20%26amp%3BmemoryConfig))%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EPRINTF(%3C%2FSPAN%3E%3CSPAN%3E%22MCAN%20Message%20RAM%20configuration%20failed%2C%20please%20check%20parameters!%5Cr%5Cn%22%3C%2FSPAN%3E%3CSPAN%3E)%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ereturn%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B-1%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%22%3C%2FP%3E%0A%3CP%3EPlease%20debug%20the%26nbsp%3BMCAN_SetMessageRamConfig%20function%20and%20share%20where%20the%20code%20is%20going%20to%26nbsp%3BkStatus_Fail%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2313206%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC5536%20CAN%20ID%20Filter%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2313206%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67396%22%20target%3D%22_blank%22%3E%40alvarolopes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20MCAN_SetMessageRamConfig%20function%20fail%26nbsp%3Bdue%20to%20wrong%20address%20parameter%2C%20this%20is%20related%20to%26nbsp%3BmemoryConfig%20configuration.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20make%20sure%26nbsp%3BmsgRam%20has%204k%20alignment.%3C%2FP%3E%0A%3CP%3EAlso%20share%20the%20value%20of%26nbsp%3BMSG_RAM_SIZE%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2314835%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC5536%20CAN%20ID%20Filter%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2314835%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBR%20%2F%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3E%23define%3C%2FSPAN%3E%3CSPAN%3E%20MSG_RAM_BASE%200x04000000U%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3E%23define%3C%2FSPAN%3E%20%3CSPAN%3ETX_BUFFER_OFS%3C%2FSPAN%3E%3CSPAN%3E%200x20U%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3E%23define%3C%2FSPAN%3E%3CSPAN%3E%20CAN_DATASIZE%20(64U)%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3E%23define%3C%2FSPAN%3E%3CSPAN%3E%20MSG_RAM_SIZE%20(TX_BUFFER_OFS%20%2B%208%20%2B%20CAN_DATASIZE)%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3EHow%20can%20I%20know%20if%20my%20RAM%20has%204k%20alignment%3F%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EAlvaro%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2316680%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC5536%20CAN%20ID%20Filter%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2316680%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67396%22%20target%3D%22_blank%22%3E%40alvarolopes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EApologies%20the%20late%20reply%3C%2FP%3E%0A%3CP%3EI%20do%20some%20test%20at%20my%20end%20and%20I've%20found%20the%20following%3A%3C%2FP%3E%0A%3CP%3ETo%20have%20more%20than%204%20filters%20you%20need%20to%20modify%20the%26nbsp%3BrxFifo0.address%20value%20to%20be%20at%20least%204%20*%20rxFilter.listsize%20so%20you%20need%26nbsp%3BrxFifo0.address%20be%20equal%20to%200x18%20at%20minimum%20to%20support%206%20filters.%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegarding%20the%20alignment%20question%20to%20ensure%20the%20start%20of%20msg_ram%20to%20be%20align%20you%20only%20need%20to%20ensure%20that%20the%20value%20of%26nbsp%3BMSG_RAM_BASE%20is%26nbsp%3Bdivisible%20per%200x1000%2C%20the%20value%20you%20assign%20is%20aligned.%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%20me%20know%20if%20this%20information%20solves%20the%20issue.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2319560%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC5536%20CAN%20ID%20Filter%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2319560%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBR%20%2F%3E%3CP%3EHello%20my%20friend.%20Excuse%20me%20for%20delay.%3C%2FP%3E%3CP%3EGood%20news.%20It%20works%2C%20but%20I%20needed%20to%20change%20the%20register%20txBuffer.address%20to%3C%2FP%3E%3CP%3E0x28.%3C%2FP%3E%3CP%3EThe%20final%20configuration%20was%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3ERX_FIFO0_OFS%20%3D%200x18%3C%2FSTRONG%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3ErxFifo0.%3C%2FSPAN%3E%3CSPAN%3Eaddress%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20RX_FIFO0_OFS%3B%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3ETX_BUFFER_OFS%20%3D%200x28%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EtxBuffer.%3C%2FSPAN%3E%3CSPAN%3Eaddress%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20TX_BUFFER_OFS%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EAlvaro%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2319743%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LPC5536%20CAN%20ID%20Filter%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2319743%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67396%22%20target%3D%22_blank%22%3E%40alvarolopes%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGreat%20to%20hear%20that!%3C%2FP%3E%0A%3CP%3EThanks%20for%20letting%20me%20know%20and%20share%20the%20configurations%20that%20works%20for%20you.%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E