# PiCore image able to drive ILI9341-based LCD?

**URL:** https://forum.makecode.com/t/picore-image-able-to-drive-ili9341-based-lcd/652
**Category:** Arcade
**Created:** [October 19, 2019, 4:06pm UTC](https://forum.makecode.com/t/picore-image-able-to-drive-ili9341-based-lcd/652 "2019-10-19T16:06:35Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![gbraad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gbraad/32/338_2.png) [@gbraad](https://forum.makecode.com/u/gbraad)
#### Post date: [October 19, 2019, 4:06pm UTC](https://forum.makecode.com/t/picore-image-able-to-drive-ili9341-based-lcd/652/1 "2019-10-19T16:06:35Z")

</div>

I am able to run the PiCore image on my older RasPi model A, but I am wondering now if it would be possible to use it to drive an LCD based on the ILI9341 driver chip (like the 2.8" PiTFT from Adafruit).

> <https://twitter.com/gbraad/status/1185492784226041857>

---

<div class="post-metadata">

### Author: ![mmoskal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mmoskal/32/20_2.png) [@mmoskal](https://forum.makecode.com/u/mmoskal)
#### Post date: [October 20, 2019, 3:45am UTC](https://forum.makecode.com/t/picore-image-able-to-drive-ili9341-based-lcd/652/2 "2019-10-20T03:45:22Z")

</div>

I guess you could try to as if the ILI can emulate a frame buffer. Direct SPI is not currently supported on the Pi.

---

<div class="post-metadata">

### Author: ![gbraad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gbraad/32/338_2.png) [@gbraad](https://forum.makecode.com/u/gbraad)
#### Post date: [October 22, 2019, 7:05am UTC](https://forum.makecode.com/t/picore-image-able-to-drive-ili9341-based-lcd/652/3 "2019-10-22T07:05:11Z")

</div>

> framebuffer

So basically the same as before with [https://github.com/notro/fbtft](https://github.com/notro/fbtft), but this time using the PiCore (TinyCore) image, right? Would this be something to consider as a possible PR or enhancement to the current bootloader repository?

---

<div class="post-metadata">

### Author: ![mmoskal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mmoskal/32/20_2.png) [@mmoskal](https://forum.makecode.com/u/mmoskal)
#### Post date: [October 22, 2019, 2:34pm UTC](https://forum.makecode.com/t/picore-image-able-to-drive-ili9341-based-lcd/652/4 "2019-10-22T14:34:39Z")

</div>

If you can add it to [https://github.com/microsoft/uf2-linux](https://github.com/microsoft/uf2-linux) in a way that doesn’t break existing HDMI screen support and doesn’t increase the size too much, then sure, please send us a PR. Otherwise, you can create your own fork, and your own image. As long as the SPI screen is the default framebuffer device, the binaries we generate from Arcade should just work.

BTW, the ILI9341 should work with SPI with ATSAMD51, the bootloader needs to say DISPLAY\_TYPE=9341 see [https://arcade.makecode.com/hardware/adding](https://arcade.makecode.com/hardware/adding)

---

<div class="post-metadata">

### Author: ![gbraad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gbraad/32/338_2.png) [@gbraad](https://forum.makecode.com/u/gbraad)
#### Post date: [October 22, 2019, 2:38pm UTC](https://forum.makecode.com/t/picore-image-able-to-drive-ili9341-based-lcd/652/5 "2019-10-22T14:38:56Z")

</div>

> [@mmoskal](#):
>
> BTW, the ILI9341 should work with SPI with ATSAMD51, the bootloader needs to say DISPLAY\_TYPE=9341 see [https://arcade.makecode.com/hardware/adding](https://arcade.makecode.com/hardware/adding)

Unable to verify this for the Bridge, as at the moment I am unable to see what has been specified for the bootloader (no code available or docs)

---

<div class="post-metadata">

### Author: ![gbraad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gbraad/32/338_2.png) [@gbraad](https://forum.makecode.com/u/gbraad)
#### Post date: [October 22, 2019, 2:39pm UTC](https://forum.makecode.com/t/picore-image-able-to-drive-ili9341-based-lcd/652/6 "2019-10-22T14:39:16Z")

</div>

> [@mmoskal](#):
>
> As long as the SPI screen is the default framebuffer device, the binaries we generate from Arcade should just work.

Will have a look at this over the weekend. Thanks!

---

<div class="post-metadata">

### Author: ![mmoskal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mmoskal/32/20_2.png) [@mmoskal](https://forum.makecode.com/u/mmoskal)
#### Post date: [October 24, 2019, 10:45am UTC](https://forum.makecode.com/t/picore-image-able-to-drive-ili9341-based-lcd/652/7 "2019-10-24T10:45:24Z")

</div>

You can drag current.uf2 or config.bin if present to [https://microsoft.github.io/uf2/patcher/](https://microsoft.github.io/uf2/patcher/) and see the config. You cannot drag back the uf2 file after modifications though.
