STM32 MCUs products

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


Use DMA for FMAC, for input

Hi,I am using FMAC for STM32G4.I can't find an example FMAC_IIR_DMAToDMA.I tried to configure a DMA instance for Input but the example was not working.1- Besides the DMA instance, should I use 2 more DMA instances, one for input and one for preload?2...

Old Man by Associate II
  • 0 replies
  • 0 kudos

Resolved! How PLL affects timer Pre-sclaer.

Below i have attached a code which enables the PLL freq of 72MHz using HSI of 16MHz. The issue is if I give a Timer pre-scaler of 36000-1 (I am using timer2, which in case of STM32F401RE is on APB1 bus so using a pre-scaler of 2 for APB1 which makes ...

DJ1 by Associate III
  • 12 replies
  • 2 kudos

Resolved! UCPD activation crashes STM32U5 MCUs - hardware bug?

Using Nucleo-U575ZI-Q (rev X) board I try to do a PoC - a very simple UCPD source app providing default USB 5V and 0.5A max. With undocumented onboard SB8-10 shorten this probably can be accomplished. I know this board does not provide output current...

TDJ by Senior III
  • 20 replies
  • 4 kudos

Resolved! CRC16-DNP calculation error

Hi,Im trying to get CRC16 - DNP from a string array that its the next:char Message2[] = { 0x00, 0x00, 0x00, 0x29, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x31, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x32, 0x30, 0x36, 0x33, 0x57...

Dosan by Associate III
  • 11 replies
  • 0 kudos

Bitwise shift left STM32F723

Hi there i m a student working on STM32F723 the first time, I encountered an register setting example as follows: GPIOC->MODER |= ((2<<(6*2)) \ (2<<(7*2)));  i konw its setting the GPIO register but whats the meaning of * and 2<< at the beginning sen...

StanJerm by Associate II
  • 8 replies
  • 1 kudos

Resolved! Clock enable for SWD ports (STM32G0)

I'm a bit confused about the necessity of clocking the SWD ports using STM32G0B1 chip.There is a I/O port clock enable register (RCC_IOPENR) that enables the functioning of each of the GPIO ports (Port A - Port F), its reset state is all zeroes, so n...

AYash.1 by Associate II
  • 4 replies
  • 1 kudos

Resolved! Fastest way to read RTC

I have an app where I timestamp all the data I get from a bunch of external devices.  I'm trying to come up with the fastest way to read the RTC and have 2 approaches, one using snprintf and some LL driver code that's pretty easy to read.  It's not m...

magene by Senior II
  • 6 replies
  • 5 kudos

I can't set adc12 register of STM32G4A1KEU6

I try to using the bare-metal programming this is my code RCC->AHB2ENR |= (1UL<<0);  // Enable clock to GPIO port ARCC->AHB2ENR |= (1UL<<13); // Enable clock to ADC1,2 GPIOA->MODER |= (1UL<<0);  // Set PA0 to analog modeGPIOA->MODER |= (1UL<<1);// GP...

BaBQ by Associate
  • 0 replies
  • 0 kudos