I use the HAL to setup multiple HRTIM timers on a STM32G4 and I would like to trigger a simultaneous capture across them using software (the reasons for this are complex but it needs to be a simultaneous capture).Currently I have a GPIO output pin lo...
In Getting_started_with_EXTI there is an error:NucleoFL476RG -> NucleoL476RG
Here is my code, but its not working correctly void DelayMicros(uint32_t micros) { uint32_t multiplier; multiplier = SystemCoreClock / 4000000; micros = micros * multiplier - 10; /* 4 cycles for one loop */ while (micros--)...
I'm trying to generate a 1.2 MHz sine burst using the DAC, DMA and Timers. Everything works fine but only up to 200-250KHz then increasing the frequency the amplitude begins to decrease.Moreover I've managed to reach about 25Msps and it seems impossi...
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...