cancel
Showing results for 
Search instead for 
Did you mean: 

The issue from importing STM32CubuIDE and TouchGFX

지한.1
Associate II

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.
  1. In TouchGFX( ver. 4.17.0 ), Make project and generate code ( ex. Proeject name is Test )0693W00000JMxW1QAL.jpg
    1. ​Open the directory C:\TouchGFXProjects\Test and rename the STM32F429I_DISCO_REV_E01.ioc -> STM32F249I-DISCO.ioc.0693W00000JMxWkQAL.jpg
    2. 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.0693W00000JMxYMQA1.jpg
    3. Execute the .project file and open STM32F429I-DISCO.ioc file in STM32CubeIDE Project Explorer.
    4. In STM32F429-DISCO.ioc file, check the DAC OUT2 Configuration and generate code.( The DAC Channel 2 is GPIO number PA5. )0693W00000JMxZAQA1.jpg
    5. Build the proejct successfully, and Run the project on the STM32F429I-discovery board.0693W00000JMxa3QAD.jpg
    6. Nothing display on the LCD.0693W00000JMxaDQAT.jpg
  • However, If you build the PA5 pin without any settings, it will output the LCD.
  • 0693W00000JMxbVQAT.jpgAnd, after building the PA5 with GPIO IN/OUT, downloading the firmware shows the LCD.
  • 0693W00000JMxdbQAD.jpg 
  • 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
  • -
  •  

2 REPLIES 2
MM..1
Chief III

Your method for add ioc to project is little...

But when your LCD show nothing i recommend debug it why...

Hello, How do I add an .ioc file to STM32CubeIDE project?