Ask questions, find answers, and share insights on STM32 products and their technical features.
I am using the STM32L4S9AII6 clocked at 120MHz.I am trying to configure a simple (to me it should be simple) retriggerable one pulse mode timer. I was able to configure TIM6 in one-shot mode, but I had the following issues:The timer was not retrigger...
// in 1/32768 parts of second, 1 hour (3600*32768) max. uint32_t cRTC::getCurrentTime32768(){ volatile uint32_t time = 0; volatile uint16_t takenTime = 0; volatile uint16_t takenSSR; volatile uint16_t dummy; //reading either RTC_SSR or RTC_TR ...
hey thereI have a STM32f030C8t6 which I wish to read 2 Analog values by it. I use ADC DMA for this. but as soon as I use commandHAL_ADC_Start_DMA(&hadc,(uint32_t *)ADC_SEN,2); //Starting ADC1I can see my ADC pins' volt are as high as 3.5volts!why is...
Hello,I would like to make timer 2 compare event in channel 1 to clock timer 5. Timer 2 compare events also sends DMA request and timer 5 is also used to output a PWM waveform. Here you can find the Init function that I wrote and the main code. At th...
We are developing a custom board with STM32G030 and we intend to update its program through its uart with system bootloader. However, I'm unable to properly configure the option byte. The HAL_FLASHEx_OBProgram always returns HAL_ERROR or HAL_TIMEOUT....
Hello. I have been getting familiar with the STM32L011F4P6 chip. I am using a 20-pin chip soldered onto a board as my test device. I am using a Nucleo-f429zi as the programming/debug device. I have made the necessary changes and am using the SWD head...
Hello everyone. I have a stm32f411 discovery board. Long time ago it worked fine. But now when I connect the external led with GND and 3V pin, the led is not on (the led is ok, I already test it with an arduino board). I don’t know why. Other functio...
Hi All,He have an application that requires fast IO's switching. More specifically, we have a 16bit 200Msps parallel DAC and we are targeting to load a waveform from either flash memory or external memory and output the bits for the DAC. Using an FPG...
STM32F429ZIT6 - NucleoI am doing some tests with this board, it reads Encoder input in x4 mode, generates TRGO to ITR1 slave TIM1 in One pulse mode when it reaches TIM2->CCR3 value and updates Encoder counts and number of triggers every 15 seconds on...