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

Resolved! STM32G0B1 USB device not recognized in Windows 10

Hello,I'm using STM32G0B1-Nucleo (with no USB user connector), and I am trying to program USB device (I tried virtual COM, HID and MSC separately).I'm using the STM32CubeMx with STM32CubeG0 FW V1.5.1 to generate the configuration with PA12 and PA11 f...

0693W00000NsGxsQAF.png 0693W00000NsGxxQAF.png
Houssem by Associate II
  • 10546 Views
  • 10 replies
  • 0 kudos

I know sounds dumb, but how do you configure SysTick

I need to run SysTick every microseconds instead of every millisecond. So I called: SysTick_Config(SystemCoreClock / 1000000);except that delay never ended, because the interrupt was low priority so: HAL_InitTick(TICK_INT_PRIORITY);Except this s...

RobG by Associate III
  • 24504 Views
  • 9 replies
  • 3 kudos

Small Floating point values

Hi,I have a general question regarding the problem I am facing.Currently, the pSpeed Value is very small (for example 3.4E-7) and when I perform a square for such values it becomes smaller. When I pass the Square data value to the arm_sqrt_f32() func...

ZHaid1_0-1702573772577.png
ZHaid.1 by Associate II
  • 2993 Views
  • 4 replies
  • 0 kudos

USB Host Bulk Input NAK || STM32U575

Hi All,I am working on the STM32U575 for host mass storage class.I am not using stm32 middle ware for this due to some reasons.I am using TinyUSB open-source stack to implement the Host mass storage class.with my current implementation I am able to u...

RRajb.2 by Associate III
  • 12940 Views
  • 19 replies
  • 4 kudos

How to disable the USB cable detection?

Hello, I am using a STM32G473RC microcontroller and want to use usart3 to update the firmware.I also use the CAN-BUS on pin PA11 and PA12. These pins (PA11, PA12) are also USB pins (DP and DM).When I start the bootloader (BOOT = 1 + RESET), the "USB ...

GHese.1 by Associate II
  • 7625 Views
  • 8 replies
  • 0 kudos

STM32U5 ADC VREFINT_CAL_ADDR

The #define value for VREFINT_CAL_ADDR in the stm32u5xx_ll_adc.h HAL file has an odd value address (0x0BFA 07A5). This causes attempts to access the value to fault with an unaligned access. I have checked for other devices (STM32F4, STM32L0, Etc.) an...

cpegeo by Associate
  • 2507 Views
  • 2 replies
  • 0 kudos