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

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
  • 550 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
  • 500 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
  • 404 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
  • 644 Views
  • 0 replies
  • 0 kudos

SPI and DMA on STM32H7

Hello,I'm trying to use STM32CubeH7 SPI_FullDuplex_ComDMA example code inside a CubeMX generated project.I have been using the original SPI_FullDuplex_ComDMA (as it is) successfully.Now I copied it to my CubeMX project.First I have read the following...

Gpeti by Senior II
  • 508 Views
  • 0 replies
  • 0 kudos

STMF4-DISCOVERY USB CUSTOM HID issue

HeyI've been watching the video series for USB from ST https://www.youtube.com/watch?v=3JGRt3BFYrM&list=PLnMKNibPkDnFFRBVD206EfnnHhQZI4Hxa&index=15and have been trying it on my stm32f407 discoverykit (with the change to PC13 to my button instead (PA0...

AMeta by Associate II
  • 448 Views
  • 0 replies
  • 0 kudos

Resolved! How to read multiple GPIO simultaneously? [solved]

Hi guys, Is it possible to read multiple gpio simultaneously? See part of my code below. Thankswhile (1) { if ( (HAL_GPIO_ReadPin(IN_1_GPIO_Port, IN_1_Pin) == GPIO_PIN_SET) || (HAL_GPIO_ReadPin(IN_2_GPIO_Port, IN_2_Pin) == GPIO_PIN_SET) || (HAL_GPIO_...

ced seg by Associate II
  • 7320 Views
  • 4 replies
  • 0 kudos