gattis Posted March 20, 2017 Report Posted March 20, 2017 Hi I would like to use uGFX with a display that uses the FTDI FT80x controller, specifically this riverdi 320x240 cap touch display with the FT801 controller chip: https://riverdi.com/product/rvt3-5b320240cnwc81/ It communicates over SPI with the MCU and appears to allow direct RAM writes over SPI. Don't need super-fast updates, it would be for a menu-based GUI. The host MCU is a raspberry pi. Anyone know if this is already working or how much work it would require to get it running over the ugfx layer? Thanks!
Joel Bodenmann Posted March 21, 2017 Report Posted March 21, 2017 Hello @gattis and welcome to the µGFX community! The µGFX library currently doesn't come with a driver for the FT801 display controller. However, it would be fairly simple to create one. This is something that you can do yourself. The display driver interface is explained here and there are plenty of examples as there are already over 37 existing display drivers reaching from simple monochrome drivers to framebuffer drivers to full blown multi-buffering with hardware acceleration drivers. You should definitely be able to write a display driver for that display / display controller. Please don't hesitate to ask if you have any questions, we're happy to help. Alternatively we offer writing display drivers for you as part of our paid support services.
chodzikman Posted April 18, 2017 Report Posted April 18, 2017 Hi, I am afraid that implementing FT80x driver is not that simple task since communication with this driver is more like communication with OpenGL library. You are creating command list and as far as I know even if you can draw single pixels it is very ineffective way and display list is 4k or 8k so direct drawing is VERY limited. On the other hand, It is a bit irrational to implement whole library like uGFX to drive such advanced chip which design goal is to get much simpler MCU while achieving nice looking LCD-TFT UI Attached is example how to draw a clock using this chip from its manual.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now