Any examples on using the LocalPlus Bus with MQX?

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

Any examples on using the LocalPlus Bus with MQX?

跳至解决方案
1,407 次查看
Tim562
Senior Contributor I

Hi,

     Does anyone know of any example code showing how to activate an address window/chip select using MQX(3.8). I'm using a Freescale TWR-MPC5125 but I would take example code for anything at this point. I've tried directly writing the processor registors to set window location/size (seems successful) and chip select config (unable to write to that register?) but I'm having no luck. Thanks for any suggestions....

~Tim

标记 (3)
0 项奖励
回复
1 解答
1,205 次查看
DavidS
NXP Employee
NXP Employee

HI Tim,

It is not a specific example but rather an added target option.

Open a twrmcf52259 hello example and one of the targets will be for MRAM.

The BSP for it will have initialization code for the FlexRegards egards,

David

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,205 次查看
DavidS
NXP Employee
NXP Employee

Hi Tim,

Good news bad news.

First the good.  The tower kit has an extra card called the TWR-MEM card that can be added to your kit to give access to the MRAM that uses the external bus and chip selects.  Not certain why but the examples seemed to be with ColdFire devices (twrmcf52259 or m52259evb).

I've not looked at twrmpc5125 to know if the external bus matches up with the TWR-MEM card or not.  Just look at the schematics for both should let you know.

The bad news if mpc5125 has been deprecated from MQX4.0.

Regards,

David

1,205 次查看
Tim562
Senior Contributor I

Hi David,

     Thanks for your reply, I don't see any example projects in my "C:\Program Files\Freescale\Freescale MQX 3.8\mqx\examples" folder that makes use of a TWR-MEM card. Is the example code your refering to included in the MQX 4.0 installation or do I need to buy the TWR-MEM module to get it? Is the example project small enough that you could post a zip file of the project here? Example projects for ColdFire devices would likley still be helpfull for figuring out how MQX likes to use the LocalPlus bus. Thanks again for your reply.

Best,

Tim

0 项奖励
回复
1,206 次查看
DavidS
NXP Employee
NXP Employee

HI Tim,

It is not a specific example but rather an added target option.

Open a twrmcf52259 hello example and one of the targets will be for MRAM.

The BSP for it will have initialization code for the FlexRegards egards,

David

0 项奖励
回复