Niccolò Izzo
2d59658d60
Switch M17 Rx sample rate to 5SPS
...
Due to the RRC computation sometimes violating the timing constraints,
we switched the M17 demodulator to 5 samples per symbol (24KHz), thus
dividing the processing time by four ar the number of samples halves as
well as the number of taps of the RRC.
Minor adaptation on the code followed.
TG-81
2022-05-27 21:48:47 +02:00
Niccolò Izzo
3372da2b64
Set Rx test to 48k
2022-05-27 21:48:47 +02:00
Niccolò Izzo
77aead675a
Improve runtime performance of M17 Demodulator
...
Tweaked the exponential moving average alpha factors to improve the
reactivity of the M17 demodulator.
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
ae26cca46f
Remove SPS
...
Now M17_SAPLES_PER_SYMBOL is computed dinamically from sample rate.
TG-81
2022-05-27 21:48:46 +02:00
Silvano Seva
82dd0a63f1
Clarification of naming: renamed DATA_SYNC_WORD to STREAM_SYNC_WORD and Audio_puncture to DATA_PUNCTURE
2022-05-27 21:48:46 +02:00
Niccolò Izzo
d22948a096
Fix naming error
...
Replaced FM with OPMODE_FM and DMR with OPMODE_DMR.
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
Silvano Seva
396f66a1f3
Implementation of M17 Viterbi decoder and associated unit test
2022-05-27 21:48:46 +02:00
Niccolò Izzo
df5a35e843
Adapt M17 Golay Test to Unit Test Infrastructure
2022-05-27 21:48:46 +02:00
Silvano Seva
8a3643ad3a
Implementation of Golay(24,12) decoder, reimplemented Golay(24,12) encoder using generator matrix, unit test for Golay(24,12) encoding and decoding routines
2022-05-27 21:48:46 +02:00
Silvano Seva
ab3d148449
Implemented activation of external flash backup and restore via menu entries
2022-03-22 15:10:52 +01:00
Silvano Seva
7e3131d9d1
Implemented xmodem data sending
2022-03-12 23:32:31 +01:00
Silvano Seva
e56cf52f28
Partial implementation of xmodem protocol: function for transmission of xmodem packets and small testsuite for dumping the content of external flash memory via xmodem
2022-03-11 19:28:45 +01:00
Alessio Caiazza
269420c2be
Load standby timer from settings
2022-01-03 14:51:22 +01:00
Alessio Caiazza
a5ccda9923
Fix broken display SDL test
...
display_setBacklightLevel is undefined and not part of the display.h
interface.
2021-12-23 14:52:25 +01:00
Niccolò Izzo
5040d6e900
Add unit test example
2021-11-02 19:42:16 +01:00
Silvano Seva
8bf13db512
Improved codec2 encode test
2021-09-03 15:46:13 +02:00
Silvano Seva
fa64b3cacb
Improved codec2 encoding test
2021-09-03 15:46:13 +02:00
Silvano Seva
a52cd4c4fe
Testsuite for Codec2 voice encoding
2021-09-03 15:46:13 +02:00
Silvano Seva
5abb5263db
Re-implemented microphone testsuite using audio input stream
2021-09-01 10:50:06 +02:00
Silvano Seva
3d9cefdd03
Fixed audio playback test: added a missing conversion from 12 bit to 8 bit
2021-08-10 09:32:43 +02:00
Silvano Seva
afc0da414a
Fixed microphone parrot test, audio volume is still too low
2021-04-29 11:16:24 +02:00
Federico Amedeo Izzo
8cabc50f02
Add Parrot test
2021-04-24 10:13:33 +02:00
Silvano Seva
c887a61599
Added option to mic_test to allow sampling of the audio coming from RTX stage
2021-04-14 23:47:13 +02:00
Federico Amedeo Izzo
c3a8251ca9
Integrated getLineY() functionality in gfx_printLine()
2021-04-10 11:10:52 +02:00
Federico Amedeo Izzo
765fb3f4c9
Add getLineY Layout helper function
2021-04-10 11:10:52 +02:00
Federico Amedeo Izzo
341ab84ce9
Converted `gfx_print()` from char * pointer to format string
2021-04-10 11:10:52 +02:00
Silvano Seva
54a790fd80
Brought back left alignment of ADC samples in mic_test
2021-03-31 10:36:19 +02:00
Silvano Seva
247d6e5400
Removed left aligment of ADC samples in mic_test
2021-03-31 10:23:33 +02:00
Silvano Seva
586b60b358
Added code to enable pull-up resistor on mic analog input pin in mic_test.c
2021-03-29 21:41:20 +02:00
Silvano Seva
f7653bfe04
Fixed ADC reference clock frequency in mic_test
2021-03-26 22:19:28 +01:00
Silvano Seva
d78fce07f5
Test for microphone sampling using MCU
2021-03-26 14:46:52 +01:00
Federico Amedeo Izzo
d964022c01
Add channel and volume knob tests
2021-03-21 11:46:47 +01:00
Silvano Seva
7992b4abca
Moving to miosix kernel: adapted MDx drivers to new configuration
2021-03-13 09:16:06 +01:00
Niccolò Izzo
8f2dd371d1
Modified write flash test
2021-02-26 10:45:49 +01:00
Federico Amedeo Izzo
bfb1ad505f
Improved SPI Flash overwrite test
2021-02-21 14:13:32 +01:00
Federico Amedeo Izzo
29b56f8dbd
Improved overwrite test
2021-02-21 08:44:20 +01:00
Federico Amedeo Izzo
bf8a5cf87d
Add SPI Flash write data implementation and test
2021-02-21 08:30:51 +01:00
Silvano Seva
06d75ad606
Implemented sector erase and page write into W25Qx driver
2021-02-17 11:39:52 +01:00
Silvano Seva
57532694d0
Reorganised and updated the testsuites
2021-02-13 11:24:05 +01:00
Silvano Seva
2fbf5fcdeb
Extending MDx GPS driver also to MD-UV3x0 and MD-9600 targets.
2021-02-10 21:36:54 +01:00
Niccolò Izzo
0ce92f991c
Add GPS NMEA parsing task
...
Add dedicated task to parse NMEA sentences received by the GPS module.
The parsed data is moved to the radio state, to be read by the user
interface.
2021-02-08 17:25:11 +01:00
Niccolò Izzo
2e0ac1b1f6
Update GPS test
2021-02-06 15:37:32 +01:00
Silvano Seva
9b9c521459
GPS driver for MD-3x0 targets
2021-02-04 09:57:43 +01:00
Niccolò Izzo
7192659899
Add minmea integration for GPS data decoding
...
Added a platform test to decode NMEA sentences received from GPS modules
in the MD3x0 GPS radios.
2021-02-03 22:51:44 +01:00
Silvano Seva
a81d02b470
Testsuite printing the hardware information parameters
2021-02-01 21:28:53 +01:00
Silvano Seva
0928ec4306
Testsuite for render time measurement on MDx devices
2021-02-01 14:38:43 +01:00