SPI and demo for a TFT Graphics Display

Download pre-release library modules and new examples to use with Astrobe for Cortex-M7. Forum members can also upload their own source code examples.

SPI and demo for a TFT Graphics Display

Postby 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 54 times
cfbsoftware
Site Admin
 
Posts: 354
Joined: Fri Dec 31, 2010 12:30 pm

Re: SPI and demo for a TFT Graphics Display

Postby 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?
steve64
 
Posts: 36
Joined: Mon Jul 09, 2018 8:56 am
Location: Italy

Re: SPI and demo for a TFT Graphics Display

Postby 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.1 KiB) Viewed 789 times

The backlight has just been implemented as on / off.
cfbsoftware
Site Admin
 
Posts: 354
Joined: Fri Dec 31, 2010 12:30 pm


Return to Cortex-M7

cron