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

Possible bug with ADC configuration

I want to signal a possible bug in CubeMx version 4.27, in the STM32L4xx HAL library package. In the ADC configuration of the external trigger, the TIM4 TRGO setting does not work.I think the error is in line 518 of file "stm32l4xx_hal_adc.h". The or...

GZini.16 by Associate
  • 540 Views
  • 1 replies
  • 0 kudos

osMessagePut problems

Posted on March 23, 2017 at 12:13Hello,I have been trying to solve problem with the osMessagePut function fromCMSIS-RTOS wrapper. I am not able to insert instances of C structure intothe message queue.  My code is following:// transmission queuestat...

I2C HAL code not generating clock

Dear All,I am using STM32L431 controller and connecting I2C2 for Tilt sensor to read the value. I have generated the code using CubeMX tool by configuring the clock and pin. Controller is running at 24MHz clock and configures I2C with 100KHz. I am g...

SNaik.5 by Associate
  • 400 Views
  • 0 replies
  • 0 kudos

[BUG] IS_HCD_ALL_INSTANCE() used but not defined

When generating code for F7 MCU with HCD and full assert enabled CubeMX generates line in "stm32f7xx_hal_hcd.c":assert_param(IS_HCD_ALL_INSTANCE(hhcd->Instance));however IS_HCD_ALL_INSTANCE is not define anywhere, and linker gives error as expected:S...

Nixz by Associate III
  • 768 Views
  • 4 replies
  • 1 kudos

Using USB VID from ST

Hello all,We are planning to use the Murata CMWX1ZZABZ (STM32L072) for our low volume product. This entails the usage of the USB MSC library and therefore the usage of a VID and PID. We know that we can use the USB VID for evaluation purposes but is ...

TW.16 by Associate
  • 392 Views
  • 0 replies
  • 0 kudos

using stm32L151VE dual bank boot

I am using STM32L151VE. Trying to use the dual boot banks mechanism.I am compiling the code to 0x0 and load it to bank1 OR bank2 and setting the VTOR accordingly.When the code is located in bank1 and BFB2 is on - the application is running (memory ma...

MHirs by Associate
  • 673 Views
  • 3 replies
  • 0 kudos