cancel
Showing results for 
Search instead for 
Did you mean: 

TFT Display using NUCLEO-F746ZG

Ray Mendoza
Associate II
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
25 REPLIES 25
AVI-crak
Senior
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
Senior
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.

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.

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

Posted on June 14, 2017 at 06:11

Presumably the i/o setup should be done by cubemx, and you just have to drag in the bsp sources.

Sent from my Samsung device

Posted on June 21, 2017 at 01:52

Hey so I'm actually having trouble debugging my Atollic software. Does pressing the 'Debug' Icon automatically upload the firmware?

Posted on June 21, 2017 at 02:55

I believe so - I can check that in the morning. I have no stm testbed at home.Dan

Sent from my Samsung device

Posted on June 21, 2017 at 18:14

Yes, the debug under Run downloads the logic.

Dan

________________

Attachments :

image001.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hy0J&d=%2Fa%2F0X0000000b9v%2FYFFlUzI5na0iHZ3BtwOnFSj73ehKET2VSoH3CFMDYm8&asPdf=false
Posted on June 21, 2017 at 18:30

Here is the same screen in Raisonance – cleaner and more usable in my books.

Highlighted icon above Start Debug Session is the poke point to make the download session happen.

Had a user running ST-Link yesterday to download a field update to the product we sold them recently.

Dan

________________

Attachments :

image001.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hyb2&d=%2Fa%2F0X0000000b9t%2F0ZuazPfkauS8bPM0MpPBv0gatKd1JVF4XSnwHcg2Z64&asPdf=false
Ray Mendoza
Associate II
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!