chill wrote: 
> ... so the display setup and the 240 skin should all work out of the box
> I hope. 

Well it wasn't quite 'out of the box', and it involved more reading of
spec sheets and manuals that I was expecting, but finally I have 'this
display' (https://www.amazon.co.uk/gp/product/B07MH93747) working.

[image:
http://www.cjh.me.uk/MyPhotobucket/cache/DIYHifi/Jivelite/240x240/Waveshare1_640.jpg]

Naturally the changes turned out to be very minor, but of course you
can't tell that at first when it doesn't work first time, and you don't
know if you've even got the wiring right.

Here's how I have it configured:

1) WIRING (TO MATCH THE PIRATE AUDIO BOARDS AS CLOSELY AS POSSIBLE)

VCC: Connect to 3.3V.  I used pin 1.  It also works on 5V without any
apparent harm, but is much brighter, so is possibly being over-driven. 
On 3.3V it seems to match the Pirate Audio brightness
GND: GND, naturally.  I used pin 6
DIN: BCM10
CLK: BCM11
CS: BCM8
DC: BCM9
RST: BCM27 (This one is not present on the Pirate Audio boards, but is
needed in the fbtft_device setup.  I suspect other pins can be used.)
BL: BCM13 (A different pin can be used here, provided the backlight
brightness script is adjusted accordingly)

2) DRIVER CONFIGURATION:
No changes required to the 'modprobe flexfb' command.
Change the 'modprobe flexfb' command to:

Code:
--------------------
    modprobe fbtft_device name=flexfb speed=32000000 gpios=dc:9,reset:27
  
--------------------


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to