Commit graph

35 commits

Author SHA1 Message Date
Silvano Seva
6db558e89c core: dsp: refactor DC block filter implementation
New DC block filter implementation using fixed-point math and guaranteeing
zero DC component on the output signal.

Signed-off-by: Silvano Seva <silseva@fastwebnet.it>
2025-09-28 14:12:20 +02:00
Peter Buchegger
024a18588d scripts: removed bin2sgl binaries 2025-09-14 14:21:19 +02:00
Peter Buchegger
7f3991b8f1 scripts: add bin2sgl python script
Converted C program to python script, output binary is identical
2025-09-14 14:14:17 +02:00
Silvano Seva
12dc81aef2 test: platform: codec2_encode_test: reformat code to new coding style 2025-09-12 16:33:15 +02:00
Silvano Seva
b2e289e6fd test: platform: mic_test: reformat code to new coding style 2025-09-12 16:23:34 +02:00
Ryan Turner
74e89450b7 clang-format: add lint job and update run script
Update clang-format script to only run on files that are passing the
formatter, that way the clang-format script is useable by CI and
contributors.
2025-09-12 15:46:08 +02:00
Silvano Seva
03d1ae5546 Updated year in copyright headers 2025-04-04 21:15:39 +02:00
Alain Carlucci
dfb329e10f CS7000: added wrap script and build target 2025-03-26 19:58:14 +01:00
Silvano Seva
4a76d67184 Build target for Connect Systems CS7000 2025-03-16 10:13:00 +01:00
Jim Ancona
ec56cad014 meson.build: changes to support building on MacOS 2025-03-01 20:00:40 +01:00
Silvano Seva
b7ccbd5eb6 OpenOCD script for STM32F4 MCU 2024-10-12 14:52:43 +02:00
Silvano Seva
87314db133 Small program for codec2 3200 encoding and decoding 2024-03-02 10:07:12 +01:00
Niccolò Izzo
b4c8fca767
Implemented uf2 image wrapping for T-TWR Plus
T-TWR Plus target now produces images in UF2 format.
This format is compatible with bootloaders such as tinyuf2, and future
releases of the hardware will come pre-flashed with tinyuf2, thus
flashing them will not requires any other dependency than the uf2 file
itself.

TG-553
2023-10-18 11:27:43 +02:00
Ryan Turner
ec57e74bc6 feat(ui): add tooling to generate symbols, add GPS status icon and macro latch icon to the macro menu
Ref https://github.com/OpenRTX/OpenRTX/issues/161
2023-08-24 09:32:01 +02:00
Fred
28408fbdf8 Add Mod17 to nightly builds 2022-09-27 22:35:50 +02:00
Silvano Seva
8accc3b8b6 Replaced bin2sgl linux binary with a version statically linked with the libc, added missing wrap and flash commands for DM-1801 2022-06-17 12:44:38 +02:00
Silvano Seva
76be50db61 Improved debug log in M17 demodulator, changed trigger condition for log dump, re-enabled audio reproduction when logging. 2022-05-27 21:49:33 +02:00
Niccolò Izzo
115982d279 Add demod log script
Add script to receive the demodulated data from Module17/radio, to use
it you need to add in meson.build:12 the ENABLE_DEMOD_LOG define.
Build and flash into the platform, build and run scripts/get_demod_log,
turn on the radio, remember to turn of radio before you terminate
get_demod_log, print the output with
`scripts/plot_m17_demod_csv.py serial_demod_log.csv`.

TG-81
2022-05-27 21:49:32 +02:00
Niccolò Izzo
c987848382 Add syncword hot re-sync fix DC removal
DC removal filter had a bug that created weird positive spikes on
Module17, add a syncword hot re-sync to be able to correct small phase
errors that appear every five seconds more or less.

TG-81
2022-05-27 21:48:47 +02:00
Niccolò Izzo
5fe5b0e578 Refactor M17 logging
Refactored logging functions to enable in-system logging on Module17 and
MDx radios.

TG-81
2022-05-27 21:48:47 +02:00
Niccolò Izzo
c4483edff0 Improve quantization strategy
Now quantization is performed by averaging syncword samples and dividing
the resulting threshold by a constant.

TG-81
2022-05-27 21:48:47 +02:00
Niccolò Izzo
7d1b89550e Rewrite quantization algorithm
Quantization algorithm is now based on separate rolling averages for
positive and negative samples.
Merged csv outputs from syncword search and quantization on Linux.

TG-81
2022-05-27 21:48:47 +02:00
Niccolò Izzo
2d8c696a09 Complete M17 demodulator implementation
Make quantization work also on DC offset signal
Add samples plot code
Fix bug in buffer wrap around
Fix oob memory access in M17 modulator
Update tests with DC offset signal
Switch to 48KHz sample rate for Module17 and MD380
Add DC biasing script

TG-81
2022-05-27 21:48:46 +02:00
Niccolò Izzo
a091bca35f M17 Demodulator bugfixes
Fixed several bugs in the M17 Demodulator code.

TG-81
2022-05-27 21:48:46 +02:00
Niccolò Izzo
5bf4df75ba Fine tune demodulator to OpenRTX M17 baseband
Fine tuned M17 demodulator with code generated from OpenRTX itself.

TG-81
2022-05-27 21:48:46 +02:00
Niccolò Izzo
4b498689f5 Replace RRC filter taps, update M17 testsuite
RRC filter taps have been replaced with the ones generated by Wojciech,
a new baseband for the M17 demodulation testsuite has been generated,
using OpenRTX itself and some further minor changes.

TG-81
2022-05-27 21:48:46 +02:00
Niccolò Izzo
3163dd49d7 Add M17 demodulator code and tests
Added implementation of the M17 4FSK demodulator, including clock
recovery, phase detection, and quantization algorithms.
A testsuite is also included to do regression testing against a
reference baseband pre-generated and the corresponding reference
bitstream.

A 1% BER is still present due to a fault likely in the RRC filtering,
since the eye diagram of the filtered stream is bad.

TG-81
2022-05-27 21:48:46 +02:00
Niccolò Izzo
ce10edfb47 Fix GD77 build, add windows tools
GD77 build was broken because of missing binary tools, Windows had no
dedicated option for wrapping the GD77 firmware.

TG-303
2022-05-03 12:53:11 +02:00
Fred
ed44e1bb33 Add wrapper script for bin2Sgl to support aarch64 2022-02-18 17:05:28 +01:00
Fred
812fc1c22d Add hash and date to nighlies filenames 2022-02-18 16:45:00 +01:00
Alain Carlucci
21934a7f08 Add .clang-format and auto-indent script 2021-12-23 14:52:25 +01:00
Silvano Seva
18c0844842 Given execution permissions to nightly build script 2021-05-16 17:31:19 +02:00
Philipp Neumann
75cd02665a Nightly Build Script for all supported radio 2021-05-05 08:51:23 +02:00
Niccolò Izzo
f2f7f6dd51 Embedded OpenGD77 wrapping and flashing scripts 2021-03-24 12:09:49 +01:00
Silvano Seva
ab306eab66 Add loading scripts, update README.md, requirements.txt and .gitignore 2020-11-03 15:14:36 +01:00