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

f_lseek returning FR_INT_ERROR in stm FATFS

Hello, I am trying to interface the sdcard FAT32 based on SPI with STM32F429ZI MCU. I am using the FATFS library (R0.12c) provided in the stmcube ide. I am able to successfully initialize the sdcard using f_mount() function. I want to implement the b...

shefu by Associate II
  • 5893 Views
  • 7 replies
  • 0 kudos

Resolved! sprintf causes runtime error

Hi, I am using sprintf to format data before sending it over a UART. STM Cube IDE 1.16.1STM32F103 The code works in one project but not in another. I have ticked "Use float with printf in MCU/MPU Settings"int size = sprintf(&Buffer,"{\"src_addr\":\"%...

Jorgie by Associate III
  • 1174 Views
  • 3 replies
  • 1 kudos

Resolved! Set ethernet MAC Config in STM32H573 DK

HiIm trying to set the speed for ethernet to 10Mbps, usingHAL_ETH_SetMACConfig()static void MX_ETH_Init(void) { /* USER CODE BEGIN ETH_Init 0 */ /* USER CODE END ETH_Init 0 */ static uint8_t MACAddr[6]; /* USER CODE BEGIN ETH_Init 1 */ ...

jishnu1234_0-1728395467984.png

STM32H573ZI RMII_PTP_Synchro

  I had some issues configuring H573 with CubeMX.When I configure TIM2 or TIM3 according to the instructions of RMII_PTP_Synchro in CubeMX I cannot enable the RMII PTP functionality.And when looking at RM0481 it seems that the description of the rela...

jzx by Associate
  • 1163 Views
  • 3 replies
  • 0 kudos

Enabling LwIP in Nucleo-H563ZI

Hello,I'm using Nucleo-H563ZI Board and trying to use FreeRTOS with LWIP. I am able to find the FreeRTOS software extension for the STM32H5 series (X-CUBE-FREERTOS) and enabled in the .ioc file. Attached the .ioc file for reference.But I'm unable to ...

Resolved! STM32H7 RMII and lwIP memory allocation problem

Hello members of the ST community,I want to access LAN8742 PHY with RMII via ethernet protocol with STM32H743VIT6 microcontroller. I want to run the system using the default address settings generated by CubeMX. I created 10kB space for MEM_SIZE. I w...

mmercan by Associate II
  • 1098 Views
  • 2 replies
  • 0 kudos