Screen - 1.8TFT SPI 128*160 V1.1
Options
David Hunt
New Member Posts: 7 ✭
in Peripherals
Hi all.
I got a lovely little TFT screen that I'd like to hook up to an UP board, as I'm doing a portable project that requires some graphics to be shown on a screen. It's a 1.8" SPI TFT screen based on the ST7735R chipset.
I already have it working on a Raspberry Pi, and can load images onto it using the 'fbi' utility, but now I want to migrate to the Up Board.
All the kernel modules are there on the Ubuntu distro for UP (with the updated kernel) so nice job there.
I'm loading all the framebuffer core modules successfully, and 'dmesg' shows that it sees a flexfb device on one of the SPI ports.
However at the last step, when attemting to load the flexfb module, I'm getting error -12
modprobe flexfb width=128 height=160 init=..... ( https://github.com/notro/fbtft/wiki/flexfb )
Has anyone tried this peripheral?
Regards,
Dave.
I got a lovely little TFT screen that I'd like to hook up to an UP board, as I'm doing a portable project that requires some graphics to be shown on a screen. It's a 1.8" SPI TFT screen based on the ST7735R chipset.
I already have it working on a Raspberry Pi, and can load images onto it using the 'fbi' utility, but now I want to migrate to the Up Board.
All the kernel modules are there on the Ubuntu distro for UP (with the updated kernel) so nice job there.
I'm loading all the framebuffer core modules successfully, and 'dmesg' shows that it sees a flexfb device on one of the SPI ports.
However at the last step, when attemting to load the flexfb module, I'm getting error -12
modprobe flexfb width=128 height=160 init=..... ( https://github.com/notro/fbtft/wiki/flexfb )
Has anyone tried this peripheral?
Regards,
Dave.
Comments
-
Before you load your display settings with modprobe you need:
sudo modprobe fbtft dma=0
See also: https://up-community.org/wiki/TFT_Display_HATs -
Thanks, that was it.
Regards,
Dave.
Categories
- All Categories
- 63 Announcements & News
- 139 Product News - New Product/Product Change Notice/ End-of-life
- 112 Welcome Developers!
- 60 Unboxing & Project Sharing
- 114 Tech Updates
- 3.6K UP Products
- 119 UP 7000
- 25 UP Squared i12
- 24 UP Xtreme i12
- 14 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 24 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 59 UP Squared Pro
- 135 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 265 Starter Kits & Peripheral