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

What is the difference between 'USB CDC' and 'USB HID'?

I'm using STM32F072VB.​I want to communicate with 'USB' instead of 'Serial'.Should i use ​'USB CDC(VCP)'? or Should i use 'USB HID'?I ​created a 'USB HID' test code with CubeMX and checked it. ( Reference Image1)​​<Image1>​Can i do 'download communic...

0690X0000098Qi7QAE.png
LHAEU by Associate
  • 1119 Views
  • 0 replies
  • 0 kudos

F103 USB HID works when not debugging (swd)

Hello,​I'm trying a really simple HID mouse-moving example (https://notes.iopush.net/stm32-custom-usb-hid-step-by-step-2/) and if I connect my bluepill via usb to the computer (macOS), as expected, it connects and the mousecursor slowly drifts to the...

RBoer by Associate II
  • 1348 Views
  • 4 replies
  • 0 kudos

Resolved! I cannot see the status of the registers DFSDM1_Filter2 and DFSDM1_Filter3 in register view STM32l496ZG.

When you configure DFSDM faced with the problem that I can't see the status registers a custom filter, due to incorrect file STM32L4x6.svd because the register addresses according to this file do not match those described in the Datasheet and in the ...

Dumpler by Associate
  • 1087 Views
  • 3 replies
  • 0 kudos

VBUS sensing not working at Stop Mode

I'm used mcu stm32l476vg.I'll have to low power mode.It is in low power mode using the following API.HAL_PWR_EnterSTOPMode(PWR_MAINREGULATOR_ON, PWR_STOPENTRY_WFI);But although it is in low power mode, it does not return by USB insertion.I ask for yo...

KMats.2 by Associate
  • 560 Views
  • 1 replies
  • 0 kudos

Enabling fault handlers

Hi. I've run into an interesting situation and hopefully someone can give me an answer, or at least a suggestion.We've got a product in development. In the last few months we've seen a couple of them (2 or 3, that we know of) freeze and become unresp...

LThal by Associate III
  • 1235 Views
  • 2 replies
  • 0 kudos

Logico convert

hi I have an encoder that has channel A channel B 5 volt output only and I wonder if it is possible to read gpio interrupt with a cortex m4 since it works at 3.3 volts? Do you need a logic level converter, some resistor or read it anyway?

SDall by Associate II
  • 662 Views
  • 2 replies
  • 0 kudos