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

STM32F303 - Can rx error

Hi,I have a problem with my application that reads messages from CAN.Sometimes, after wake up, I see rx error on CAN driver (I use the function GetLastErrorCode, that return error number 32(Form error)), this situation remains until I generate a MCU ...

LBern by Associate
  • 280 Views
  • 0 replies
  • 0 kudos

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
  • 1290 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