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

Why can not change DBGMCU->CR in STM32F103

I'm use STM32F103C8T6. I use DBGMCU->CR = DBGMCU_CR_TRACE_IOEN to change the value of DBGMCU->CR, but the operation is failed after POR, the register is alway read 0.I suspect that the cause of this problem is the the debug component is not be powere...

Bpan.1 by Associate
  • 1223 Views
  • 3 replies
  • 0 kudos

Resolved! Slow ADC with DMA

Hi guys,I'm using STM32F767 nucleo with STM32Cubeide. I've configured an ADC to operate with DMA at a sample rate of 1.8Msps. I've calculated this sample speed by:HCLK = 216MHzPCLK2 = 108MHzPrescaler of 4 : ADCCLK = 27MHzResolution (12bits + 3)Theref...

CDyer.1 by Senior
  • 1338 Views
  • 7 replies
  • 0 kudos

obtain the data from camera for cmsis-nn

Hi, I want to do a computer vision application on stm32f407VG discovery board. I have an CNN code with cmsis-nn library. My challange is that Using the camera datas as an input. But i need rgb data as 1 dimentional array. How can save the image in a...

FÇeli.1 by Associate
  • 361 Views
  • 0 replies
  • 0 kudos

Resolved! PD0 internal pull-up working weird with PD1 internal pull-up. in stm32g071cbu MCU. Can it be an MCU internal problem?

We developed a new board with STM32G071cbu MCU which we already successfully used in our previous project.In this project we desided to use buttons with internal MCU pull up. Buttons connection is actually very simple:So in this configuration with pu...

ADovn.1 by Associate II
  • 1657 Views
  • 5 replies
  • 0 kudos

How to sample at the middle of a PWM signal - STM32G071

This question has been asked in various forms before but I have not found an answer. I am using TIM2 to generate a center aligned PWM signal as shown in the image. I want to sample the ADC at the center of the PWM. I am using the TRGO signal of the ...

GDB loading of STM32F072 device

Occasionally debug gets stuck while loading and never gets to main with the console showing:Program received signal SIGINT, Interrupt.0xfffffffe in ?? ()Once in this mode, the only way to recover is to use the STM32CubeProgrammer to clear the target ...

CScho.1 by Associate
  • 591 Views
  • 1 replies
  • 0 kudos

STM32F030 HAL_UART_Transmit problem

Hi,I am trying to receive and trasnmit data with STM32F030C8 mcu, i can receive any data from serial monitor, but when i try to use HAL_UART_Transmit to send data, i can not see anything on serial monitor. Any advise?uint8_t data[25];//this my data b...

er3481 by Senior
  • 580 Views
  • 3 replies
  • 0 kudos