LPC546xx fixed RAM address 0x2001000 for CAN

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

LPC546xx fixed RAM address 0x2001000 for CAN

812 Views
danielgull
Contributor IV

Hi

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

Dani

Labels (1)
0 Kudos
1 Reply

486 Views
carstengroen
Senior Contributor II

Daniel,

have a look here: https://community.nxp.com/message/964791 

0 Kudos