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

STM32L433 USB VCP Problem

Posted on April 05, 2017 at 20:36Good evening everyone,I'm trying to use the L433 USB as VCP using HAL Drivers, to receive data from PC and transmit the response to the PC.I'm following the STM32L452RE example 'Standalone CDC' from the CubeMX exampl...

FreeRTOS Mutex example ?

Posted on April 03, 2017 at 00:53 Everyone, Does anyone know where I can find a simple example for FreeRTOS on Mutex ? I want to do two task but the first task never finishes and jump already to the second one because of the systick, how can ...

There is a wrong comment in stm32f1xx_hal_dma.c

Posted on April 05, 2017 at 07:49static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t DataLength){/* Configure DMA Channel data length */hdma->Instance->CNDTR = DataLength;/* Peripheral to Memory */if...

Enumeration fails when Host boot up

Posted on April 04, 2017 at 19:41Hi all, I am using CubeMx generated code for USB Host- CDC communication. With this code Enumeration fails under two scenarios1) Host attached to a CDC device(CDC device not powered externally) then Power on Host.2) ...

HAL DMA I2S Bug

Posted on August 26, 2016 at 16:48 There is a bug in HAL in full duplex I2S. The internal callback in the library disables all further DMA requests even if circular buffering is enabled. This is incorrect as it requires that an application call ...

pstanley by Associate
  • 550 Views
  • 1 replies
  • 0 kudos

Charge-only USB Device?

Posted on April 04, 2017 at 04:05I need to be able to de-activate the USB CDC port and yet still be able to negotiate for power to charge a battery.  The use case here is that I have a device with both Bluetooth SPP and USB CDC and I want to allow o...

Can I start task inside task on RTOS ?

Posted on April 02, 2017 at 09:52Everyone,Can I start task inside task on RTOS? so after task 1 is finished, go to task 2, finish task 2 return to task one,Here's what I have written, any advices ?thanks/* StartDefaultTask function */static void Sta...

How to write to USB PHY ULPI register ?

Posted on April 01, 2017 at 09:25Hello, how do you write to an USB PHY configuration register via ULPI ? I would like to swap DP and DM pins from Microchip USB3343 by setting bit 1 of register 0x39. http://ww1.microchip.com/downloads/en/DeviceDoc/33...

[bug report] Bug in HAL (SPL) delay function

Posted on March 12, 2014 at 16:05Setup: I've just generated code for stm32f407 using the latest STM32CubeMX. Here's the generated code for delay function in file stm32f4xx_hal.c:void HAL_Delay(__IO uint32_t Delay) {   uint32_t timingdelay;     tim...

amomum by Associate III
  • 2156 Views
  • 13 replies
  • 1 kudos