Configure the FlexBus peripheral

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

Configure the FlexBus peripheral

ソリューションへジャンプ
1,605件の閲覧回数
pozz
Contributor III

I'm using Processor Expert Software - Microcontrollers Driver Suite 5.3 installed on Eclipse 3.6.2.

 

I'm configuring a K60 microcontroller with all components I will use on my board: Ethernet, ADC, DAC, and so on. Now I have encountered some difficulties with FlexBus peripheral. How can I add it in my PE project? I couldn't find FlexBus among Components Library?

 

Is a FlexBus example PE project available?

1 解決策
708件の閲覧回数
ProcessorExpert
Senior Contributor III

Hi,

 

Unfortunatelly there is no example project for the FlexBus. The settings for FlexBus are available as properties inside the CPU component. 

You need to:

- enable and unfold the External Bus property group and enable and configure chip selec with timing, address/data bus pins etc. inside this group to match the memory or device on the flexbus

- Add external memory block using '+' button inExternal memory property line and configure Start address, Memory size and type.

 

 

best regards
Petr Hradsky
Processor Expert Support Team

 

 

 

 

 

 

元の投稿で解決策を見る

0 件の賞賛
6 返答(返信)
709件の閲覧回数
ProcessorExpert
Senior Contributor III

Hi,

 

Unfortunatelly there is no example project for the FlexBus. The settings for FlexBus are available as properties inside the CPU component. 

You need to:

- enable and unfold the External Bus property group and enable and configure chip selec with timing, address/data bus pins etc. inside this group to match the memory or device on the flexbus

- Add external memory block using '+' button inExternal memory property line and configure Start address, Memory size and type.

 

 

best regards
Petr Hradsky
Processor Expert Support Team

 

 

 

 

 

 

0 件の賞賛
707件の閲覧回数
pozz
Contributor III
ProcessorExpert wrote:

You need to:

- enable and unfold the External Bus property group and enable and configure chip selec with timing, address/data bus pins etc. inside this group to match the memory or device on the flexbus

 

I tried to enable the External Bus property group of MK60DN512ZVLQ10, but I couldn't. It seems the property can't be enabled and appears in gray color.

 

Any suggestions?

0 件の賞賛
707件の閲覧回数
ProcessorExpert
Senior Contributor III

Hi, 

 

I have tried on windows 7 and it seems to work there as well.

Are you sure it doesn't work on your system? Please try to click first in the middle of the property in the inspector and then use drop-down list (please see the attached screenshot). If it won't help, please post more details on your system and a sample project having the problem, if possible.

 

best regards
Petr Hradsky
Processor Expert Support Team

 

 

0 件の賞賛
707件の閲覧回数
pozz
Contributor III

Dear Petr,

 

thank you for your reply. The problem was I added MQX operating system and it seems the FlexBus can't be enabled with MQX.

0 件の賞賛
707件の閲覧回数
ProcessorExpert
Senior Contributor III

Yes, now I see. It is correct, there is the limitation for FlexBus when MQX is used because MQX takes care for the FlexBus in it's own code. If you need some change in FlexBus handling, you need to change MQX code/settings.

 

best regards
Petr Hradsky
Processor Expert Support and Servicepacks Team

 

0 件の賞賛
707件の閲覧回数
jvasil
Contributor III

Can you explain what you mean by "you need to change MQX code/settings"?  We need to use FlexBus to drive a display and are planning to use MQX-Lite.  Under the MQX1 component I don't see any settings that look like they are related to the external bus.  Also, under the processor (MK64FN1M0VLQ12), I don't see anything that looks like an "External Bus property group" so I'm assuming that the statement "MQX takes care for[sic] the FlexBus in it's own code" is also true for MQX Lite--can anyone confirm this?

We just need to read/write the display (although we may want to use DMA eventually) so maybe all we have to do is to know how to map the FB to some known location in the processor's memory space??

Finally, how does the "Init_FB" component come into play?  Should this NOT be used if we're using MQX Lite?

Thanks!

p.s. Using PE 10.3.0


0 件の賞賛