STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I2C Fast Mode Plus, 1 Mb/s

I have an STM32H563 communicating on I2C4 @ 1 MHz (fast-mode plus) to an I/O expander with no problem. However when I add a temp sensor (TI TMP175) to the same bus, communication doesn't work for the TMP175. The TMP175 communicates > 400 KHz only if ...

mccabehm by Associate III
  • 0 replies
  • 0 kudos

Resolved! STM32H563 Flash Erase Program sample fails in Keil

I create sample code for FLASH Erase Program on both mdk arm and stm32cubeide. Using the sample hardware(stm32h563ZITx develop board), the sample code runs correctly on stm32cubeide, but will enter Error hander when doing Flash operation in keil debu...

Ehow by Associate II
  • 6 replies
  • 0 kudos

ADC input disturbed by PWM

I'm having an issue with my STM32F303RE. I'm using CubeMX to initialize ADC1_IN1 as single ended on PA0, and PWM generation on TIM2_CH1 on PA15. Unfortunately, PA0 will OUTPUT a voltage roughly proportional with the duty cycle of the PWM on PA15, i.e...

kristblo by Associate II
  • 12 replies
  • 1 kudos

Resolved! Enabling USB Device CDC on Nucleo F303ZE

I have a Nucleo F303ZE and enabled USB Device middleware along with the USB 'Device FS' Connectivity.  I also configured the CDC_SET_LINE_CODING and CDC_GET_LINE_CODING  functions in USB_DEVICE/App/usbd_cdc_if.c I connect a USB cable to the STLink co...

LMorr.3 by Senior
  • 6 replies
  • 3 kudos

Regarding PDM to PCM conversion

Hi team, i am using STM32F446 NUCLEO  BOARD WITH MP23DB02M.I refered appnote UM2372I also referd YouTube playlist in your community also.I haven't cleared how to convert pdm to pcm.Please give some block diagram view of the algorithm or code.please d...

EEPROM emulation: working principle

Hello everyone,I'm currently working on an STM32L433 microcontroller and, considering cost and space-saving aspects, I opted to implement an EEPROM emulation library. While I've been going through the related documents, I've encountered a few uncerta...

filogold by Associate
  • 4 replies
  • 1 kudos

Resolved! ADC_Sequencer not fully configurable: STM32G0

Can any of the expert share an example of ADC configured in Sequencer not fully configurable mode please?Its hard to find the solution .As the project had predefined prototype I need to sort it out with the configuaration and mandatory to use PA12 (a...

SRAM.11 by Associate III
  • 4 replies
  • 0 kudos

Get witch line has called Error_Handler(void)

Hi, I'm trying to develop a FW for one of my custom boards that has an ethernet interface.I'm using STM32CubeIDE, I generated the code with the configurator, and without even writing a line of code, if I go into debug, during the initialization of th...

FMass.1 by Associate III
  • 4 replies
  • 1 kudos

ADC multichannel DMA

with all your help I tried to change multichannel using DMA but I cant able to read the values can anyone please help ADC_HandleTypeDef hadc1; DMA_HandleTypeDef hdma_adc1; UART_HandleTypeDef huart2; /* USER CODE BEGIN PV */ uint16_t mains=0; uint16...

meena by Associate III
  • 9 replies
  • 0 kudos