rodizio1 / EZ-WifiBroadcast

Affordable Digital HD Video Transmission made easy!
GNU General Public License v2.0
826 stars 200 forks source link

Working with SPI display #207

Open krzysztofkuczek opened 5 years ago

krzysztofkuczek commented 5 years ago

Hi, First of all, it's such a good project! Thanks for sharing your work. I was trying to utilize small 3.5 inch display connected via SPI bus using this awesome library https://github.com/juj/fbcp-ili9341 and basically it works but only sometimes when I run it from ssh session. When I try to run in automatically from level of /etc/rc.local or from .profile it never runs. Sometimes when it's started from terminal it works for 1-2 minutes and ends with reported errors like following

root@wifibroadcast(ro):~# DMA channel 0 has peripheral map 0 (is lite channel: 0, currently active: 0, current control block: (nil)) DMA channel 1 has peripheral map 7 (is lite channel: 0, currently active: 1, current control block: 0xbce21020) DMA channel 2 has peripheral map 13 (is lite channel: 0, currently active: 0, current control block: (nil)) DMA channel 3 has peripheral map 0 (is lite channel: 0, currently active: 0, current control block: (nil)) DMA channel 4 has peripheral map 0 (is lite channel: 0, currently active: 0, current control block: (nil)) DMA channel 5 has peripheral map 0 (is lite channel: 0, currently active: 0, current control block: (nil)) DMA channel 6 has peripheral map 13 (is lite channel: 0, currently active: 1, current control block: (nil)) DMA channel 7 has peripheral map 6 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel 8 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel 9 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel 10 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel 11 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel 12 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel 13 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel 14 has peripheral map 0 (is lite channel: 1, currently active: 0, current control block: (nil)) DMA channel collision! Some other program has submitted a DMA task to our DMA channel 1! (DMA task at unknown control block address 0xbce21020) System is likely unstable now, rebooting is advised.

I was trying to switch overclocking off but it does not work. With standard rpi installation it works fine. Any idea what may cause the problem. Thank you in advance Kris