cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX SDADC Configuration

Darren Legge
Associate II
Posted on December 15, 2016 at 15:31

I'm using using STM32cubeMX to generate the init code for an STM32373C-EVAL board and have found this problem setting up the SDADC (see picture).

0690X00000605sHQAQ.png

Basically, I can't set 'Configuration index' to anything other than the default which it tells me is not valid.

If I ignore all the error messages and generate the code anyway, it does actually generate good code which works.

I'm just learning this tool so thought I'd ask if I am doing anything wrong...

It's cube version 4.18 on Ubuntu linux.

Thanks !

#stm32cubemx
3 REPLIES 3
Imen.D
ST Employee
Posted on December 17, 2016 at 15:23

Dear

legge.darren

‌,

I will check this case, then I getback to you as soon as possible.

Thanks for sharing your feedback.

Best Regards

-Imen-

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Darren Legge
Associate II
Posted on December 21, 2016 at 17:06

Thanks. I think it was actually because I had selected 'single ended' rather than 'single ended zero-reference' on the 'Pinout' tab. Then in the screen above, 'single ended zero volt reference mode' was selected (which needed to be single ended offset mode to match). Probably...

Jeanne Joly
Senior III
Posted on May 02, 2017 at 16:50

Hello

Legge.Darren

,

Thanks for reporting this issue.

We have just fixed and it will be delivered in the next CubeMX release (4.21) that will come soon!

BR. Eric