STM32G030C6T6 MULTIPLE ADC CHANNEL NOT WORKING
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-14 3:10 AM
In stm32g030k6t6 mutiple adc channel working fine with DMA , But Not Working in Stm32g030c6t6.
Kindly Help
Solved! Go to Solution.
- Labels:
-
ADC
-
DMA
-
STM32G0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-17 6:13 AM
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
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-14 8:28 AM
There are no significant differences between these chips other than package size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-15 3:14 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-15 4:25 AM
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
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-15 4:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-17 6:13 AM
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
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-23 11:17 PM
Thanks for Reply!!!
It is working when i initialized DMA before the peripherals.
but i have doubt why Cubemx initialized DMA after the peripherals???????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-24 1:08 AM
Glad to know you overcame this problem.
This is an issue with CubeMX, and I raised it internally for fix.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Imen
Thanks
Imen
