Skip to main content
AKUMA.111
Associate
September 14, 2021
Solved

STM32G030C6T6 MULTIPLE ADC CHANNEL NOT WORKING

  • September 14, 2021
  • 1 reply
  • 1428 views

In stm32g030k6t6 mutiple adc channel working fine with DMA , But Not Working in Stm32g030c6t6.

Kindly Help

This topic has been closed for replies.
Best answer by Imen.D

Hi @AKUMA.11​ ,

In your code, try to initialize DMA before the peripherals:

 MX_DMA_Init();
 MX_ADC1_Init();

Hope this helps you!

Please keep me informed about your update on this issue.

Imen

1 reply

TDK
September 14, 2021

There are no significant differences between these chips other than package size.

"If you feel a post has answered your question, please click ""Accept as Solution""."
AKUMA.111
AKUMA.111Author
Associate
September 15, 2021

thanks for fast reply!!!!!!

But multiple(8 channels) adc is not working in stm32g030c6t6 , which is working in stm32g030k6.

i am using dma channel 1 for adc measurement.

Kindly Help

ST Technical Moderator
September 15, 2021

Hi @AKUMA.11​ and welcome to the Community :)

Did you tried generating code using CubeMX?

Which release of CubeMX are you using ?

Make sure to use latest release of CubeMx and that you've configured the right pins compared to the datasheet of used product. For example no ADC1_IN11 signal for LQFP48 package (as described in the datasheet).

Otherwise, please share your .ioc file for check, or describe clearly (in details) the steps that you have followed, this will help to reproduce the reported issue.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks