LPC546xx fixed RAM address 0x2001000 for CAN

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC546xx fixed RAM address 0x2001000 for CAN

1,488件の閲覧回数
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,162件の閲覧回数
carstengroen
Senior Contributor II

Daniel,

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

0 件の賞賛
返信