STM32CubeMX (MCUs)

Ask questions on STM32CubeMX. Discuss code generation and configuration challenges, among other topics.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.17.0 released

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1626 Views
  • 0 replies
  • 2 kudos

STM32L0 UART HAL driver issue

Posted on November 11, 2015 at 22:11 Hi, I have spotted a potential bug in the HAL driver for the UART on (at least) the STM32L0. The macro for determining the BRR register value__DIV_LPUART is defined as follows: #define __...

I2C DMA Address Ack Failure

Posted on October 22, 2015 at 19:28Dear All, I am making calls to the HAL_I2C_Mem_Read_DMA, HAL_I2C_Mem_Write_DMA provided by the STM32HAL driver, and in some cases expecting a Address ACK failure. It seems that the implementation of these functions...

akhanna by Associate
  • 1500 Views
  • 2 replies
  • 0 kudos

Starting up with ST Cube MX etc\n00b question

Posted on October 19, 2015 at 22:14Hello everyone,I am trying to start working with ST programming tools and looking for a bit of advice.My first task is to build a project from a bunch of .c files which were developed by a proper programming engine...

ast8346 by Associate II
  • 1469 Views
  • 3 replies
  • 0 kudos

STM32Cube - bug in cmsisOS api regarding FreeRTOS

Posted on February 02, 2015 at 10:30STM32Cube provides project code generation for FreeRTOS along with a wrapper dedicated to use of the CMSIS-OS API. Nevertheless, it seems that this wrapper is brocken regarding the FreeRTOS API function ''vTaskDel...

basile by Associate II
  • 3827 Views
  • 7 replies
  • 0 kudos

Problem with CubeMX generated code, UART int.mode

Posted on October 15, 2015 at 10:21 I'd like some help narrowing down the origin of my problem withSTM32F030 and CubeMX generated code. Just made some project using the newest version of CubeMX software, and it didn't work. I could simpli...

yury by Associate II
  • 1579 Views
  • 2 replies
  • 0 kudos

STM32CubeMX USB CDC Set_Feature data phase

Posted on October 14, 2015 at 16:41Hello, I have to receive some data in a ''set_feature'' command. It's possible because the packet is: Offset Field Size Value Description 0 bmRequestType 1 Bit-Map D7 Data Phase Transfer Direction 0 ...

stock23 by Associate II
  • 1048 Views
  • 1 replies
  • 0 kudos

Return Code in Cube MX's initialization functions

Posted on September 09, 2015 at 14:17When using CubeMX to generate project (e.g. for SW4STM32), the code for SD Card looks like this:void MX_SDIO_SD_Init(void){  hsd.Instance = SDIO;  hsd.Init.ClockEdge = SDIO_CLOCK_EDGE_RISING;  hsd.Init.ClockBypas...

STM32CubeMX Bug: NbrOfDiscConversion not set

Posted on August 24, 2015 at 22:08When Discontinuous Conversion Mode is disabled CubeMX leaves the NbrOfDiscConversion field in ADC_InitTypeDef uninitialized which can cause assert_param(IS_ADC_REGULAR_NB_CONV(hadc->Init.NbrOfConversion)) in  HAL_AD...

greg2399 by Associate
  • 1111 Views
  • 2 replies
  • 0 kudos