STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F1xx_HAL_PCD -- wrong EP_IN/EP_OUT

HAL v1.7.0, stm32f1xx_hal_pcd.c, line 199During OUT EP init we have IN EPShould I fix it on my own? for (index = 0U; index < 15U ; index++) {  hpcd->OUT_ep[index].is_in = 0U;  hpcd->OUT_ep[index].num = index;  hpcd->IN_ep[index].tx_fifo_num = index; ...

RBaly by Associate
  • 306 Views
  • 0 replies
  • 0 kudos

PLL3 as I2C123 peripheral source clock on STM32H7

If the PLL3 is selected as I2C peripheral source clock, the Bits RCC_D2CCIP2R_I2C123SEL are not initialized correctly.In function HAL_RCCEx_PeriphCLKConfig() the PLL3 R Divider gets updated but the clock selection is not set to "1". In my opinion, th...

MGall.9 by Associate
  • 518 Views
  • 0 replies
  • 1 kudos

STM32 System Memory DFU Bootloader Temperature Issues

Hi,we intend to use the STM32F479 in an industrial application where ambient temperatures might vary, and we would like to use the system memory dfu as a backup bootloader. In AN2606 I found the following note:„For STM32 devices embedding bootloader ...

IHC by Associate
  • 627 Views
  • 1 replies
  • 0 kudos

STM32H743, ETH interrupt enable

I am using the ETH module in the STM32H743 microcontroller. Added support for LwIP and DHCP. Everything works, the device receives an IP address and responds to ping requests. But there is a problem - the interruption of the ETH-module does not work ...

mak1308 by Associate III
  • 843 Views
  • 1 replies
  • 0 kudos

STM32L152RC VCP and DFU

in CubeMX i can choose USB Device in DFU mode or Virtual Com Port, but i want to use VCP and upgrade firmware using USB port. Is it possible?

AVern by Associate
  • 514 Views
  • 1 replies
  • 0 kudos

DMA with FMC device

Hello,Is it correct to call HAL_SRAM_Init()for each external FMC memory ( So that each one has its own mdma handle )?The story:We have 3 memories: external nor, eternal sram, and fpga.But we don't get the dma callback called after calling to HAL_SRAM...

ranran by Senior II
  • 465 Views
  • 0 replies
  • 0 kudos

IP assigning to stm32f767zi

Hello everyone, actually I'm working on stm32 Nucleo- F767zi board and I want to send/receive data over ethernet by assigning static ip to the board with the help of LwIP and Free RTOS. So when I just simple assign static ip to the board and it gets ...

SJain.18 by Associate
  • 358 Views
  • 0 replies
  • 0 kudos

CDC + HID data corruption on CDC interface

Hi all,I managed to build HID + CDC for STM32F072 and STM32L152 and I am experiencing data corruption if I try to run both interfaces at the same time, however it is not happening always. I am testing on windows and linux (ubuntu 16, 18 and raspbian ...

dan2 by Associate II
  • 610 Views
  • 0 replies
  • 0 kudos