Skip to main content
Lead
June 13, 2021
Solved

BUG: Wrong indexing in SDADC when using Injection Mode

  • June 13, 2021
  • 2 replies
  • 1944 views

Hi!

I just want to tell you ST-developers that I have found something that don't looks correct.

Wrong indexing in SDADC. Have a look. STM32CubeIDE 1.6.1

0693W00000BaqImQAJ.png

This topic has been closed for replies.
Best answer by TDK

Temporarily reduce the "number of channels to be converted" by 1, change the order to what you want, then change it back to add the last channel.

2 replies

TDK
Super User
June 13, 2021

You've circled a bunch of numbers, but what is wrong about it? What are you expecting instead?

"If you feel a post has answered your question, please click ""Accept as Solution""."
DMårtAuthor
Lead
June 13, 2021

I'm expecting 0,1,2,3,4,5,6,7,8. Not Randomly indexed.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-ComputerSTM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer
TDK
Super User
June 13, 2021

The "channel configuration" is the order in which they're converted and is in order (1, 2, 3).

You can change the "channel" to whatever order you want.

0693W00000BaqgAQAR.png 

"If you feel a post has answered your question, please click ""Accept as Solution""."
DMårtAuthor
Lead
June 13, 2021

Sorry. But I can't do that in my STM32CubeIDE 1.6.0.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-ComputerSTM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer
TDK
TDKBest answer
Super User
June 13, 2021

Temporarily reduce the "number of channels to be converted" by 1, change the order to what you want, then change it back to add the last channel.

"If you feel a post has answered your question, please click ""Accept as Solution""."