STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 811 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
  • 1271 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
  • 506 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

littleFS using STM32L4 HAL and EMMC chip

Hey!I'm stumbling around with integrating littleFS using STM32 HAL library and EMMC 4GB chip, and any help would be greatly appreciated.I modified FATFS EMMC example so that it uses littleFS. I changed nothing in the SDMMC driver, so since it worked ...

kikib by Associate II
  • 3970 Views
  • 4 replies
  • 0 kudos