STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Cube 4.20 bug - Clock initialization

Posted on March 16, 2017 at 10:54 I found a bug in the new Cube Version. At line 1 internal oscillator is enabled although it is not used, in fact it is not actived: RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTY...

AndreaC by Associate III
  • 1063 Views
  • 6 replies
  • 0 kudos

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
  • 540 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...