LPC546xx fixed RAM address 0x2001000 for CAN

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC546xx fixed RAM address 0x2001000 for CAN

1,337 次查看
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

标签 (1)
0 项奖励
回复
1 回复

1,011 次查看
carstengroen
Senior Contributor II

Daniel,

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

0 项奖励
回复