前两天刚刚把内核跑起来,调试液晶的时候又出这档子事儿,真是不顺利呀!!
先上原理图:
内核启动后加载ili9341的驱动,会刷屏,驱动代码完全是通过SPI写ILI9341的寄存器:
加载驱动时,可以看到液晶从上到下刷屏一次。刷成黑色的底色。
之后登录到板子的系统下运行fb0的测试程序,液晶没有任何显示,我还将framebuffer里的颜色值打印出来,也是正确的。
还请高人指点一下!!!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.