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

Howto Setup USB CDC 5 channels?

Hello in my project I need a USB CDC combo device with 5 CDC channels. I use STM32F407.How can I do that?In the CubeMX I can setup 5 "interfaces"/"configurations". But in my system appears only 1 CDC channel.But there are more than 1 interface regist...

taraben by Senior
  • 370 Views
  • 0 replies
  • 0 kudos

Resolved! Data corruption on UART - reg

#include <stdint.h> #include <stdio.h> #include "bspapi.h" #include "FreeRTOS.h" #include "task.h" #include "queue.h" #include "stm32f4xx.h"   TaskHandle_t Task3Handle = NULL;     static char key = 'Q'; extern int state = 0; xQueueSetHandle xQueue;  ...

Npiet.1 by Associate II
  • 697 Views
  • 2 replies
  • 0 kudos

How wake up the device from USB?

Hi, i'm using USB HOST MSC in the stm32f411re.i would like to put the microcontroller in STOPMode and wake up it when memory stick is connected.By default CubeMX activate OTG_FS_IRQn global interrupt. With this interrupt i can only exit from SLEEPMo...

LDelm.1 by Associate II
  • 460 Views
  • 0 replies
  • 0 kudos

Resolved! Porting USART code to STM32L0.

I am porting a code written for the stm32f4 to stm32l0. The code uses the ll diver to configure USART1 with the following statement:LL_AHB1_GRP1_EnableClock(LL_AHB1_GRP1_PERIPH_GPIOA)The LL_AHB1_GRP1_PERIPH_GPIOA value is not defined for the STM32L0....

GErma.1 by Associate III
  • 487 Views
  • 1 replies
  • 0 kudos