STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32H7 and SDMMC/FatFs

Hello Everyone,I have an STM32H7 interfacing with an SD card Using FatFs. I am using the cube ide, latest drivers etc. (embedded packages version 1.9.0) (FatFs Middlewhere version: R0.12c)I am facing an issue where sometimes (50% of the time?) The Ca...

TCash.1 by Associate III
  • 1211 Views
  • 4 replies
  • 0 kudos

Problem with our proprietary bootloader. Interface interrupts may come too quickly while flash pages are being deleted and written.

Hi everyone, I have a problem with our proprietary bootloader on STM32L151, STM32L451 and STM32F303 micros.I transfer the content of a flash page via any interrupt-controlled interface (CAN, UART, USB etc.). If all the data for a flash page is availa...

Carsten1 by Associate II
  • 1000 Views
  • 7 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
  • 684 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
  • 1304 Views
  • 6 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
  • 459 Views
  • 0 replies
  • 0 kudos