STM32F412-Discovery + TouchGFX

huangapple go评论59阅读模式
英文:

STM32F412-Discovery + TouchGFX

问题

Hi,我写了一个非常简单的TouchGFX项目,一个按钮两个形状。在模拟器中看起来完全正常,但当我使用设计工具或IDE下载后,运行时只显示这个屏幕运行时的屏幕。我猜想我可能漏掉了一些配置,但说实话,设计工具似乎已经做了大部分工作...我尝试过两块Discovery开发板,都出现了同样的问题,我还运行了1.27 FW包中提供的非常简单的Hello World项目,它可以正常运行,所以我认为硬件应该是没问题的。请问有人能给我一些指引吗,我想我可能漏掉了一步。

谢谢

Andy

应该是这样的

英文:

Hi I've write a very simple, (although the demos appear to do the same) a TouchGFX project, one button two shapes.. seems to work perfectly in the simulator, just when i download using either the designer or the IDE, when I run i just get this screenScreen on run i'm assuming i've missed some configuration, but to be honest the designer tool, seems to do most of it... I've tried two Discovery boards, both the same, and i've run the very simple Hello World project that could in the 1.27 FW pack.. and that works so i'm thinking the hardware is ok. Could anyone give me any pointers please, I think i've just missed a step

Thank you

Andy

It should look like this

答案1

得分: 0

Looks like an STM32412 DISCO board. It hits an assert initialising the touch driver.
The later version of the board has a different touch controller, see UM2032 D04 revision swaps the display to a FRD154B2902-D-CTQ, which changes the touch controller to an FT3267.
The TouchGFX project creator uses the BSP FT6x06 touch driver. ST do have an ft3x67 BSP driver (used on the STM32L4R9IEVAL board). If you bring that into the touchGFX project and modify the STM32TouchController.cpp file to use it, the

英文:

Looks like an STM32412 DISCO board. It hits an assert initialising the touch driver.
The later version of the board has a different touch controller, see UM2032 D04 revision swaps the display to a FRD154B2902-D-CTQ, which changes the touch controller to an FT3267.
The TouchGFX project creator uses the BSP FT6x06 touch driver. ST do have an ft3x67 BSP driver (used on the STM32L4R9IEVAL board). If you bring that into the touchGFX project and modify the STM32TouchController.cpp file to use it, the

huangapple
  • 本文由 发表于 2023年5月22日 22:02:40
  • 转载请务必保留本文链接:https://go.coder-hub.com/76307000.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定