STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 658 Views
  • 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
  • 3684 Views
  • 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 Lead
  • 4731 Views
  • 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
  • 3099 Views
  • 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 III
  • 3508 Views
  • 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
  • 4842 Views
  • 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
  • 2884 Views
  • 6 replies
  • 5 kudos