Forum Posts
Hi, I try to configure the ADC of a STM32F407 to work in triple injected simultaneous mode, but only ADC1 works. How do I have to configure the ADC's that they work simultaneous?
As stated in the Reference manual. I configure the master ADC1 to get the trigger from the TIM2 TRGO and this ADC1 is working when started. ADC2 and ADC3 start only when I configure JEXTEN (=0x01) and JEXTSEL (=0x03) in CR2 of the according ADC. I do...
Is it possible to get Vbus disconnect notification on self-powered USB HS device in STM32H743 without wiring VBus to an IEXT port?
I have a working USB2 (ULPI) device mode interface, and want to detect cable removal. There appears to be provision for this: OTG_GINTSTS has SRQINT and OTGINT bits and OTG_GOTGINT has the OTGINT bit, but I do not seem to get any response to cable r...
Can I make each ADC channel ordered continuously when sampled using DMA?
I'm sampling a single ADC with 3 channels using DMA.Let's say the requested data size for each channel is 1024. So this is the code for starting DMA:uint16_t buffer[1024*3]; HAL_ADC_Start_DMA(&hadc1, buffer, 1024*3);Now when HAL_ADC_ConvCpltCallback(...
STM32F4 Timer Input capture problem
Posted on May 19, 2018 at 12:48Hello , I am using stm32f446re nucleo board . and i face some issue in timer input capture . here i am using 2 timers TIM6 ( for time base generation ) and TIM2 (free running input capture purpose)actually my code is w...
STM32L4 USB CDC fails with STM32Cube MCU package of STM32L4 version 1.12.0
On STM32L476 Discovery and TrueSTUDIO 9.0.1, USB CDC fails on Windows 10, if code is generated by STM32Cube MCU package of STM32L4 version 1.12.0. Back to version 1.11.0, it works fine. Furthermore, at 48 MHz USB clock, if SYSCLK = 48 MHz, the USB c...
How to handle ADC on Power Supply during Shutdown mode for lowest power consumption
I am working on a very power sensitive application involving a STML431 processor running only off a battery. I plan on using Shutdown mode most of the time with an hourly wake up. I am looking for 1 measurement (maybe averaging a few actual samples)...
STM32F722 - i2c data acquisition using timer interrupts
Hello,I'm having some trouble using the timer based interrupts.I have some very basic experience in mcu programing but I'm new to the STM32 platform and I had to adapt to it rather quickly. Therefore I lack some of the basic knowledge.My first questi...
Problem with form of SCK clock of SPI protocol !
I have been trying to perform SPI communication and observe outgoing and incoming data through MOSI & MISO. There is a weird problem in SCK weveform There are the codes I wrote :#include "stm32f10x.h" #include "stm32f10x_rcc.h" #include "stm32f10x_gp...
Can complementary timer pins be used as inputs?
Hello, I'm designing a PCB with an interface to an existing STM32769 board. I would like to use one of the STM32 timer inputs to trigger a timer. When the timer reaches its "compare" value it should trigger a DMA request for an SPI transaction. Accor...