STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! ST32H7 SPI DMA Callback not called in non-circular Mode

Hi,I have seen this some time ago in another thread: https://community.st.com/s/question/0D53W000005771OSAQ/stm32h7xx-spi-tx-with-dma-halspitxcpltcallback-is-called-only-if-dma-is-configured-in-circular-modeI am kind of repeating the questions in tha...

JRS by Associate III
  • 2331 Views
  • 2 replies
  • 0 kudos

Resolved! Problems with FatFS and FreeRTOS integration

Hi, everyone.I have a board with STM32F215 uC and I want to create a Data Logger on FreeRTOS.I've been reading about these problems and I don't find what's going on.I modified the task's stack on the FR configuration, I made sure that timebase source...

by Not applicable
  • 1085 Views
  • 2 replies
  • 1 kudos

Resolved! Bug in uart init function when setting baudrate register (BRR). In file /Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart.c at line 3201, it calculates usartdiv casting it to uint16_t and then checks if it is less than 0xffff.

In this way, error never occurs leading to wrong baudrates. if (pclk != 0U) { /* USARTDIV must be greater than or equal to 0d16 */ usartdiv = (uint16_t)(UART_DIV_SAMPLING16(pclk, huart->Init.BaudRate, huart->Init.ClockPrescaler)); ...

Lmoio.1 by Senior
  • 2020 Views
  • 6 replies
  • 0 kudos

Resolved! How to connect NUCLEO-G071RB with STM32CubeMonitor-UCPD

I purchased a NUCLEO-G071RB and X-NUCLEO-USBPDM1 to development of my project.​Then I wrote a sample program according to application note AN5418, but it doesn't recognize it as a connectable port to the UCPD monitor.​Is it related to HWBoardVersionN...

Sodag.1 by Associate II
  • 1642 Views
  • 8 replies
  • 0 kudos

Location of MAC address storage in stm32h7 memory

When configuring a network interface, there is usually a hard coded MAC address somewhere in a config file, which is used to setup the interface.In production this address needs to be unique (purchased). For example in some stm32f4 mcus, there is a s...

emcewees by Associate
  • 2117 Views
  • 3 replies
  • 0 kudos

LwIP IPV6 DNS query failed

I have LwIP running on STM32+Cellular modem. The network is fine for IPV4. Now I am enabling IPV6.I can see my IPV6 address assigned with my IPV4.However, when I use lwip_getaddrinfo to have DNS query, but lwip_getaddrinfo return failed.Any hints are...

jiangpen by Associate II
  • 759 Views
  • 0 replies
  • 0 kudos

Resolved! How to use CMSIS 5.8.0 in the cubeIDE

Hi,I use the stm32f446re with the cubeIDE and would like to use FFT's with 16 bit float (arm_rfft_fast_f16) like in the CMSIS DSP 5.8.0.The older CMSIS library works fine with the other data types but i cant get the new (DSP 1.9.0) to work. I tried d...

MH081 by Associate
  • 1452 Views
  • 2 replies
  • 0 kudos