STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 5089 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
  • 4993 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
  • 5575 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
  • 4128 Views
  • 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
  • 521 Views
  • 0 replies
  • 0 kudos

Nucleo F411RE showing no st link detected

Hi ,I am using nucleo stm32f411RE board from more than 6 month but from yesterday suddenly I getting no st link detected . here I don't think i did any thing wrong with the board.observation :1. once I shutdown laptop and open again then both RED LED...

shiv by Associate
  • 1110 Views
  • 2 replies
  • 1 kudos

Resolved! stm32H747-Disco Component Size

Hi Everyone,As soon as I learned and successfully transferred data from CM7 to CM4, I bricked my H747-Disco. So, I brought the Disco home from my microscope Lab to place a solder bridge on R192. I realized reading glasses today just doesn't work for ...