Ask questions, find answers, and share insights on STM32 products and their technical features.
I am collecting a stream of ADC samples that are being integrated (added together and multiplied by the time period) at regular intervals during an ISR but was hoping there may be a way to offload this so I could just read and reset the accumulated v...
Went through examples of Nucleo -L073RZ eval board for PWM outputIt generates four PWM waves using Timer 2 channel 1 ,channel2 ,channel 3,channel 4at 50%,25%,12.5.37.5% duty cycle . So the pwm duty cycle is fixed.but i have a fan pwm connected to T...
#include "stm32f10x.h"void init();void Timer_delay();void main(){ init(); Timer_delay(); while(1) { while(TIM3->SR & 0x0001)/*Check the TIM3 update interrupt occurs or not*/ TIM3->SR = 0x0000;/*Remove TIMx update interrupt flag */ GPIOA->BSRR^=0X...
I am trying to use asynchronous USART on stm32L4R5ZI nucleo board for sending and receiving data. Following is related part of code.while (1) { HAL_GPIO_TogglePin(LD2_GPIO_Port,LD2_Pin); //Toggle LED HAL_Delay(1000); //Delay 1 Seconds for(...
I need two quadrature encoder input pairs. The standard ST selection matrix only includes the number of 16-bit and 32-bit timers.
Hi,I have to configure a STM32F373 as a LIN Master. The problem is that the function USART_SendBreak is not available.The reference manual says that I have to set the SBKRQ bit to send the break frame, but this bit is only available for a break reque...
I use the STM32L4R9I-EVAL Board and try to configure the ospi on nor-flash for readonly in memory mapped mode. there is an example projekt in Hal-Lib L4 V1.14.0. If i skip the erase and write steps, it read out wrong values (with out hal error)!Do an...
MCU: STM32F777Cube: 4.25.0FW: v1.11.0I'm seeing cases where the F7's SDMMC isn't setting any of the required Status Register bits as the result ofan R1 response to a READ_SINGLE_BLOCK command after having previously handled up to tens of thousands of...
Hi AllCan anyone suggest the example code for Spi interfacing between STM32L151QD and External flash memory.,Through my STM32L151QD I want to read and write from External flash memory , The both STM32 and Flash memory is connected with SPI interface