Skip to main content
MagicFly
Associate
March 18, 2022
Question

Cubeide ADC DMA code generation sequence problem

  • March 18, 2022
  • 2 replies
  • 1120 views

I am using CUBEIDE 1.9.0.

Stm32f103ret6 is used.

The ADC generated a code to use DMA.

However, it did not work properly.

The cause should have been __HAL_RCC_DMA1_CLK_ENABLE() before this ADC was initialized.

I tried to modify the DMA initialization faster than ADC when generating the code, but it was not modified.

What should I do?

This topic has been closed for replies.

2 replies

TDK
March 18, 2022
"If you feel a post has answered your question, please click ""Accept as Solution""."
MagicFly
MagicFlyAuthor
Associate
March 23, 2022

Thank you for your reply.

The IOC file was modified by referring to the link.

I have confirmed that it will be corrected normally.

However, it seems that there is still a bug when generating the initial IOC file.  

I created an IOC file with version 1.9.0 and this problem occurred.

I hope it will be improved in the next version.