Ask questions, find answers, and share insights on STM32 products and their technical features.
Hello,currently reading out an ADC sensor with SPI. The goal is to achieve a fast readout. Currently I am at around 200000 readouts per second, but I am wondering if this delay between two LL_SPI_TransmitData16 is because of the LL_SPI_ReceiveData16 ...
I try to debug H7 MCU by SWD port. Can I only use SWDIO and SWCLK for this? I do not want to use NRST for debug issues.
Hi,Reading the Ref Manual of the STM32F407, section 13.8.3 Conversion without DMA and without overrun detection, I am not sure I understand the logic behind.The Ref manual says:"13.8.3 Conversions without DMA and without overrun detectionIt may be us...
Hello,Here is my DMA and USART configuration:(BaudRate=2250000)DMA_InitTypeDef DMA_InitStructure; NVIC_InitTypeDef NVIC_InitStructure; RCC_AHBPeriphClockCmd(RCC_AHBPeriph_DMA1, ENABLE); NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2); NVIC_In...
Hello.I am using the STM32L4 series.I want to send the ADC converted sensor value to the PC via UART communication.I started ADC in /* USER CODE BEGIN 2 */ zone of "main.c" output from CubeIDE, but it failed.When the start instruction is given twic...
Hello everybody,I'm trying to learn about stm32 microcontrollers and I thought the best way to do that was to start with assembly (well, maybe I was wrong about that, but I started with that). I'm just trying to turn on the user led on my nucleo stm3...
Hi, I have a code in which I am controlling a PWM output in Center Aligned Mode using Timer 2 Channels 2 (inverted polarity) and 3, both having their duty cycles changed by the functions:__HAL_TIM_SET_COMPARE(&htim2,TIM_CHANNEL_2,(duty_c-0.05)*400);_...
Hi everyone,I am using an STM32L412KB chip and I currently have an ADC channel configured to trigger a conversion on the rising edge of TIM15. I have the timer setup to be a 1kHz square wave. In the ADC interrupt handler I toggle an LED on my board, ...
I have a STM32L031K6 Nucleo Board...I want to use the DWT.. but I become this errors:../Core/Src/../Inc/stm32_delay.h:35:30: error: 'DWT' undeclared (first use in this function) uint32_t clk_cycle_start = DWT->CYCCNT;How can I Use DWT or Enable it...