Silvano Seva
e2ab831c27
Added 1750Hz squelch tone on MD-3x0 radios
2023-09-22 13:58:59 +02:00
marco
06515e324a
Enabled 1750Hz squelch tone on GDx
2023-09-22 13:58:59 +02:00
marco
77e0ad27a0
Added support for 1750Hz squelch tone, implemented squelch tone in UV-3x0 radio driver.
...
When pressing the Hash key and the PTT key in FM mode
a 1750 Hz tone is transmitted
2023-09-22 13:58:59 +02:00
Silvano Seva
6a17bb8483
ttwrplus: implemented radio band detection.
2023-09-20 21:08:35 +02:00
Niccolò Izzo
2dabacebd8
ttwrplus: Implement power control on SA8x8
...
Implemented power control in T-TWR Plus by using the embedded switch
(RADIO_PWR) that controls the H/L pin of the SA868.
TG-553
2023-09-20 21:08:35 +02:00
Niccolò Izzo
c276fc5a51
ttwrplus: moved all the SA8x8 code in a dedicated translation unit.
2023-09-20 21:08:35 +02:00
Niccolò Izzo
eeb05bcc0f
ttwrplus: fix unstable baseband startup
...
A proper baseband reset is now issued at each startup. Now OpenRTX check
for SA868 responsiveness before proceeding with radio initialization,
eliminating unstable behaviour at boot.
TG-553
2023-09-20 21:08:35 +02:00
Niccolò Izzo
dc84908fbc
ttwrplus: enable TURBO mode on SA868S
...
Enabled AT+TURBO command on SA868 that switches the baud rate of the
serial communication from 9600 to 115200 to get a more responsive
baseband. Bumped up the required baseband firmware version to
v1.1.0.r20.
TG-553
2023-09-20 21:08:35 +02:00
Niccolò Izzo
4c035bbf16
ttwrplus: enable Tx capability
...
Enabled Tx capability on T-TWR Plus.
Since Tx requires the SA8x8 to disable the Rx stage, we check that at
least firmware v.1.1.0.r14 is present on the baseband, otherwise we
don't initialize the radio.
TG-553
2023-09-20 21:08:35 +02:00
Niccolò Izzo
c60f580396
ttwrplus: add support for SA868
...
Add support for initializing SA868 and querying its firmware version,
created a new instance of the AT1846S class that leverages the SA8x8
serial connection as an i2c implementation.
Rx works! In the sense that the RSSI bar behaves as expected, still no
audio.
This commit was contributed by edgetriggered.
TG-553
2023-09-20 21:08:35 +02:00
Silvano Seva
5ea94ee1af
Improved management of FM audio volume on MD-UV3x0.
...
Fix #160 .
2023-09-08 16:14:11 +02:00
Silvano Seva
4920921862
MD-UV3x0: fixed bug causing no FM rx after tx end. Fix #171
...
Thanks to turnrye and tarxvf for debugging and testing this.
2023-08-23 09:54:36 +02:00
Silvano Seva
4cd1fdfcf3
Moved gpio.h to peripherals
2023-07-21 19:27:14 +02:00
Silvano Seva
a5b925e76f
Small code cleanup in MD-UV3x0 HR_C6000 driver, temporary workaround to fix #129
2023-07-14 18:12:31 +02:00
Silvano Seva
313e9615a6
Removed platform_getCalibrationData() function because of limited usefulness.
...
Given that each radio driver loads its calibration data when initializing
and that the radio driver is strongly platform-specific, there is no strong
need for an intermediate redirection layer through the platform API.
2023-07-14 12:26:39 +02:00
Silvano Seva
e93666a515
Implemented mic gain setting based on UI for Module 17
2023-05-29 22:12:40 +02:00
Silvano Seva
2b7fc6e150
Implemented control of Module 17 MCP4551 digital wipers
2023-05-29 22:12:40 +02:00
Silvano Seva
a89a7523cb
Updated year in copyright headers
2023-02-08 16:33:02 +01:00
Silvano Seva
3c65f8834a
Added to radio driver interface two functions to enable and disable AF output towards the speaker
2022-10-28 09:47:47 +02:00
Silvano Seva
3ab36f3738
Fixed bug in MD3x0 radio driver causing underdeviation of M17 signal
2022-08-28 10:13:22 +02:00
Silvano Seva
fdb2143157
Fixed bug affecting CTCSS RX squelch on MD-UV380. Solves #42
2022-08-02 12:54:51 +02:00
Silvano Seva
1fa13d63d8
Modified radio drivers so that bandwidth parameter in radio configuration is ignored for operating modes different from analog FM. Fixes #100
2022-08-01 18:29:20 +02:00
Jacob McSwain
44dc9239be
baseband: C5000: Set the mic input during early init
...
Otherwise, the "frequency wiggle" is present
2022-07-16 08:18:06 +02:00
Silvano Seva
6b2affe2cd
Fixed setting of RSSI level value from linux emulator shell
2022-06-09 23:11:01 +02:00
Silvano Seva
316e588bc3
Updated copyright headers
2022-06-02 09:56:05 +02:00
Silvano Seva
cbd3922325
Cleanup and reorganisation of state header file, new OpenRTX CPS data structure
2022-06-01 15:04:17 +02:00
Silvano Seva
4367db53d0
Added configuration of AT1846S registers for digital modes in MD-UV3x0 driver. In M17 mode handler forced signal phase inversion at demodulator side also for MD-UV3x0 devices
2022-05-31 18:19:57 +02:00
Silvano Seva
2dc0106380
On MD-UV3x0 force silencing of HR_C6000 audio output when in M17 RX to avoid spillover of baseband signal towards the speaker.
2022-05-31 14:22:31 +02:00
Mathis Schmieder
54112d4d7b
Increased input gain on MD-UV3x0 type of radios
2022-05-27 21:48:47 +02:00
Silvano Seva
6b31a73f42
Corrected RRC gain and changed HR_C5000 modulation factor and input gain to have the correct 2.4kHz deviation when transmitting M17 with an MD3x0 radio
2022-05-27 21:48:47 +02:00
Silvano Seva
fda0fed5e7
Moved constant specifying sample rate for M17 baseband decoding from hwconfig.h files to M17Demodulator class
2022-05-27 21:48:47 +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
6588a6718e
Add M17 namespace in M17 related source files
...
Now M17 source files reside in the M17 namespace, the OPMODE_ prefix
was added to all opmode enums to avoid a name clash.
2022-05-27 21:48:46 +02:00
Niccolò Izzo
2fdbf0f236
Initial support for I2C soft pots on Module17
...
Initial support for I2C soft pots on Module17, ADC1 driver for input voltage
reading. Cherry-picked from Mathis DB9MAT repo.
TG-398
2021-12-23 14:52:25 +01:00
Silvano Seva
6aece95e98
Fixed license header
2021-11-27 08:23:59 +01:00
Mathis Schmieder
55c0b0d868
Module17 platform changes for revision 0.1c
2021-11-27 08:09:39 +01:00
Mathis Schmieder
4811838cb8
Module17: implemented keyboard driver, updated display, output audio stream and platform drivers
2021-11-24 19:53:48 +01:00
Silvano Seva
a0d9161e1d
Very preliminary support for Module17, providing only the files and configurations essential for a minimal bootstrap of the OpenRTX firmware
2021-11-24 19:53:48 +01:00
Niccolò Izzo
156f31cde4
Fix typo in license header
2021-10-12 12:36:52 +02:00
Silvano Seva
b58fbd6760
Fixed syntax error in MD3x0 and UV3x0 radio drivers
2021-10-08 19:34:08 +02:00
Niccolò Izzo
65a632054a
Disable CTCSS tones in M17 mode
...
Removed CTCSS modulation for M17 mode, removed FM analog specific
settings in macro menu such as tone selection, tone enable and tx
bandwidth.
2021-10-08 16:02:03 +02:00
Silvano Seva
5113a39f2a
Enabled M17 support also in MD-UV3x0 radio driver
2021-09-21 12:02:32 +02:00
Silvano Seva
431ba17b26
Modified HR_Cx000::setInputGain() function to accept a value expressed in dB instead of a raw binary value to be written directly inside the chip's register
2021-09-21 12:01:31 +02:00
Silvano Seva
4d3eacc144
Switched 'v_bat' and 'charge' fields of state struct from float to, respectively, uint16_t and uint8_t and updated UI functions accordingly. Rationale for this change is providing better support for future platforms without hardware floating point unit.
2021-08-14 12:56:45 +02:00
Silvano Seva
379b487f64
Added macro allowing to enable the SWD debugging interface on MDx devices (TG-272 #closed)
2021-08-12 19:46:41 +02:00
Silvano Seva
fdd50c114c
Fixed wrong mic gain value in MD3x0 radio driver
2021-06-09 11:48:25 +02:00
Silvano Seva
35de41c505
Reduced printf verbosity of linux radio driver
2021-06-03 14:59:59 +02:00
Silvano Seva
66552be403
Added function to radio API allowing to fine tune the radio's VCXO polarisation voltage. Currently, this functionality is effective only on MD-3x0 devices. (TG-195 #ready-for-test)
2021-06-03 14:50:47 +02:00
Silvano Seva
b29b24fdc0
Implemented RX tone squelch on MD-UV3x0 and GDx (TG-43)
2021-06-02 12:44:46 +02:00
Silvano Seva
fdba408831
Improved registers documentation in HR_C5000 and HR_C6000 drivers
2021-05-29 08:20:12 +02:00