mpc8313 elbc different bank accesses conflict

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

mpc8313 elbc different bank accesses conflict

跳至解决方案
923 次查看
rettozero
Contributor I

Dear expert.

In my design, the elbc bank 0 interfaces with the boot nor flash, bank 2 and band 3 interface with two FPGAs, working in the UPM mode. Bank 2 support DMA burst read and write, while Bank 3 does not support burst transfer.

When the Bank 2 or Bank 3 was accessed alone,(that is to say, when access to Bank 2, the Bank3 idle, and access to Bank 3, the Bank 2 idle.) the system runs ok. However, when both banks were accessed, the CPU would reset, and the RSR register value is 0x13.

So I wonder what the reason is, and how to solve it.

Expects for your response, Thanks.

标记 (1)
0 项奖励
回复
1 解答
824 次查看
r8070z
NXP Employee
NXP Employee


Have a great day,

What do you mean as "bank is idle" and "both banks were accessed"? The MPC8313 cannot access 2 eLBC banks simultaneously. The eLBC banks share the package pins. Only one eLBC bank can be active. Correspondingly only one LCSn can be assigned when there is access on the local bus. Ensure that external device connected to any LCSx frees the local bus when its LCSx is not assigned (i.e. when its LCSn is high).

Also banks can share the UPM. If bank2 and bank3 need for different UPM patterns ensure that they uses different UPMs (MPC8313 eLBC has 3 UPMs).

The RSR (Reset Status Register) captures various reset events in the device. This register returns to its reset value only when power-on reset occurs.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post clarifies your problem, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
825 次查看
r8070z
NXP Employee
NXP Employee


Have a great day,

What do you mean as "bank is idle" and "both banks were accessed"? The MPC8313 cannot access 2 eLBC banks simultaneously. The eLBC banks share the package pins. Only one eLBC bank can be active. Correspondingly only one LCSn can be assigned when there is access on the local bus. Ensure that external device connected to any LCSx frees the local bus when its LCSx is not assigned (i.e. when its LCSn is high).

Also banks can share the UPM. If bank2 and bank3 need for different UPM patterns ensure that they uses different UPMs (MPC8313 eLBC has 3 UPMs).

The RSR (Reset Status Register) captures various reset events in the device. This register returns to its reset value only when power-on reset occurs.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post clarifies your problem, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
824 次查看
rettozero
Contributor I

Sorry for my poor english.

the problem has been solved.

I raise up up the LCLK from 41.625MHz to 66MHz. the error not happened.

I know what you mean.

rettozero@aliyun.com

0 项奖励
回复