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! USBD_CUSTOM_HID_SendReport function makes devise busy but no one can make device unbusy.

I create Custom hid and send 2 PC report usingwhile(1){USBD_CUSTOM_HID_SendReport(&hUsbDeviceFS, dataToSend, 4);}And... Device is frozen. Why? I am going inside HAL->USBD_CUSTOM_HID_SendReport... I see codehhid->state = CUSTOM_HID_BUSY;so USBD_CUSTOM...

USB Virtual Com Port unusable

hello, I'm trying to transfer a block of data from the PC via USB (with HyperTerminal) to my device card, but I haven't found a way to not lose data.Surely there is the possibility of controlling the flow of data coming from the PC arriving on the re...

HAL_Delay problem!!!!!

Hello everyone!!!I get a problem with HAL_Delay function. When I use STM32CubeMX creat my simple project (blink a led with STM32F4 Discovery Kit) everything is OK with HAL_Delay() function.But when I creat a same project without using STM32CubeMX, HA...

DNguy.18 by Associate II
  • 1301 Views
  • 4 replies
  • 0 kudos

Resolved! HAL_UART_Transmit doesn't work

Hi,I'm simply want transmit on UART using code generated by CUBEMX 5.1.0 for NUCLEO F401RE in System Workbench (Version: Neon.3 Release (4.6.3)).I've only added the following code in the main:UartStatus is ALWAY HAL_OK after every transmission. I'm ...

0690X000008BH2TQAW.png

CubeHAL I2C slave pulls down clock line and let it not go. Who knows what I can do when wanting to enable clock stretching.

Hi, I have problem with I2C. I use NUCLO446RE as a slave. STM32Cube FW_F4 V1.24.0 or 24.1. Both versions have the problem. I using also Atollic True Studio for STM32 or STM32CubeIDE 1.0.0. The problem occures with both platforms.When the master reque...

0690X000008BFf4QAG.png
KWuer by Associate II
  • 1142 Views
  • 4 replies
  • 1 kudos

changing timer output polarity fail in toggle mode

I use the STM32G0 Timer2 to generate phase controlled signals. For negative phases the output needs to be toggled; After reset the state is always correct, but during runtime the OC polarity is not set correctly.Here is my function. Can someone told ...

ABucs by Associate II
  • 427 Views
  • 0 replies
  • 0 kudos

USB Another OUT Endpoint

Hi,For my application i need to add just one more OUT endpoint to my USB Device. I am using nucleo f303re development board. I configured a CDC project from cubemx and made it a libusb project following stm training about usb but now i need to get 12...

B??el by Associate II
  • 549 Views
  • 2 replies
  • 0 kudos