Skip to main content
Ray Mendoza
Associate II
May 31, 2017
Solved

TFT Display using NUCLEO-F746ZG

  • May 31, 2017
  • 25 replies
  • 4730 views
Posted on May 31, 2017 at 18:23

Hello!

I am a beginner using the the NUCLEO-F746ZG to drive a 4.3' Newhaven TFT display that has a capacitive touch panel controller.

The parts are shown below:

https://www.digikey.com/product-detail/en/stmicroelectronics/NUCLEO-F746ZG/497-16282-ND/5806779

https://www.digikey.com/products/en?keywords=NHD-4.3-480272EF-ATXL%23-CTP

 

I was wondering if there is an example test code to see if the connections I made between the display and the nucleo are correct? I made my connections based on pins that can use the LTDC interface as an alternate function.

More info: I wish to pull images from an SD card. Certain pictures will be displayed depending on where the the user presses on the screen.

Thank you for the help!

#tft-lcd #stm32f7 #stm32 #lcd #touch
This topic has been closed for replies.
Best answer by Dan Mackie
Posted on June 01, 2017 at 20:09

So then check out the schematics for the 746G-disco, and sort out what you have to do.

Should be fairly straight forward, unless the software is what is giving you headaches.

In that case, you can run a free trial with both Raisonance and Atollic, and if your barrier is

software, test the Atollic free system with their free 746G download, make a few changes

to get to the nucleo, and see what happens. If you do the schematic check, it should go

pretty easy. I moved the 746G download over to Raisonance, since I already had purchased

a Raisonance system which I had in operation, with serial I/O, analog inputs, and digital I/O.

That worked for me.

Dan

25 replies

Dan Mackie
Associate III
June 1, 2017
Posted on June 01, 2017 at 13:25

We made an interface board with a 0.5 mm spacing connector to plug in the 7' Newhaven display to the 746gdisco. It has a cutout so that board can be soldered to the 0.8 mm pads on the bottom of the 746gdisco. We also added an interface board with power to drive the back light,  and provide rs232 drivers. Only needed to change 480x272 to 800x480 in one place in software.

Ray Mendoza
Associate II
June 1, 2017
Posted on June 01, 2017 at 18:27

Hey Dan,

Thank you for the reply. But isn't the pinout different on the 746gdisco? I'm wondering how to use the LTDC interface on Nucleo-f746zg to drive the display because we plan on using the specific board package on the nucleo board. I'm guessing in order to test I would have to develop a my own header files and c files for the display and the capacitive controller since it is not provided right? I'm mainly looking for some hints as to where I should go.

Dan Mackie
Associate III
June 1, 2017
Posted on June 01, 2017 at 18:38

I started with an Atollic download of a baseline for the 746zg on the disco board. Should be just a case of making your interface take the right pins from the 746 to the lcd. I use Raisonance for my devsys. I have used Atollic but prefer Raisonance so far.  A 746zg on a nucleo or a disco board should be identical I expect. Watch your lcd power.  We have some software running on the Nucleo 144 using the 429,But have not tried 746 nucleo. If you want help beyond that, how would you like it to work? What is the goal?Dan

Sent from my Samsung device

AVI-crak
Senior
June 2, 2017
Posted on June 02, 2017 at 19:45

You will need too many contact connections between the display - RGB.

F746ZG has support for DSI display contacts.

The display price of NHD-4.3-480272EF-ATXL # -CTP-ND is too high. It makes sense to look for displays among cell phones, for example Explay Alto.

Own design of the printed circuit board - will look better than the design on the adapters, and cheaper.

Dan Mackie
Associate III
June 2, 2017
Posted on June 03, 2017 at 01:42

The DSI may have fewer wires, but the 469 also has a DSi display, and the 469 software did not come up and fly for me, like the 746g-Disco did.  A few wires is not a big deal.  Chasing software from a third party that does not behave can make for a lot more expense than a few wires.  The less expensive display is an issue, but there are other suppliers as well.  Test what works for you.

Ray Mendoza
Associate II
June 14, 2017
Posted on June 14, 2017 at 05:48

Hey thanks for the suggesting the tool Atollic!

Firstly, I apologize for the late response. I was forced to switch projects but I am on this case again! So right now I have wired all my connections according to the LDTC interface provided on the Nucleo. So on the Atollic, I'm guessing the only things I have to change are the LCD enable pin and the GPIO setup on the BSP_LCD_intialize function?

Right now I am using the STM32F746G_Discovery_template provided.

Dan Mackie
Associate III
June 14, 2017
Posted on June 14, 2017 at 06:09

I never tried a nucleo driving the lcd, but I am using the Atollic framework to drive a 746g-disco, and it works fine. I do enable and disable the display with one pin, and don't have to rewrite it.

Sent from my Samsung device

Ray Mendoza
Associate II
June 27, 2017
Posted on June 27, 2017 at 20:06

Hello all,

Just wanted to let you know that I have verified the connections using atollic as described by Dan. I just had trouble changing a few things, such as configurations in some C files, but eventually after changing them I was able to display a picture. Thank you all for the responses!

Dan Mackie
Associate III
June 27, 2017
Posted on June 27, 2017 at 21:57

Good news!Dan

Sent from my Samsung device