Alright, I am searching the STM32L4 reference manual (RM0351), and as far as I can see, there is no description of how the UART is expected to behave when various "reception error" flags are set. In my case, I am observing NE when resetting a modem, ...
I try to generete interrupt when CNT register reach any value. But It generete when I enabled to interrupt EGR bit is always zero. when I try to change accept first bit not effected.It is configuration capture = TIM_GetCapture2(ExternalOSCTimer); TI...
Most of the future time occurs around 12:00 in the morning, here are the instances captured on the device:1. The actual time is: 2023-01-11 11:59:55, the STM32F407 RTC time is: 2023-01-12 12:00:002. The actual time is: 2022-12-31 11:59:58, the STM32F...
Hi, I'm using STM32F407 development board. I synchronized TIM2 as master and TIM5 as slave. Timer initialization functions:void TIM2Config (void) { // 1. Enable the TIM2 clock RCC->APB1ENR |= RCC_APB1ENR_TIM2EN; // 2. Set clock coeff. as 2, ena...
I'm trying to change the I2C address by using HAL_Deinit & HAL_Init, but it doesn't seem to work. The function below is what I wrote myself to change the address:If I try to change the address,the register shows that the I2C address has been changed,...
Hi,I am try to read four ADC Channels of ADC3 using DMA method. But I did not get the data.Below is my programmingstatic void MX_ADC3_Init(void){ ADC_ChannelConfTypeDef sConfig = {0}; hadc3.Instance = ADC3; hadc3.Init.Resolution = ADC_RESOLUTION_16B;...
The device I am using is F303K8T6.I am trying to learn. I have no problem with transmitting.But when it comes to receive data it don't works. Interrupt not rises.But when I connect tx pin to rx pin it works well. Interrput rised. The code and concern...
Hello, I'm having trouble reading from external ADC which needs a maximum time of 10ns from the falling edge of command (I'm giving it from a TIM4 PWM mode 1, 300ns active, 100kHz frequency). I'm using TIM3 as a slave timer from TIM4, one shot and TI...