Forum Posts
Resolved! Help with timer in retriggerable one pulse mode
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...
Hi! I use STM32L051 RTC and twice during three days at +55 deg.C I have incorrect reading of time. For a 1 minute RTC counts 3599.87 s, at next minute all works as should be - 1 min after spending 1 min. Sometimes I get 62.7 s by 1 minute. Thanks.
// 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 ...
ADC outputs 3.5volt!
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...
Resolved! Timer 2 clocks timer 5 in Nucleo L476RG
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...
Can't write option byte in STM32G030
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....
Resolved! STM32L011 how to reach 1uA in standby mode?
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...
STM32F411 Discovery can not power the external led using 3V pin.
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...
MCU with IO bandwidth of 150Mhz or more
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...
Serial routine fails for some reason
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...