Burst memory accesses in MPC55xx/e200z6

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

Burst memory accesses in MPC55xx/e200z6

跳至解决方案
2,500 次查看
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,279 次查看
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,279 次查看
ricardofranca
Contributor III

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

Best regards,
Ricardo

0 项奖励
回复
2,280 次查看
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 项奖励
回复