英文:
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
答案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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论