Giter Site home page Giter Site logo

faweiz / ft800-ft813 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rudolphriedel/ft800-ft813

0.0 1.0 0.0 493 KB

Multi-Plattform C code Library for FTDIs FT8xx GPUs (FT800, FT801, FT810, FT811, FT812, FT813)

License: MIT License

C 91.11% C++ 8.89%

ft800-ft813's Introduction

FT810-FT813

This is a code library for EVE/EVE2 graphics controller ICs from FTDI/Bridgetek:

http://www.ftdichip.com/EVE.htm

http://brtchip.com/eve/

http://brtchip.com/ft80x/

http://brtchip.com/ft81x/

It contains code for and has been used with various mikro-controllers and displays.

I have used it so far with:

  • 8-Bit AVR, specifically the 90CAN series
  • Arduino, Uno, mini-pro, ESP8266
  • Renesas F1L RH850
  • Infineon Aurix TC222
  • ATSAMC21E18A

I have reports of successfully using it with:

  • ATSAMV70
  • ATSAMD20
  • ATSAME4
  • STM32
  • some PICs

The TFTs I have tested myself so far:

The examples in the "example_projects" drawer are for use with AtmelStudio7. For Arduino I am using the plugin from www.visualmicro.com .

The platform the code is compiled for is automatically detected thru compiler flags in FT8_config.h. This is the only file that should need editing to customize the library to your needs.

Note: there also used to be a file FT8_config.c but it is obsolete now.

  • Select the TFT attached by enabling one of the pre-defined setups.
  • Provide the pins used for Chip-Select and Power-Down in the target configuration you are using

When compiling for AVR you need to provide the clock it is running at in order to make the _delay_ms() calls used to initialise the TFT work with the intended timing. For other plattforms you need to provide a delay(ms) function that works between 1ms and 56ms at least and is at least not performing these delays shorter than requested. The delay(ms) is only used during initialisation of the FT8xx.

In Addition you need to initialise the pins used for Chip-Select and PowerDown in your hardware correctly to output. Plus setup the SPI accordingly, mode-0, 8-bit, MSB-first, not more than 11MHz for the init (if the display can handle it).

Originally the project went public in the German mikrocontroller.net forum, the thread contains some insight: https://www.mikrocontroller.net/topic/395608

Feel free to add to the discussion with questions or remarks.

Note, with so many options to choose from now, FT80x support will be removed at some point in the future.

ft800-ft813's People

Contributors

rudolphriedel avatar

Watchers

Faweiz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.