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! USB CDC Fatal Error with 9 Byte Receive

Posted on May 01, 2017 at 20:20I'm running into a Hard Fault when sending 9 bytes from a PC to a STM32F103C8T6 using USB CDC code generated by Cube 4.20.1, FW F1 V1.4.0.  I can send 8 bytes to the microcontroller without issue, but once I try 9 byte...

Resolved! Bootloader Framing Errors - STM32L052

Posted on April 28, 2017 at 01:42Hi, I'm writing an application on an STM32L052 that uses the UART (115200-N81), and I need to use the Bootloader for code upgrades.   If run the Bootloader using the BOOT0 pin, the UART initializes fine and I can upl...

USB Driver Issue for Windows 10

Posted on April 27, 2017 at 16:00Hello,I am trying to integrate my custom board (STM32F205 VCT) with PC to send data over USB using Full Speed functionality.Earlier i tried same with STM32F4 Discovery board & everything went right & i was able to re...

Resolved! Cube 4.20 Bug - clock init

Posted on March 16, 2017 at 10:47 Hi, I found a bug in the new version of CubeMX. In this case, even if HSI is not used it is enabled (line 1) but not activated: RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTYP...

AndreaC by Associate III
  • 874 Views
  • 4 replies
  • 0 kudos

STM32F4 USB_OTG_HS CDC (Virtual COM Port) Issue

Posted on April 19, 2017 at 16:38Hello,I am trying to implement USB Connection using High Speed (HS) mode for Virtual COM Port. Under USB_OTG_HS in cube MX i have configured 'Internal FS Phy -> Device_only' &  under USB_DEVICE 'Class for HS IP-> Com...

Resolved! TIM7 time base config with hal lib is disabling interruption after few attended interruptions.

Posted on April 25, 2017 at 09:42I configured TIM7 as time base timer using HAL_TIM libs as indicated in this post: https://community.st.com/0D50X00009XkYJ6SANAt interruption callback I increase a counter var in order to get multiples of 100us timin...

STM32F769i-discovery i2C BSP code question

Posted on April 26, 2017 at 17:20Hi , I'm trying to use external I2C devices in the Audio_playback_and_record project for STM32F769i-discovery.I think the code is using the BSP to configure the GPIO's for I2C used for internal devices ( audio codec,...

benyBoy by Associate II
  • 971 Views
  • 2 replies
  • 0 kudos

Possible problem with ethernetif.c

Posted on April 26, 2017 at 20:24In the file ethernetif.c supplied as part of cubemx based BSP, there is a static function low_level_output(). In this function is a call to HAL_ETH_TransmitFrame().The return code of HAL_ETH_TransmitFrame() is not ch...