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! LWIP Raw API udp_send() Cube MX HAL

Hi,LWIP: what is the difference between udp_send() and udp_sendto()?What are the use cases for each? The LWIP_RAW_CLIENT ECHO uses udp_send() but also uses udp_connect. Whereas udp_sendto() does not need to connect?Does anyone have example? Thanks

###### by Senior II
  • 2863 Views
  • 5 replies
  • 1 kudos

stm32h747i-disco HAL_UART_Init(&huart8) problem

 when i run if "(HAL_UART_Init(&huart8) != HAL_OK)" get blocked this code which part of code could wrong (RCC? SystemClock_Config?) ?(In stmcube ide no hay error en principio).static void MX_USART8_UART_Init(void){/* USER CODE BEGIN USART1_Init 0 *//...

wjian.2 by Associate III
  • 1116 Views
  • 4 replies
  • 0 kudos

Resolved! LWIP ISSUE stm32f769

hello, i have a problem. When I make my LWIP configurations and try to ping my development board over the computer, I see a different address, not the IP address I set for my card. What is the reason of this? Do you have an idea?When I ping the IP ad...

amorftor_0-1690269130893.png
amorftor by Associate II
  • 1087 Views
  • 1 replies
  • 0 kudos

stm32l4xx_hal_pcd incorrect setup request handling

Hi,It tooke me several days to found that there is wrong handling of setup packet with data in HAL driver.On windows I'm sending setup packet like this: uint32_t data = 0xAABBCCDD; libusb_control_transfer(mDeviceHandle, LIBUSB_ENDPOINT_OUT | LIBUSB_...

LeoG1 by Associate II
  • 1658 Views
  • 6 replies
  • 2 kudos

STM32-Creating a File System on SD card using FatFs Library, SDMMC host Interface and NUCLEO-L476RG.

Hello all,   I am new to embedded programming and I am practicing embedded program and trying out new things. Recently I was trying to create a new text file on my SD card by referring this video posted by ST :- https://www.youtube.com/watch?v=I9KDN1...

Sahilsb7 by Associate II
  • 1480 Views
  • 0 replies
  • 0 kudos

RTC smooth calibration on STMF446

Hi.I am trying to implement RTC smooth calibration on STM32F446 MCU based board.  Did look at the example "Real Time Clock (RTC) software expansion for STM32Cube (AN4759)" where smooth calibration is implemented using two timers. The first one counts...

STM32F765 Dual Boot issue. FW reboots when I enable dual boot, but issue goes away with dual boot disabled.

Been trying to debug this issue and so far I haven't come up with an idea on why the system reboots due to a SW reset. (It acts like I have a watchdog enabled since it will reboot on any HAL_Delay loop) (Reset reason is 0x1400 0000)Been wondering if ...

RMedi.4 by Associate
  • 727 Views
  • 1 replies
  • 0 kudos

I2C Channel Noise

Hello, I'm trying to use 12 vl53l1x(ToF) sensors with the stmf407vgt6 custom card. In addition, this board has a 5A 2 channel motor driver. I think the i2c data is getting noise during the motor start cycle. I tried to reduce the noise with filters (...

hsynklc by Associate II
  • 1366 Views
  • 3 replies
  • 0 kudos