Hii,
I’m working with two SC-SDMAH EVK modules connected over SPI to two STM32MP257F-DK boards. One board acts as a sender and the other as a receiver. The SPI clock is configured to 50 MHz, and the wireless link is established successfully. Video data is being transmitted, but I am facing major performance issues.
Even at <100 m distance, I observe:
- Large latency during video streaming
At 100 kbps, the stream works but has noticeable lag.
At 1 Mbps, the streaming becomes very slow, freezes often, and shows heavy delay.
- Throughput is far below expectation
Even though the PHY rate selection is changed using morsectrl and morse_cli, the real throughput does not improve.
- When the boards are on the same floor it atleast sends feed through, but when on other floor the connection is not even established. Also, even within a short range (30–50 m), the streaming is inconsistent.
I am using the below commands right now:
ifconfig wlan0 down
ifconfig wlan1 up
ifconfig wlan1 169.254.10.11 netmask 255.255.255.0
iw dev wlan1 set power_save off
morsectrl txrate enable -m 2 -s 1
STA side
wpa_supplicant_s1g -i wlan1 -D nl80211 -c /etc/wpa_supplicant.conf
AP side
./hostapd_s1g -B hostapd.conf
IP is static.
SPI clock: 50 MHz
Using: morse_cli, morsectrl for control.
Using ST STM32MP257F-DK boards.
My questions are:
-
- How I can improve real video throughput over HaLow when using the SC-SDMAH module in SPI mode.
-
- Are there recommended SPI buffer sizes, DMA settings, or higher SPI clock options that help with high-rate streaming, and is SPI itself a limitation compared to SDIO or UART?
-
- I also want suggestions for the best PHY/MCS configuration for stable high-rate streaming within 100 meters, including whether a different MCS or a specific morsectrl txrate setup would help.
-
- Additionally, I need guidance on reducing latency—such as tuning fragmentation, RTS/CTS, aggregation, or adjusting hostapd_s1g / wpa_supplicant_s1g parameters.
-
- I would like to understand how to increase range without losing throughput, including whether antenna adjustments, power amplifier configuration, or morsectrl settings can make a difference.
