STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...

gif-stm32u0.gif

Resolved! STM32L496RGT, HAL and UART

Hello all,I'm having some serious problems communicating with a device attached to USART2 on a custom STM32L496RGT, board, configured in CubeMX.void MX_USART2_UART_Init(void) {   huart2.Instance = USART2; huart2.Init.BaudRate = 115200; huart2.I...

DCarr.1 by Senior
  • 305 Views
  • 4 replies
  • 0 kudos

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
  • 5116 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
  • 335 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
  • 743 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
  • 249 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
  • 502 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
  • 882 Views
  • 6 replies
  • 0 kudos
Labels