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! Baud rate 230400

Hola, presento este error al visualizarr los bytes de salida por putty ▒``x▒▒▒▒▒▒▒`▒▒ ciclicamete, ya que es para un lidar ld06, connfiguro uart 2 velocidad de baudios 230400 la configuracion es  void SystemClock_Config(void) { RCC_OscInitTypeDef RC...

kzamudioq by Associate II
  • 4118 Views
  • 8 replies
  • 4 kudos

TCS with wire

I am starting a project in which I need touch sensors. With the help on chat gpt I have come up with this code. while (1){key = HAL_TSC_GroupGetValue(&htsc, TSC_GROUP1_IO2);printf("%d\n",key);/* USER CODE END WHILE *//* USER CODE BEGIN 3 */}I have sa...

mihaheh by Associate
  • 1432 Views
  • 2 replies
  • 0 kudos

STM32F303R8T6 - ADC + DMA not working

Hello Team ST, I am working on ADC setup using DMA, where upon the conversion completion the ADC values shall be transfered to memory using DMA. The ADC and DMA configurations are as shown in snap below.The DMA settings are as follows.The initializat...

vdd_0-1708598701480.png vdd_1-1708598760690.png vdd_2-1708598845789.png
vdd by Associate II
  • 1971 Views
  • 4 replies
  • 0 kudos

Resolved! Help with ADC + DMA integration.

Hello.I want to integrate ADC with DMA, and calculate the average count of all convertions.I'm using the following code:In adc.c:```if(HAL_ADC_PollForConversion(&hadc1, 10) == HAL_OK) {uint16_t value = HAL_ADC_GetValue(&hadc1);USART_Send("%.3f", valu...

nortex by Associate
  • 881 Views
  • 1 replies
  • 1 kudos

Recover bricked STM32 MCU | STM32G041F6P6

During the process of configuring option bytes, we unfortunately got few MCUs bricked (unresponsive). In these devices, i was getting the following errors when trying to flash using STM32 programmer. (Tried both GUI and CLI with various reset modes a...

option_bytes_config.jpg