ningxin(资深民工)
你好,谢谢回复. 每秒要进行900K次读写操作,对于200MHZ的ARM来说,假设访内指令需两个机器周期,那么900K次的访内操作将耗费1800K个的机器周期,1800K/200M大约不到百分之一. 单从这一点还说明不了软件行不通. 我觉得你说的由于每秒要处理900K次中断,这可能是问题关键,不知道arm-linux的中断响应时间能达到1us吗? 我的理解正确吗?
我在网上查到的一个用MCU驱动小屏幕LCD的文章,他给出了CPU的负载,如下:
The CPU load depends on the hardware and controller used, as well as on the size of the display.
For example:
Renesas M16C62 Controller, 16MHz, 160*100 display, 8-bit interface, 80 Hz update
= app. 12% CPU load
Renesas M16C62 Controller, 16MHz, 240*128 display, 8-bit interface, 80 Hz update
= app. 22% CPU load
但我不清楚他是怎么算的,供大家参考.