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.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
  • 1020 Views
  • 5 replies
  • 7 kudos

Resolved! I am trying to send hex values to the Uart terminal, but I am getting wrong values or nothing at terminal. I am getting the characters ok. I am using DMA and interrupt (IRQ_Handler), and STMCUBE MX to generate DMA init and uart codes. Please help.

I am using below code;void HAL_UARTEx_RxEventCallback(UART_HandleTypeDef *huart, uint16_t Size){ if (huart->Instance == USART3) { oldPos = newPos; // Update the last position before copying new data // If the data is large and it is about to exceed...

KMINH.1 by Associate III
  • 4595 Views
  • 7 replies
  • 0 kudos

Resolved! STM32 maximum ADC frequency confusion

I am using a STM32H723zg board for a project and I must read analog signals so I am using one 16-bit ADC. Based on the datasheet of this microcontroller serie, the maximum ADC clock frequency is 50 MHz for BOOST = 11.However when I am configuring the...

0693W00000YAmajQAD.png 0693W00000YAmmTQAT.png
CTord.1 by Associate II
  • 5564 Views
  • 5 replies
  • 2 kudos

How to set value of a macro via the .extsettings?

Hi Team,I am using the .extsettings to pass values of certain macros to the code. I am able to achieve the following by using the "Define=" parameter in the [others] section in .extsettings :#define ABCDHowever, I do not see the values of macros gett...

Jansunil by Associate II
  • 866 Views
  • 1 replies
  • 0 kudos

STM32F1 LWIP netif link doesn't set up

Hello,I need some help about using LWIP on STM32F107VCT6 without RTOS using RAW API.For the moment I just want to ping my board with a computer but the problem is that if I make an arp command my computer doesn't see my board. I have enable ICMP, TCP...

Romano1 by Associate III
  • 1162 Views
  • 0 replies
  • 0 kudos

How to select STM32H743 lwip's system timebase source?

Good day sir.​ST's EVM�?development software and firmware informations or else are as ​below :NUCLEO-H743ZI2​CubeMX : 6.2.1CubeIDE : 1.1.0.1​Firmware package : STM32Cube FW_H7 V1.9.0 lwip : 2.1.2, raw api without rtos. ​After modifying according ...

span.1 by Associate
  • 1313 Views
  • 2 replies
  • 0 kudos

How can I trigger ADC with an external clock generator?

Hello,I'm trying to trigger ADC on the STM32F303RE Nucleo board with an external clock generator. Without external trigger settings, it works. I changed the trigger source to Timer8, then in TIM8 settings, I chose External Clock Source. What am I doi...

0693W00000aHAcSQAW.png 0693W00000aHAchQAG.png
ADynr.1 by Associate II
  • 1448 Views
  • 2 replies
  • 0 kudos

Resolved! SPI DMA configuration generated by STM32CubeMX does not work

I have used STM32CubeMX to generate the configuration required to use SPI1 with DMA for a nucleo H743ZI2 board:  Then, I generate the code as a Makefile project and modify the main function to have:int main(void) { /* USER CODE BEGIN 1 */   /* US...

0693W00000YASP6QAP.png 0693W00000YASaSQAX.png
DGast.1 by Associate III
  • 3385 Views
  • 7 replies
  • 1 kudos