Ask questions, find answers, and share insights on STM32 products and their technical features.
Hi,We have written the data in Flash Bank 2 sector 7 successfully. Power cycled the board and trying to read the stored data from Flash Bank 2 sector 7 and found Hadrdfault error at 64th byte.-> The data stored in the form of char.-> Using HAL librar...
I use the STM32Lo538 disco board, and this board is connected to one sensor. Moreover, the protocol of this sensor is SPI. I faced difficulties receiving the data from the sensor. When I watched the waveform of this sensor, I noticed that the CS pin ...
Hi, I am using STM32F105 MCU.I have made a mistake in Hardware and switched two pins around. I have two signals from a encoder which they are connected to MCU in wrong way. SignalA ---> PC9 (TIM3-CH4)SignalB ---> PA8 (TIM1-CH1)I want to use a combin...
On stm32u5xx HAL_PWREx_EnterSHUTDOWNMode will not work when a DMA is still active.The fun part is, that after a uart dma transmit, the DMA transmit enable flag is not cleared due the undocumented define USART_DMAREQUESTS_SW_WA.What's the reason behi...
Hi All,Microcontroller running on 2Mhz clock speed, UART is configured at 115200 baud, Transmitting is working fine but facing issue while receiving data by interrupt, UART error occurred but not showing error number(huart.error =0, NO frame error, p...
We are using STM32G071 device family in our projects and need information on absolute maximum ratings for voltage on ADC pins.Datasheet states different values for different pins.Can you please confirm what are the abs max values for ADC pins on STM...
What is the difference between STM32L151CBU6 and STM32L151CBU6A?Can they be interchangeably used?
I want to output 5MHz PWM as other chip CLK signal.How to do it?
CUBEMX Settings as above:The callback function is as follows:void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) { if(htim->Instance == TIM2) { LL_GPIO_TogglePin(CLK_GPIO_Port,CLK_Pin); } }The call code is as follows:USB_pri...