Re: ADC on STM32F4

2020-12-14 Thread raiden00pl
Hi, I want to achieve the following sequence: > 1. Select the desired pin. > 2. Trigger a single conversion, and wait for it to finish. > 3. Read the result. This is not possible because the channel configuration cannot be changed at runtime. But you can achieve similar functionality just by dis

Re: ADC on STM32F4

2020-12-14 Thread Fotis Panagiotopoulos
Hi, anyone on this? As I see, it is impossible to set multiple channels on STM32F4xx. To have multiple ADC channels configured for an STM32, it is required to have DMA enabled for the ADC, which seems not to be supported on STM32F4. Is that correct? So the F4s can use only one pin in ADC? Στις

Re: stm32F407G-disc1 USBNSH Doesn't work

2020-12-14 Thread Xiang Xiao
Thiha, it may relate to the bug in usb console and fix by: https://github.com/apache/incubator-nuttx-apps/pull/521 please try it. Thanks Xiang On Thu, Dec 3, 2020 at 5:51 AM Alan Carvalho de Assis wrote: > Hi Thiha, > > My stm32f4discovery board is MB997B (not the newer version). > > It is stra