cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX ADC Rank.1 missing

mh
Associate II
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
1 ACCEPTED SOLUTION

Accepted Solutions
mh
Associate II
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

View solution in original post

9 REPLIES 9
Imen.D
ST Employee
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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
mh
Associate II
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
Associate

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

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.

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.

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.

Hello @GBert.2​ ,

Thanks for the reply,

I advice you to use the latest CubeIDE version v1.8.0.

If I understood correctly, the issue is that Rank 1 disappears from ADC config.

Could you please specify which MCU are you using?

Thanks,

Sara.

Sorry. My IDE version was 1.8.0.

Here's the build info:

STM32CubeIDE
Version: 1.8.0
Build: 11526_20211125_0815 (UTC)
OS: Windows 10, v.10.0, x86_64 / win32
Java version: 11.0.11

>  Rank 1 disappears from ADC config.

Exactly

> Could you please specify which MCU are you using?

I'm working on a nucleo-f401re.

Sara BEN HADJ YAHYA
ST Employee

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.