Skip to main content
Associate
May 14, 2024
Solved

STM32H7 Issue with DAC to ADC Internal Connection in CubeMX

  • May 14, 2024
  • 8 replies
  • 2620 views

Dear engineers,

I hope this message finds you well. I am currently encountering an issue with the internal connection feature from DAC to ADC in CubeMX. Specifically, I cannot locate the ADC2 IN16 in the interface, and upon setting up the IN17: VDAC1_OUT2 Channel, CubeMX continuously loads without completing the process.

I have attempted to resolve this issue by using different versions of CubeMX, starting a new project, and even testing it on various computers, yet the problem persists. Could this be a bug in the software, or might I be missing a step in the setup process?

Thank you for looking into this matter and for your ongoing support.

 

This topic has been closed for replies.
Best answer by STTwo-32

Hello @RadekS 

This issue is solved on the new release of the STM32CubeMX (V6.12.0).

Best Regards.

STTwo-32

8 replies

mƎALLEm
ST Technical Moderator
May 14, 2024

Hello,

 

Could you please indicate which STM32H7 exact part number are you using?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
STTwo-32
ST Technical Moderator
May 14, 2024

Hello @RadekS and welcome to the ST Community :smiling_face_with_smiling_eyes:.

Could you please add more details on your description (What MCU are you using?  Can you add more details?  Can you add a .ioc file that reproduce the issue elaborated using the Last CubeMX version (V6.11.1).

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
RadekSAuthor
Associate
May 14, 2024

Thank you very much for your response. 

The version of the IDE: STMicroelectronics STM32CubeIDE 1.15.1
The version of the CubeMX: 6.11.1-RC2
The chip I working on is: STM32H723ZG
FW HW: STM32Cube FW_H7 V1.11.2


You can (hopefully) reproduce the issue by:
1) File -> New -> STM32 Project
2) Choose the MCU: STM32H723ZGT6
3) Finish the configuration of the project. Accept the default configuration.

Now we can see that ADC2 IN16 is missing.

RadekS_0-1715700138015.png

4) Set up the DAC1_OUT2 to peripherals:

RadekS_1-1715700226138.png

5) Setting the ADC2 IN17 leading to infinite loading:

RadekS_3-1715700424118.png

Saving the ioc file now break the application as you cannot do anything anymore.

I attach the .ioc file of this new project before changing the IN17.

Thank you very much for cooperation.

 

 

 

 

STTwo-32
ST Technical Moderator
May 14, 2024

Hello @RadekS 

I've been able to reproduce this issue and I've report it to the concerned team for correction (under internal ticket number 181386).

Thanks again for reporting.

Best regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
RadekSAuthor
Associate
May 14, 2024

Thank you for promptly addressing the issue I reported. I appreciate your efforts in reproducing the problem and escalating it to the concerned team.

While we await a permanent fix, could you please advise if there is a possible workaround or temporary solution that we might employ? Any guidance you can provide would be extremely helpful to maintain our workflow.

Thanks again for your support and cooperation.

STTwo-32
ST Technical Moderator
May 14, 2024

The workaround until fix is to implement it directly to the code after the generation from CubeMX.

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
STTwo-32
STTwo-32Best answer
ST Technical Moderator
July 5, 2024

Hello @RadekS 

This issue is solved on the new release of the STM32CubeMX (V6.12.0).

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Associate
July 29, 2024

In CubeMX 6.12.0 for STM32H755BITx, I can not select DAC1_OUT2 to be monitored by ADC IN17.  IN17 is not available for section - CubeMX skips from IN16 to IN18.

djanovy_0-1722294945964.png