STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

HAL_TIM_IRQHandler optimization bug

Posted on March 06, 2017 at 22:49There are no 'else' statement in between the mutual exclusive 'if' cases in HAL_TIM_IRQHandler. This wastes precious processor cycles in real time (like PID) loops[...]}  /* Capture compare 2 event */  if( [...]Compa...

Resolved! STM32F103 USBD lost first bulk packet

Posted on May 29, 2017 at 17:01I try doing usb device with two bulk endpoint IN/OUT.All work fine but i lost every first packet on start device. Every new packet work fine, and work fine if i unplug and plug usb cable. And i recevie num of bytes in ...

CustomHID with HAL

Posted on June 10, 2016 at 13:23Hello,In HAL USB_Device class library function (usbd_customhid.c) USBD_CUSTOM_HID_Setup() not exist case CUSTOM_HID_REQ_GET_REPORT(bug or not?), but in usb spec  GET_REPORT must be realized. Could you recommend right ...

kruft by Associate III
  • 1149 Views
  • 7 replies
  • 0 kudos

USB CDC Stuck in Transmit State STM32L4

Posted on May 23, 2017 at 21:00Little background knowledge, I'm trying to implement XMODEM protocol for a file transfer to my SD card and everything seems to be in place and working for the most part but I run into an issue occasionally on USBD_CDC_...

jacob2 by Associate II
  • 381 Views
  • 0 replies
  • 0 kudos

STM32F4 USB SERIAL

Posted on May 16, 2017 at 13:08Working on STM32F4 Discovery and using CubeMx to generate basic structure for the program.I am connecting FT232 based USB TTL Module to the USB OTG port of Discovery using Micro USB to Female OTG Cable.I am using CDC e...

anuj by Associate II
  • 865 Views
  • 4 replies
  • 0 kudos