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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

STM32Cube I2C HAL Issues with HTU21D and BMP180

Posted on October 07, 2015 at 13:16 I am a beginner to STM So far, I have done a lot of work on NETMF and AVR. Starting out with STM Environment: I have a super tiny board for STM32F103C8 (like this one http://artofcircuits.com/pro...

CubeMX Newbie Question

Posted on October 03, 2015 at 05:00I intend to use SDIO with STM32F103C8 MCU and am trying to generate initialization code from CubeMX.It turns out, SDIO is NOT available for STM32F103C8 MCU in CubeMX.  Is there a good reason why this cannot be done...

ymhsieh by Associate II
  • 1001 Views
  • 4 replies
  • 0 kudos

Possible bug in STCubeMX HAL DMA code for F4

Posted on August 13, 2014 at 02:14I do not know enough about the internal workings of the processor to be sure, but I believe there is a bug in the HAL DMA drivers for the F4xx series. Specifically, it seems the De-init method puts the DMA periphera...

Stm32Cube - Simulink - MikroC

Posted on October 01, 2015 at 13:22Hello, I'm new here and i've the problem that i don't know how to get the generated code from simulink and CubeMX to my Microcontroller.My Setup:I use mikroC Pro and an EasyMX Prov7 board with STM32V107VCT6Now I go...

Problem with USB Host CDC class

Posted on July 03, 2014 at 12:01Hello,I'm using STM32CubeMX to generate a project for STM32F207 that uses USB Host. The project compiles without problems. I have a custom USB device that uses CDC to send and receive serial data. When the device is a...

BUG: CAN race condition if HAL_CAN_Receive_IT is used

Posted on April 15, 2015 at 22:27 If you use HAL_CAN_Receive_IT for receive and send messages at same time you can get race condition. Typical callback looks like: void HAL_CAN_RxCpltCallback(CAN_HandleTypeDef* CanHandle) { if ((CanHandle...

vromanov by Associate II
  • 1571 Views
  • 6 replies
  • 0 kudos

Request STM32cubeMX to work with latest Java

Posted on July 23, 2015 at 09:41Due to security reasons I recently updated to the latest Java 8 Update 51 (Releasedate 14.07.2015) and deleted the old Java version. But now CubeMX (4.9.0) is not starting anymore asking for an old Java 1.7.0_45 I kin...

ramm by Associate II
  • 900 Views
  • 5 replies
  • 0 kudos

STM32F103 HAL UART: TX error, HAL_BUSY (FreeRTOS)

Posted on September 12, 2015 at 00:46Hi All,I'm trying to build an application which can receive commands through UART, and can also send messages.I have created 2 threads using FreeRTOS: one for a continuous RX, and one for a repetitive TX.The RX t...

balazs by Associate II
  • 755 Views
  • 1 replies
  • 0 kudos

need very simple UART RXNE and IDLE interrupt example

Posted on September 08, 2015 at 12:25 Hello, I've used the STD peripheral libraries before and successfully generating interrupts from UART //snippet 1 void USART1_IRQHandler(void){ char chee; if(USART_GetITStatus(USART1, U...

krishna2 by Associate
  • 6126 Views
  • 3 replies
  • 0 kudos

STM32CubeMX and HAL Libraries Version (F1 for my case)

Posted on September 02, 2015 at 04:35Hello,I just start using STM32CubeMX three days ago and the product is looking good! I'm playing with a Nucleo Board STM32F103RB and one thing that I noticed is that the HAL Library for F1 version downloaded by C...

kopf by Associate II
  • 1258 Views
  • 2 replies
  • 0 kudos