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.16.1 released

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 649 Views
  • 0 replies
  • 1 kudos

STM32CubeMX 6.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 1570 Views
  • 5 replies
  • 7 kudos

RTC wakeup with CubeMX generated code does not work.

I have setup RTC wakeup functionality and generated code with CubeMX.The code does not work straight away, because imr1's mr20 in EXTI IMR1 register was not unmasked. I suppose this is a bug and should be handle by STM. It took some time to figure th...

SAkhi.951 by Associate III
  • 844 Views
  • 2 replies
  • 0 kudos

Unable to use all 512KB RAM for FreeRTOS heap with STM32F767

CubeMX (currently 6.2) does not allow to enter more than 384KB (393216 bytes) for FreeRTOS TOTAL_HEAP_SIZE when using a STM32F767 (and maybe other F76x devices). This appears to be based on SRAM1 + SRAM2 size, but the first area of RAM, and where the...

IanG by Associate
  • 888 Views
  • 0 replies
  • 0 kudos

I'm using stm32f407VET6 to work with ethernet using KSZ8895 ethernet switch. To generate the basic MII configuration I'm using STM32 cubeMX. While doing the Ping test I am getting the error 'Destination Host unreachable'.

 There is any issue while generating ethernet code using  STM32 cubeMX. The tool chain I am using is TrueStudio. Please help. lwip initialization code is below.void MX_LWIP_Init(void){IP_ADDRESS[0] = 192; IP_ADDRESS[1] = 168; IP_ADDRESS[2] = 100; I...

RJOY.1 by Associate III
  • 1492 Views
  • 0 replies
  • 0 kudos

Adding Keil MDK built library to the Cube project

I have a Keil MDK project which outputs a library mc_comms.lib. I have another Keil project which uses this library and there are any issues. My customer is using STM Cube and can't build the same test project with the same library. Here are the erro...

baruch by Associate II
  • 1818 Views
  • 7 replies
  • 0 kudos

variable assign error while using HyperBus OSPI RAM on L4R5

osram_init(3,1,2,6); // Initialized with Prescaler=3, HighSelect=1, tRWR=2,tACC=6, MemoryMap, refer to CUBE-MX L4R9Eval OSPI_MemoryMap example Project uint8_t* mem_addr = ( uint8_t * )( OCTOSPI1_BASE + 0 );   *mem_addr = 0xF0;   *(mem_addr+1) = 0x...

Lee.Lys by Associate
  • 458 Views
  • 0 replies
  • 0 kudos