The issue from importing STM32CubuIDE and TouchGFX
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-24 3:58 AM
I tried many ways. However, the DAC 2 channel output is not active.
- The problem starts the commuity issue 'Undefined reference to 'HAL_RTC_Init' problem'
- ​
- I tried the method you suggested, buf nothing displayed on the LCD.
- ​
- So, I finished the integration of TouchGFX( version 4.17.0 ) and STM32CubeIDE( 1.8.0 ) by comparing different project files( STM32F7 series ).
- ​
- The integration was done in the following way.
- ​
- In TouchGFX( ver. 4.17.0 ), Make project and generate code ( ex. Proeject name is Test )
- ​Open the directory C:\TouchGFXProjects\Test and rename the STM32F429I_DISCO_REV_E01.ioc -> STM32F249I-DISCO.ioc.
- Open the directory C:\TouchGFXProjects\Test\STM32CubeIDE, open the .project file and add the code in the area marked with a red square and save code.
- Execute the .project file and open STM32F429I-DISCO.ioc file in STM32CubeIDE Project Explorer.
- In STM32F429-DISCO.ioc file, check the DAC OUT2 Configuration and generate code.( The DAC Channel 2 is GPIO number PA5. )
- Build the proejct successfully, and Run the project on the STM32F429I-discovery board.
- Nothing display on the LCD.
- ​Open the directory C:\TouchGFXProjects\Test and rename the STM32F429I_DISCO_REV_E01.ioc -> STM32F249I-DISCO.ioc.
- ​
- However, If you build the PA5 pin without any settings, it will output the LCD.
And, after building the PA5 with GPIO IN/OUT, downloading the firmware shows the LCD.
- ​
- I want to use PA5 as DAC OUT.
- Could you help me how to use PA5 as DAC OUT?
- Or could you tell me the integration of TouchGFX and STM32CubeIDE which can use PA5 as DAC OUT?
- < System Configuration >
- > TouchGFX 4.17.0
- > STM32CubeIDE 1.8.0
- > STM32F429I-Disovery Revision E01 board
- -
​
Labels:
- Labels:
-
DAC
-
STM32F4 Series
-
TouchGFX
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-24 7:04 AM
Your method for add ioc to project is little...
But when your LCD show nothing i recommend debug it why...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-24 10:56 PM
Hello, How do I add an .ioc file to STM32CubeIDE project?
