Skip to main content

FT8 (Wsjt-x 2.0) protocol decoding in Cortex-M for experiment

FT8 (Wsjt-x 2.0) protocol decoding in Cortex-M for experiment

I implemented FT8 signal decoding on the STM32F746G-Disc board for Expermental.
I want to test whether Cortex-M based FT8 communication is possible. I used Wsjt-x 2.0 and some source code to enable FT8 decoding on the Cortex-M7 base.


I received the FT8 signal directly to the microphones (mems) on the STM32F746G-Disc board.

1.Implementation and experiment preparation
I have used web sdr for the experiment and can do real time testing.

The decoding comparison used Wsjt-x 2.05 (for FT4)

The red square in the picture below is the microphone for receiving the FT8 signal.

2.Experiment

First Decoding :
Compared to Wsjt-x 2.0, decoding is delayed about 2 seconds.

Second Decoding : Wsjt-x has already been decoded.

Cortex-M was decoded about 2 seconds later.


Test Video

3.conclusion
Several improvements have been made to the Cortex-M, but it is still difficult to use.
If 2 seconds are delayed, the next signal transmission has already begun.

The STM32F746 is 216Mhz and I have been successful in overclocking near 300Mhz a few years ago. (300Mhz is not accurate)

But I will not solve this problem with Overclock. I will keep the CPU speed below 216Mhz for stability.

The part that needs the most time to decode the FT8 protocol is the FFT processing part.


FT8 : Tone spacing = 6.25Hz * 8FSK = 50Hz

FFT Size : 3840 = 1920 * 2
             1920 = 12000(bitrate) / 6.25Hz (Tone spacing)
In this way, the FFT Bin unit will be 6.25 Hz.

I modified the Bitrate to slightly reduce the FFT Size while maintaining 6.25Hz. I also modified the Kiss-FFT library to work with Cortex-M.

I am going to make a few more improvements to fit Cortex-M. As a result of the improvement, if it is available in Cortex-M, I will make it public.

Thank you for reading

Comments

  1. Hello, I am charles hill, w5baa. After having tried decoding FT8 on an STM32F746 board myself I am quite interested in your experiment.

    I have authored several SDR projects using embedded processors including the SDR2GO and STM32_SDR projects. I also have an SDR radio running on the STM32f746.

    Will it be possible to get a copy of your firmware if I promise not to bug you with questions and suggestions?

    Regards,

    Charley

    ReplyDelete
  2. Hi Have been looking for some one on the web with the imagination and skill to implement FT8 as a stand alone project as I am not capable of doing it myself. Many thanks Pete

    ReplyDelete

Post a Comment

Popular posts from this blog

UV-K5 CEC HF Firmware v0.5 — Full-Band HF Receive

Historical note: this post documents an early 2024 build and is kept for reference. For current firmware, use C-Board Firmware v0.32 , and see CEC UV-K5 Firmware Source Is Now Open for the source code. ▶ Watch the HF 0.5 fullband walkthrough on YouTube → Subscribe to the KD8CEC YouTube channel for more UV-K5 HF videos. Related: UV-K5 · si4732 · HF full band  Introduction to UV-K5 HF 0.5 (Fullband receive version) This is an introduction to UV-K5 HF full-band reception firmware 0.4HF using SI4732-A10. This version is released separately from the existing UV-K5 CEC firmware version. because space is needed to store a large PATCH file to use SI4732-A10's SSB. This article only describes the features newly added in Version 0.5. Please check the links below for full features. How to modify your hardware http://www.hamskey.com/2024/02/uv-k5s-hf-full-band-reception-lsb-usb.html Version 0.3HF (Most feature descriptions are provided) http://www.hamskey....

C-Board (DSP Board) for UV-K5 — Hardware Overview (Updated June 2024)

  C-BOARD for UV-K5 I created an externally mountable DSP-Board to process digital signals from UV-K5. DSP-Board was named C-Board. C-Board is divided into versions ranging from the simplest version to one that can be equipped with GPS.

Release CEC Firmware v1.200 for uBITX All version(include V2, V3, V4, V5)

▶ Watch the full v1.200 walkthrough on YouTube → More firmware and uBITX videos on the KD8CEC YouTube channel . Related: uBITX · Firmware Release CEC Firmware v1.200 for uBITX All Version (include v2, v3, v4, v5) I did the firmware work for v5 when uBITX V5 was released, but I release it now. I received the feedback from a thankful beta tester and tested it myself by converting my uBITX v3 to v5 but I was not sure. I ordered the uBITX V5 and delivered the correct uBITX V5, so I made a little more fine-tuning. If you use V2, V3, V4, you do not need to update this firmware.