5510 z1 core code runs more slowly if z0 core started

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

5510 z1 core code runs more slowly if z0 core started

跳至解决方案
2,152 次查看
markelson
Contributor III

I have found that the code in my z1 core runs about half as fast if I start the z0 core. Even with an empty loop running in the z0 core.The z0 core is not generating any interrupts or exceptions and the only interrupt occurring in the z1 is the PIT I have coded.

 

Has anyone else found this? Does anyone know why it happens? I've been through the manuals and can't find an explanation.

 

Thank you, Mark

标签 (1)
0 项奖励
回复
1 解答
1,990 次查看
markelson
Contributor III

I managed to fix this myself. There must have been some kind of bus contention going on. I used PFCRP0 to prioritize z1's port over z0's (ARB=0, PRI=0) and then, for both PFCRP0 and PFCRP1, enabled line buffers (BFEN=1). The speed improvement was astonishing - z1 ran 6x faster even with z0 running. I couldn't find any documentation suggesting this might be necessary, not even in the dual core example.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,991 次查看
markelson
Contributor III

I managed to fix this myself. There must have been some kind of bus contention going on. I used PFCRP0 to prioritize z1's port over z0's (ARB=0, PRI=0) and then, for both PFCRP0 and PFCRP1, enabled line buffers (BFEN=1). The speed improvement was astonishing - z1 ran 6x faster even with z0 running. I couldn't find any documentation suggesting this might be necessary, not even in the dual core example.

0 项奖励
回复