SPI and demo for a TFT Graphics Display

Download new library modules and examples to use with Astrobe for Cortex-M. Forum members can also upload their own source code examples.
Post Reply
cfbsoftware
Site Admin
Posts: 525
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

SPI and demo for a TFT Graphics Display

Post by cfbsoftware » Wed Mar 01, 2017 1:06 pm

The attached zip file contains the source code of the SPI Library module, Graphics line-drawing functions and a demo program to be used with Astrobe for Cortex-M7. It display AutoCAD Slide images of St Paul's Cathedral and the space shuttle on an AdaFruit 1.8" TFT Display.

Target:
STM32F767 and STM32F746 systems with a display connected via SPI3

Tested on:
AdaFruit 1.8" TFT Display (ST7735 and SPI3)
Attachments
ST7735Display.zip
(21.79 KiB) Downloaded 2582 times

steve64
Posts: 44
Joined: Mon Jul 09, 2018 8:56 am
Location: Italy

Re: SPI and demo for a TFT Graphics Display

Post by steve64 » Mon Aug 27, 2018 3:06 pm

Nice!
Which Nucleo board did you use?
Is the AdaFruit 1.8" TFT Display shield directly pluggable into that Nucleo board
or is there any additional HW trick to get a full system working?
Is the backlight control implemented? If so, how good is the quality?

cfbsoftware
Site Admin
Posts: 525
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

Re: SPI and demo for a TFT Graphics Display

Post by cfbsoftware » Tue Aug 28, 2018 12:18 pm

The Slide demo has been tested on both of the STM Cortex-M7 that we support:
I used eight female-male jumper wires to connect the display to the board. The connections are listed in the comments in the source code file ST7735.mod.

A later version of the demo can be found in the \Examples\STM32F7\Slide folder included with Astrobe for Cortex-M7. This is configured to use the same Adafruit TFT display but it is mounted on an Arduino shield. It is more convenient to use as it plugs directly into the Arduino-compatible sockets of the Nucleo boards:
Columbia.jpg
Columbia.jpg (69.09999999999999 KiB) Viewed 39478 times
The backlight has just been implemented as on / off.

Post Reply