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

IO for hall sensor probability abnormal

I use stm32f103rbt6 for bldc motor control.I config three gpio as pulldown for hall sensor, in addition,these IOs with external 3k resistors pull to 5V.But sometimes the motor halls readback by mcu are all low level.However, in fact, motor hall is go...

xzi.1 by Associate
  • 383 Views
  • 0 replies
  • 1 kudos

Resolved! Hello, I am trying to communicate between 2 STM32G4 using FDCAN. Using Test Modes it works without a problem. When i change to Normal Mode, TX and RX dont work.

Hello, I'm trying to build a simple program to communicate between 2 microcontrollers using FDCAN. Im not using a transciever yet, just connecting TX of one Nucleo-G431KB to the RX of one Nucleo-G474RE, and vice-versa. Using the test modes, External...

LAzev.1 by Associate
  • 1925 Views
  • 1 replies
  • 0 kudos

Resolved! Example for ADC in multimode with dual DMA?

Hi, I want to use the simulataneous ADC reading with 2 DMA channels, in order to avoid overrun errors (which I'm having).I'm using the HAL and I'm having a hard time understanding when is the DMA buffer of the slave channel assigned. When multimode i...

mur by Associate III
  • 5983 Views
  • 4 replies
  • 0 kudos

STM32L4: ADC3 stops when dual ADC mode selected.

Hi,I am using STM32L476VGT3. When ADC1, ADC2 and ADC3 are configured independently, everything works fine. As soon as I write into the DUAL[4:0] bits of register ADC_CCR (common control register) to set ADC1 and ADC2 in dual mode, ADC3 stops. The dua...

MGard.2 by Associate II
  • 395 Views
  • 0 replies
  • 0 kudos

When is going malloc() / dynamic allocation to be fixed?

Edit: It seems there's a bug that will randomly delete sysmem.c and syscalls.c.If it happens, cubeMX won't regenerate them.Also no warnings at compile time, so you won't suspect anything was deleted.So the solution is to make a new empty project and...