STM32 Multi ADC mode

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome.
rgezikov
Posts: 2
Joined: Fri Jul 14, 2017 11:27 am

STM32 Multi ADC mode

Postby rgezikov » Fri Jul 14, 2017 11:39 am

Hello,

I am working on the system where I need to run ADCs in multi ADC mode on STM32F7. I found this discussion which is almost 2 years old. What is the current situation? Is multi ADC mode implemented or should I prepare to implement some mechanism similar to the described one?

Regards,
Roman

User avatar
Giovanni
Site Admin
Posts: 10004
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 185 times
Been thanked: 168 times
Contact:

Re: STM32 Multi ADC mode

Postby Giovanni » Fri Jul 14, 2017 12:37 pm

Hi,

It is not implemented yet.

Giovanni

rgezikov
Posts: 2
Joined: Fri Jul 14, 2017 11:27 am

Re: STM32 Multi ADC mode

Postby rgezikov » Sun Jul 16, 2017 3:19 pm

Thanks.

One more question, actually possible bug report: while browsing the code I see discrepancy in the code and the comment:

https://github.com/ChibiOS/ChibiOS/blob ... lld.c#L370

/* Finally enabling ADC_CR2_SWSTART.*/
adcp->adc->CR2 = (cr2 | ADC_CR2_CONT);

Shouldn't the constant in the code be 'ADC_CR2_SWSTART'?

User avatar
Giovanni
Site Admin
Posts: 10004
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 185 times
Been thanked: 168 times
Contact:

Re: STM32 Multi ADC mode

Postby Giovanni » Sun Jul 16, 2017 7:18 pm

Hi,

The ADC_CR2_SWSTART bit is part of the value in "cr2", look at the lines immediately before.

Giovanni

Pop Alexandra
Posts: 1
Joined: Fri Jul 21, 2017 12:21 pm

Re: STM32 Multi ADC mode

Postby Pop Alexandra » Fri Jul 21, 2017 1:31 pm

Hey! Do you, by any chance, know when it will be implemented?


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 4 guests