mpc8313 elbc different bank accesses conflict

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

mpc8313 elbc different bank accesses conflict

ソリューションへジャンプ
668件の閲覧回数
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 解決策
569件の閲覧回数
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 返答(返信)
570件の閲覧回数
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 件の賞賛
569件の閲覧回数
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 件の賞賛