Burst memory accesses in MPC55xx/e200z6

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

Burst memory accesses in MPC55xx/e200z6

ソリューションへジャンプ
2,496件の閲覧回数
ricardofranca
Contributor III

Hello,

 

Although I am thinking about the MPC5554, I suppose my (beginner's!) question should apply to other microcontroller/microprocessor models that can perform burst accesses to external memories.

When I access external memory in burst mode, does the processor wait the whole burst to finish (e.g. 3+1+1+1 cycles) before using the retrieved data or it continues executing instructions as soon as the data that was actually meant to be loaded is read?

 

Thanks!

ラベル(1)
タグ(4)
0 件の賞賛
返信
1 解決策
2,275件の閲覧回数
robert_carter
NXP Employee
NXP Employee

Ricardo,

Good question. Devices like the MPC5554 which have a bursting bus interface don't have to wait until all of the data beats are received from the external memory. The CPU will try to make us of the information as it becomes available from the external device.  In general, if you are bursting instructions from external memory, you should be sure to have cache enabled so any retrieved instructions that are needed again soon will curl up in cache and be ready for use again without having to go back out to external memory. You should pay careful attention to external memory wait state settings and configure those for the fewest number of wait states that are possible at the clock frequency you are using. Finally, the MPC5554 is a fine device, but you might consider a slightly newer device such as MPC5644A or MPC5674F depending on your exact system needs. They are a generation newer technology and have somewhat better performance.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,275件の閲覧回数
ricardofranca
Contributor III

Robert,
Thanks for your answers, they were very helpful!

Best regards,
Ricardo

0 件の賞賛
返信
2,276件の閲覧回数
robert_carter
NXP Employee
NXP Employee

Ricardo,

Good question. Devices like the MPC5554 which have a bursting bus interface don't have to wait until all of the data beats are received from the external memory. The CPU will try to make us of the information as it becomes available from the external device.  In general, if you are bursting instructions from external memory, you should be sure to have cache enabled so any retrieved instructions that are needed again soon will curl up in cache and be ready for use again without having to go back out to external memory. You should pay careful attention to external memory wait state settings and configure those for the fewest number of wait states that are possible at the clock frequency you are using. Finally, the MPC5554 is a fine device, but you might consider a slightly newer device such as MPC5644A or MPC5674F depending on your exact system needs. They are a generation newer technology and have somewhat better performance.

0 件の賞賛
返信