你好:
我们cpu使用的是omapl138,板子参考的是da850。板子刚通电时lcd显示正常,通电使用1天以后会有花屏现象(屏幕上显示一些竖的白线),问题发生时用示波器测量发现vsync和hsync都没有了。
我们在网络上查找这个问题,有资料说要把寄存器PBBPR(Peripheral Bus Burst Priority Register,0xB000 0020)改成0x30,以减少Command Starvation问题发生的概率。我们这样修改后,问题仍然存在,但变成了十几天发生一次了。
查找omapl138的TRM,对PBBPR讲的不怎么详细,只说:
Configure the peripheral bus burst priority register (PBBPR) to a value lower than the default value of
FFh. A lower value reduces the likelihood of prolonged command starvation for accesses made from
different master/peripherals to mDDR/DDR2 memory. The optimal value should be determined based
on system considerations; however, a value of 20h or 30h is sufficient for typical applications.
我想咨询一下:
我们花屏的问题确实和这个参数相关吗?如果确实相关那怎么根据系统情况找到一个理想参数可以让花屏问题不再发生;如果不相关那我们的花屏的原因是什么?
谢谢