2022-11-29 02:55 AM
Dear all,
I'm working on a project based on stm32h735g-dk I'm using the three ADC in differencial mode. For the ADC 2 I assigned the pin PF13 and PF14 . I'm also using the LCD with touchgfx.
I discovered that the pin PF14 even if this is not declared at all in the .ioc file is used by the display and If I apply any signal to the ADC in the LCD just freeze. Do you know by chance if it is normal that such pin is considered free in Cube MX while it is not actually free?
2022-11-29 06:04 AM
Hello @vdi c.2 and welcome to the Community :)
Can you please share your ioc file?
Imen
2022-11-29 06:15 AM
Hello @Imen DAHMEN , sure Iyou can find attached here.
As you can see the pin PF14 is used as ADC2 IN and if you disable such adc it is available and assigned to nothing. but as soon as I put a signal on such pin the touchgfx task freeze. I noticed also that in the generated code the ADC2 init function is before the touchgfx init if I invert the order initializing the ADC2 after touchgfx the display remains completely black.
Thanks a lot,
Vincenzo