STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

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...

0693W00000KbroSQAR.png 0693W00000KbrorQAB.png
MFolk.1 by Senior
  • 7410 Views
  • 7 replies
  • 0 kudos

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 ...

MZubk by Associate
  • 853 Views
  • 3 replies
  • 0 kudos

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...

Ala by Senior
  • 1683 Views
  • 11 replies
  • 0 kudos

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...

Tommino by Senior
  • 705 Views
  • 1 replies
  • 0 kudos

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....

LScha.3 by Associate II
  • 1090 Views
  • 4 replies
  • 0 kudos

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...

AW.3 by Associate II
  • 1886 Views
  • 6 replies
  • 0 kudos

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...

VVarg.1 by Associate II
  • 1082 Views
  • 4 replies
  • 0 kudos

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...

DPatr.2 by Associate III
  • 404 Views
  • 2 replies
  • 0 kudos