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

STM32G474 HRTIMER ADC Trigger

I'm trying to configure the ADC to read to values at a specific time in my system that uses the STM32G474.I have two channels of peak current mode control using the HRTIMER. The outputs are reset from either a comparator event or max duty cycle compa...

DamageG by Associate II
  • 219 Views
  • 3 replies
  • 0 kudos

Resolved! STM32F103C8 - 8Mhz 33pf xtal ?

The datasheet suggests load of 20pF .Due to size constraints, I hope to use https://jlcpcb.com/partdetail/318914-CSTNE8M00G550000R0/C341522Most 8Mhz resonators of this size seems to have 33pF

pilot by Associate
  • 202 Views
  • 7 replies
  • 6 kudos

Understanding STM32F103C8 AD Vref and AD range.

Do I understand the datasheet correctly when I believe the internal 2.1v reference is something internal, and the AD is still operating within VCC/3.3v as upper limit? Copilot suggested this:  // Enable ADC1 and configure itRCC->APB2ENR |= RCC_APB2EN...

pilot by Associate
  • 113 Views
  • 5 replies
  • 1 kudos

STM32G0 reseted after GPIO interrupt happened

I'm using gpio interrupt inside there void HAL_GPIO_EXTI_Rising_Callback(uint16_t GPIO_Pin){static uint32_t push_time;if(GPIO_Pin == IS_FUSED_Pin){pin_int_now = HAL_GetTick();if(fuze_push_time + DEBOUNCE_INTERVAL < pin_int_now){LED_Green_On();fuze_pu...

Screenshot 2024-11-02 at 15.23.02.png
Bigdan by Associate II
  • 413 Views
  • 7 replies
  • 1 kudos

Array initialization

I know that the question will be trivial, however, I do not understand why the instruction uint8_t dataRx[4] = { 1 }; does not initialize all the elements of an array to 0 ... but only the first one:I have programmed little in the last while so I wil...

stm32 array 2.png
luke514 by Senior
  • 83 Views
  • 2 replies
  • 5 kudos

SPI communication (Receive Only Master)

We are trying to develop a device that uses SPI communication (Receive Only Master).Are there any sample programs for SPI communication (Receive Only Master)?Which should be executed first: "Receive Only Master HAL_SPI_Receive" or "Transmit Only Slav...

STM32L0 STOP and STANDBY mode.

I have some questions. I read that STOP mode has a "RAM retention", so when it wakes up it the whole data is still intact (not cleared).When the RAM retention is off then the data is gone when it goes to STOP mode. So when it Wakes up does it restart...

Xenon02 by Senior
  • 494 Views
  • 13 replies
  • 3 kudos

STM32H7B0 How to get input frequency of timer 3

Dear,Used MCU: STM32H7B0, 100 pins.In the datasheets we had found that TIM3 use the APB1 peripheral clock.In our case is this 120MHz. But when we use the function "HAL_RCC_GetPCLK1Freq()" we become 60MHz.This isn't correct. So what function should we...

OGhis_0-1730552934505.png
OGhis by Senior
  • 129 Views
  • 4 replies
  • 1 kudos