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

I setup USB Host using STM32CubeMx. How can I receive data using USB Host and the USBH_CDC_Receive function and the CDC_ProcessReception(phost) ?

Posted on August 21, 2017 at 15:17I have setup the USB Host using the STM32CubeMx and I can transmit data in bulk and it has a state machine.  The USB is attached to the host which is a CDC USB Modem.  The CDC_ProcessReception(phost) does not receiv...

BUG CubeMX 4.20.1 and RTC

Posted on April 13, 2017 at 16:19hi to all, i use a  cubemx 4.20.1 for configure STM32L152RE; when i configure the RTC pin with alarm A  i see a error handler.indeed when the system arrived to LSE configuration i have a HAL_TIMEOUT, can you help me?...

antonioB by Associate II
  • 1361 Views
  • 5 replies
  • 0 kudos

STM32F407 + UDP+LWIP big packet problem

Posted on August 16, 2017 at 00:58Dear Forum,I bring forth a frustration question yet I'm uncertain how to approach it.I have STM32F402, and I can communication over UDP . In cube I reviewed every options but my problem do not solved. If I can sendi...

lorant124 by Associate III
  • 709 Views
  • 1 replies
  • 0 kudos

Resolved! Upgrade of lwIP embedded in STM32CubeMX

Posted on December 14, 2016 at 12:11Hello ST,I'd like to ask if there are plans to upgrade the lwIP embedded (1.5) in the Cube to the recent release 2.0.0Meanwhile, I can assure that upgrading an existing Cube project is possible!If someone is inter...

infor by Associate III
  • 1579 Views
  • 5 replies
  • 0 kudos

EEPROM for Cube MX STM32F301C8

Posted on August 07, 2017 at 09:13Hi,I would like to used EEPROM for STM32F301C8. I am used code belowuint32_t READ_FLASH(uint32_tDataAdr){ return *(int32u *)DataAdr;}void WRITE_FLASH(uint32_tDataAdr, uint32_tData){ erase_pages.PageAddress=DataAdr; ...

Gz by Senior
  • 1131 Views
  • 6 replies
  • 0 kudos

STM32F767 SRAM problem

Posted on July 28, 2017 at 09:25Hello, i made my own devkits with huge altera and STM32F4/7 micro-controllers.As usual, STM32F479 performing very well, it uses 26b ADR, 32b data lines directly to FPGA.But for some reason code generated by STM32CubeM...

Resolved! CubeMX generates wrong I2S frequency on STM32F401C-Discovery

Posted on August 02, 2017 at 11:42I have a clean slate CubeMX project on a STM32F401C-Discovery board. I have set up the onboard Cirrus audio DAC, and send a hard-coded test signal to it via DMA-driven I2S. I can hear the sound, but it is at wrong f...

0690X00000607mlQAA.png 0690X00000607ptQAA.png 0690X00000607pyQAA.png
kraiskil by Associate III
  • 4038 Views
  • 14 replies
  • 0 kudos

Resolved! Possible HAL F429 UART TX Bug

Posted on July 31, 2017 at 13:36Hi, I am working on my project which requires to send some data over UART.I have F429ZI Nucleo board with a UART2 configured (see uart2_config image). The UART2 has Interrupts enabled so I can use the HAL_UART_Transmi...

dman by Associate II
  • 4044 Views
  • 12 replies
  • 0 kudos