STM32U575 + ST67W611M1 hangs in W61_Net_SendData() after continuous data transmission
Hi everyone,
I am encountering an issue where my MCU freezes during continuous data transmission, and I am looking for some advice or debugging directions.
Hardware & Setup:
-
MCU: STM32U575
-
Network Module: ST67W611M1
-
Protocol: TCP
-
Driver/Firmware Version: V1.3.0
Issue Description: My application is designed to send a 1KB data packet to a remote server every 3 seconds. The transmission works perfectly fine at the beginning. However, after successfully transmitting several hundred KBs in total, the MCU gets stuck.
Through debugging, I found that the firmware completely hangs inside the W61_Net_SendData() API.
Observations:
-
The remote server is confirmed to be alive and functioning normally when the hang occurs.
-
The MCU does not hard fault; it simply blocks indefinitely inside
W61_Net_SendData().
My Questions:
-
Are there any known issues regarding buffer overflows or memory leaks in this specific API when sending large amounts of data over time?
-
Is there a way to configure a non-blocking mode or set a timeout for
W61_Net_SendData()to prevent the MCU from freezing? -
What are the recommended troubleshooting steps to find out exactly what this API is waiting for (e.g., waiting for an ACK semaphore, TX buffer full, etc.)?
Any suggestions or guidance would be greatly appreciated. Thank you in advance!
