AnsweredAssumed Answered

LPC546xx fixed RAM address 0x2001000 for CAN

Question asked by Daniel Gull on Feb 1, 2019
Latest reply on Feb 1, 2019 by Carsten Groen



We are using the CAN interface on the LPC54628. We also use the fsl_can.c/h driver provided with the MCUXpresso SDK 2.5.0. In the two examples provided in the SDK:

- boards\lpcxpresso54628\driver_examples\mcan\interrupt_transfer

- boards\lpcxpresso54628\driver_examples\mcan\loopback\

the fsl_mcan.c function MCAN_SetMsgRAMBase() is called with the MSG_RAM_BASE address fixed to 0x20010000 i.e. beginning of SRAM1.

We tried to move this base address to beginning of SRAM2 i.e. MSG_RAM_BASE = 0x20018000. With this modification the example does not work. Why?

Is there a limitation where the base RAM address can be placed to the CAN driver?

Where is this limitation described?


Many thanks