mcauser / BLACK_F407VE

MicroPython board definition for the MCUDev Black STM32F407VET6 board
MIT License
122 stars 47 forks source link

Has anyone seen VE boards with the TFT connector reversed? #9

Open g8ecj opened 4 years ago

g8ecj commented 4 years ago

Maybe I'm just unlucky but I recently bought ZE and VE boards and a (what looks like) a plugin TFT (3.2" ILI9341) display. The display is totally compatible with the ZE board but the rows on the VE TFT connector seem to be mirrored and pin 32 is at 3v3 rather than ground hence a very warm regulator on the VE board. I'll check the version numbers of the PCBs as soon as I have them in front of me again but in the meantime thought maybe I'm not alone in having incompatible compatible boards! A somewhat older ZG board I have seems to be set up for a totally different LCD.

g8ecj commented 4 years ago

The version numbers are as follows:

mcauser commented 4 years ago

I found an image on here which explains there is a Classic and Upgrade version, with different pinouts: https://item.taobao.com/item.htm?spm=2013.1.0.0.29a630f48JXy6c&id=41304134448

mcauser commented 4 years ago

tft-differences Used Google Translate for the rough translations

mcauser commented 4 years ago

My 3x boards are: STM32_F4VE V2.0 1509 - STM32F407VET6 STM32_F4XX V3.0 1606 - STM32F407ZET6 STM32_F4XX V3.0 1606 - STM32F407ZGT6 (same board as ZET6, different cpu) Looking at the schematics pdfs that came with each, they are all using the Classic LCD pin layout.

mcauser commented 4 years ago

I found these two on Taobao:

STM32_F4XX_Pro V2.0 SN:171115 - STM32F407ZGT6 https://item.taobao.com/item.htm?spm=a1z10.1-c-s.w4004-22466574640.28.27c77402l508PG&id=565218048000

STM32_F4XX V3.0 1606 - STM32F407ZET6/ZGT6 https://item.taobao.com/item.htm?spm=a1z10.1-c-s.w4004-22466574640.30.27c77402l508PG&id=523276050344

Note the different board layouts and the Pro version has silkscreen label New TFT.

g8ecj commented 4 years ago

Many thanks for the research - I was going nowhere!! The image showing the two connection sets has given me all the necessary clues. I pushed the pins 1, 2, 29 & 32 (the highlighted pins in the right-hand side) from the V2.3 VE board, plugged in the LCD and away it goes! It's not mirrored as I thought after all, they have just rationalised the power, griound and reset connections. I can now use CubeMX to generate all the setup for the ZE or the VE board and my app (such as it is so far - just an LCD demo) works great on either.