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

STM32 USB CDC receiving more than 64 bytes

Hello,I am using the USB CDC of NUCLEO-F767ZI board. MY firmware can transmit and receive OK through the USB CDC. However, I cannot receive more than 64 bytes, only the first 64 bytes are received. The transmission is OK, it can send more than 64 byt...

Duy Tran by Associate II
  • 4363 Views
  • 16 replies
  • 0 kudos

How to see debug output from USB Host?

I generated a USB Host for HID Class with CubeMX, but when I connect a mouse, its LED at the bottom doesn't light up.Debugging through USBH_Process(), phost showed the status as HOST_IDLE and CMD_SEND.To further debug this, I've set the debug level o...

STM32L4 won't stop running bootloader

Hi,I've used products in the STM32F4 family, but I have two new projects using the STM32L433 and STM32L432. For both of these projects, I am able to write and verify the flash, however I cannot seem to get the chips to boot from it. They always seem ...

MSchr.3 by Associate II
  • 1029 Views
  • 5 replies
  • 0 kudos

HAL_GPIO_TogglePin() bugs!

Hi All,I notice a bug in the HAL_GPIO_TogglePin() when there are two pins with different voltage level. E.g. GPIOF, Pin9 = 1 and Pin 10 = 0. It turns out Pin9 was 1 and Pin10 =0, then Pin9 and 10 = 0 then 1 and so on. Support it should be Pin9 != Pin...

GPIO HAL question

I'm going to write a new code to replace HAL_GPIO_ReadPin(), HAL_GPIO_WritePin() and HAL_GPIO_TogglePin() using direct low level memory reads, writess, and logical operation on the STM32f4.I think about a lazy way can i use the debugging to track the...

Cl.1 by Associate II
  • 680 Views
  • 3 replies
  • 0 kudos