Skip to main content
mh_it
Associate II
January 20, 2017
Solved

STM32CubeMX ADC Rank.1 missing

  • January 20, 2017
  • 9 replies
  • 2761 views
Posted on January 20, 2017 at 02:29

I don't know what i did... but my Rank1 is gone in ADC 1 & 2 ??

I have 4 input i want to sample... 

If i configure a new project.. i get all 4, but not in this one :-S

0690X0000060664QAA.png

Clues or bug ??

/M

And now where i just got my ADC->DMA running  ready for more fun..

#adc #stm32cubemx #rank
This topic has been closed for replies.
Best answer by mh_it
Posted on January 20, 2017 at 11:59

4.19.0

I solved it by disabling the regular Conversions.. and then enable it again.. then Rank 1 appeared correct.

Will try to se hvad i did to provoke the error..

I have attached the config.

/M

9 replies

ST Technical Moderator
January 20, 2017
Posted on January 20, 2017 at 11:31

Hello

Holch.Mikkel

‌,

Which version of CubeMx are you using ?

Could you please provide more details on your issueto help you on this?

Regards

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
mh_it
mh_itAuthorBest answer
Associate II
January 20, 2017
Posted on January 20, 2017 at 11:59

4.19.0

I solved it by disabling the regular Conversions.. and then enable it again.. then Rank 1 appeared correct.

Will try to se hvad i did to provoke the error..

I have attached the config.

/M

crich.6
Visitor II
December 19, 2018

Hello, I had the same problem (I spend a few days before seeing this issue)...

I started to configure the ADC1 with one channel (in DMA mode) it was ok, then I tried to have two channels (Channel 0 and temperature sensor, then I was not enable to configure RANK_1 and I did not understand how to find the channel_0 conversion in my DMA Buffer.

to solve the problem, I invalidate all the channels save project and validate the two channels, now I have the 2 rank to configure... :thumbs_up:

GBert.2
Senior
January 31, 2022

Just add the same bug (jan 2022)

It's not just a visual bug, as it affects the code generation as well.

Unselecting all the ADC channels and starting again solved the problem.

Sara BEN HADJ YAHYA
ST Technical Moderator
February 1, 2022

Hello @GBert.2​ ,

Thanks for your feedback,

Are you using CubeMX 6.4.0 ? and could you please share your ioc file or provide us with a scenario to reproduce the issue.

Thanks,

Sara.

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.
GBert.2
Senior
February 1, 2022

Hi @Sara BEN HADJ YAHYA​ 

My apologies, I don't know how it happened, so I don't know how to reproduce the issue.

I was using STM32CubeIDE 1.6.0 when the problem happened.

Sara BEN HADJ YAHYA
ST Technical Moderator
February 2, 2022

Hello @GBert.2​ ,

Did you use CubeMX plugin in CubeIDE or did you start the project using CubeMX independently and then generated the code to CubeIDE?

And could you please share your .ioc file ?

Thanks,

Sara.

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.