Ask questions, find answers, and share insights on STM32 products and their technical features.
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...
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...
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(...
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...
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...
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)...
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...
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...
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...
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.