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

Can't write to DAC's Control Register from a C++ class.

Hi,I've been having some troubles configuring DAC channels and can't seem to find what the problem is.I have a C++ class that is intended to setup and control a DAC and I can't write on the registers to do it. My class is the following (dac_test_clas...

PMach.3 by Associate II
  • 694 Views
  • 1 replies
  • 0 kudos

The STM32L433 adc isnt too accurate.

Hi I have a STM32L433 processor on a 4 layer board with own ground plane, and below is circuit for VDDA input. I have set the VREF+ to 2.5v, and checked this with my meter, and its perfect (and isnt connected to anything). I placed an accurate 1.026v...

0693W00000aJfNIQA0.png

Unable to connect to STM32L151 devices

After powering STM32L151V8T6A device, I can't connect to the device. I try to connect by SWD or JTAG without success. Connect under reset doesn’t help. How can I connect the device?

OVill.1 by Associate II
  • 942 Views
  • 4 replies
  • 0 kudos

Resolved! Doubt regarding timer interrupt stop function

Hi,I had a doubt regarding the timer interrupt stop function.if(isOpen_Unload == 1){  HAL_NVIC_DisableIRQ(EXTI15_10_IRQn);  HAL_NVIC_EnableIRQ(EXTI9_5_IRQn);  Start_Motor(1);  HAL_Delay(5000);  HAL_NVIC_EnableIRQ(EXTI15_10_IRQn);  HAL_TIM_Base_Start_...

Resolved! Where is the STM32U585 SPI1 CLOCK SELECTION register?

According to the STM32U585 documentation, there is supposed to be a SP1 clock mux selection register, but none is described in the latest programming manual.Does anyone have any idea on what bits I need to set in which register to select the MSIK clo...

0693W00000aJiYTQA0.png
SEdel.1 by Associate
  • 856 Views
  • 2 replies
  • 0 kudos

Resolved! NUCLEO-L4R5ZI board CN12 header Pin76 = PG7, pin66 = PG8, config as GPIO output pins, but cannot toggle these two pins, SB130 and SB131 have been removed from the board.

NUCLEO-L4R5ZI board, CN12 header: Pin76 = PG7, pin66 = PG8.SB130 and SB131 have been removed from the board. config PG7, PG8 as GPIO output pins, but cannot toggle these two pinsHere is the code: GPIO_InitTypeDef GPIO_InitStructure = {0}; __HAL_RCC...

HYuan.1 by Associate II
  • 1121 Views
  • 5 replies
  • 0 kudos

Compile error with Hackflight Flight controller program using Arduino IDE, undefined reference to serial 3 error

my code as follows#include <hackflight.h> #include <boards/stm32f/stm32f4.h> #include <core/mixers/fixedpitch/quadxbf.h> #include <core/pids/angle.h> #include <debug.h> #include <escs/dshot.h> #include <imus/softquat.h>   #include <sbus.h>   #include...

A1bucker by Associate III
  • 885 Views
  • 1 replies
  • 0 kudos

Resolved! How to fill RAM locations during debug

I need to fill certain RAM (buffer) locations with known values (i.e. compressed audio) during a CubeIDE debug session. I thought there was a way to load values into RAM while the program was stopped at a breakpoint. But I can't seem to find this too...

MHoop.1 by Senior
  • 1106 Views
  • 2 replies
  • 0 kudos