开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

R1CBU / R2RFE - TX issues when transmitting recorded messages


 

Hello everyone!

Recently I was playing with transmitting pre-recorded messages using Georgys/Oleg firmware, and I've noticed possible issue: as long as I'm not using ATU on specific band, I'm able to transmit message with no issues. BUT when I trigger ATU tuning procedure, then there's no power/modulation for transmitted message. Has anyone experienced same issue?

I remember, very similar problem had been present in past for FT8 App - It was pretty unusable after running ATU, but now it seems to be fixed.
?
I'd be happy to fix code on my own and publish PR with fix, but before I start digging, maybe somebody (Oleg? Georgy?) have some guidance where to look for problem - especially assuming it's somehow similar to the problem with FT8 app.
?
Vy 73 de Jarek SP9HGN


 

Regarding mentioned FT8 issue, it seemed to be fixed in 0.22.0:?
Changed:
* FT8 app now uses USB-D. The sound from the microphone is not mixed into the transmission, and the transmission does not break down after using the ATU.
?
?
And it looks like it was fixed by this commit:


At this moment I'm not 100% sure what is the connection between executing ATU and that issue when signal is played with USB-D not USB. I see that when in MSG mode I switch modulation to USB-D it's not fixing the issue anyhow (still no audio from recorded message). When being on GEN I switch my radio to USB-D and then I'm going to enter MSG dialog, then I only see message "Not used in".


 

Hi Jarec.
To fix this you can add next steps to section:
* switch BASE to USB-D (or LSB-D)
* (optional) change TX power to minimal
* Start TX
* wait some time (I guess it should be within 10...100ms)
* Stop TX
* Restore power
* Restore mode
All this thing should be performed without using configuration subjects (to prevent saving/updating UI/etc) - just with corresponding calls of the x6100 library.
--
Georgy // R2RFE


 

Thank's for tips, Georgy. I'm starting to play with it. Wait for PR :)


 

BTW. Georgy, is something wrong with my build environment, or your recent changes in main branch break build process? Now, I'm unable to build image from main branch.


 

I switched to gcc 12 (before was 10) within buildroot .
You might pull this changes and rebuild image (make clean && make) or switch to latest tagged commit to apply your changes.
If you will use latest commit - you will need to burn new image, copying only x6100_gui file to an old sdcard will not work.
Also I still not finished working on new release, I suggest use another SD card (to have a working version in case of new software failure).
--
Georgy // R2RFE


 

Acknowledged. So at this moment I'll play with v0.28.0.


 

Using 0.28 from https://github.com/fventuri/x6100-buildroot/releases/download/20250120/sdcard-20250120.zip
After ATU tuning, [Play] recorded messages in [MSG2:2] menu produces NO speaker output. [Send] recorded message produces nothing on X6100 screen, but outputs overloaded noise/broom to antenna. "Press and Hold" Lock button restores proper functionality.?


 

Georgy, I'm experimenting with this issue on my branch. I've reproduced the "flow" you suggested:
* switch BASE to USB-D (or LSB-D)
* (optional) change TX power to minimal
* Start TX
* wait some time (I guess it should be within 10...100ms)
* Stop TX
* Restore power
* Restore mode
but still no success with TXing voice messages.
?
Here are my early attempts:


Do you have any other suggestions? Btw. do you know what is the root cause of this issue?

73 de Jarek SP9HGN


 

I tested on my device.
After `x6100_control_atu_tune(false);` you need some timeout. 10ms is OK for me, please check for your x6100.
Timeout for transmit is 50ms for my radio.
Criterion of success: after ATU (red light) indicator should be greed, than red again for a short time. I guess, timeouts should be small, but enough for changing state of the base MCU.
I tested with playing a sound from PC to radio with usb cable (through x6100 usb soundcard) and a power meter before and after ATU. Without fix it shows 0, with fix - same as before ATU. I guess, that playing recorded sound during TX should also be fixed. Also - this should solve a problem with no voice prompts after ATU.

About root cause - something within base firmware.
--
Georgy // R2RFE


 

So probably I need to tweak this delays values, because the delay values you suggested seems to not be valid in my case.
?
And these are my recent changes:
?
BTW. I see lot of commits from you in the main branch... Good to know that new release is coming :)


 

On Mon, Feb 3, 2025 at 06:51 AM, stan kiwi wrote:

@stan in my case, with all the firmwares, long press of loc button results in the same - device shutdown.


 

Long press on lock resets BASE (and then restart GUI). Without external power BASE during resetting turns off the radio. The same as for updating BASE firmware using OEM application.
?
I reproduce your issue. In my case replacing `x6100_control_ptt_set` with `x6100_control_modem_set` helps. Could you check?
--
Georgy // R2RFE


 

Kind of magic... After replacing `radio_set_ptt` with `radio_set_modem` I've finally managed to have TX for voice messages after ATU. Thanks!
From engineering perspective this solution looks a bit like a "dirty hack", but as someone said - if something looks stupid, but it works, then it's not stupid :)


 

Anyway, I've opened a pull request with this fix:
?
Even if you won't decide to merge it, then maybe it will be useful for someone struggling with this issue.
?
And one thing unrelated directly to the main topic: when playing with my fresh build based on your recent main I've noticed that when I'm executing 'Send' for selected message, button with "Stop" is not visible on the bottom bar (in last tagged version 0.28.0 there was a button "Stop" or sth like that...):
?
?
But, when hitting this empty button - TX is stopped.