Project

General

Profile

Actions

Bug #10968

open

Quansheng UV-K* Tuning step values.

Added by Tony Ling 5 months ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Category:
-
Target version:
-
Start date:
11/27/2023
Due date:
% Done:

0%

Estimated time:
Chirp Version:
next
Model affected:
Quansheng UV-K6 and UV-K5
Platform:
Linux
I read the instructions above:
Yes

Description

The minimum tuning step currently allowed on this range of radios is 2.5kHz, although my tests have determined that they can internally resolve to all 5 decimal places (0.01 kHz).
This issue can negatively impact on the frequency resolution when dealing with offsets as encountered for instance on 27.78125 MHz.
With a bit of jiggery pokery, I was able to read a radio programmed with higher granularity in CHIRP, and successfully write back to the radio, although any attempt to edit fails CHIRPs step validity error checking. I attach a .img file which was the payload used.


Files

Actions #1

Updated by Dan Smith 5 months ago

27.78125MHz is a 6.25kHz step frequency, so nothing special (28781250 / 6250 = 4445). I'm able to type it into a K5 via CHIRP just fine:

Can you explain more about the actual behavior you're seeing?

Actions #2

Updated by Jim Robinson 5 months ago

Try adding frequencies (or single) from e.g. https://www.red-radio.co.uk/CB-Frequencies

27.60125
27.61125
27.62125
...

Get response:

Invalid Entry
Invalid edit: Unable to find a supported tuning step for 27.601250

Changing radio step to 1.25kHz allows me to step through to next frequency in list but step is not available in CHIRP Tuning Step list.

Actions #3

Updated by Jim Robinson 5 months ago

Digging a little further was able to import some of the frequencies.

Please can you have a look at the following details in order to permit import of all entries?

CSV source:

Name Frequency
CB 1 (UK) 27.60125
CB 2 (UK) 27.61125
CB 3 (UK) 27.62125
CB 4 (UK) 27.63125
CB 5 (UK) 27.64125
CB 6 (UK) 27.65125
CB 7 (UK) 27.66125
CB 8 (UK) 27.67125
CB 9 (UK) 27.68125
CB 10 (UK) 27.69125
CB 11 (UK) 27.70125
CB 12 (UK) 27.71125
CB 13 (UK) 27.72125
CB 14 (UK) 27.73125
CB 15 (UK) 27.74125
CB 16 (UK) 27.75125
CB 17 (UK) 27.76125
CB 18 (UK) 27.77125
CB 19 (UK) 27.78125
CB 20 (UK) 27.79125
CB 21 (UK) 27.80125
CB 22 (UK) 27.81125
CB 23 (UK) 27.82125
CB 24 (UK) 27.83125
CB 25 (UK) 27.84125
CB 26 (UK) 27.85125
CB 27 (UK) 27.86125
CB 28 (UK) 27.87125
CB 29 (UK) 27.88125
CB 30 (UK) 27.89125
CB 31 (UK) 27.90125
CB 32 (UK) 27.91125
CB 33 (UK) 27.92125
CB 34 (UK) 27.93125
CB 35 (UK) 27.94125
CB 36 (UK) 27.95125
CB 37 (UK) 27.96125
CB 38 (UK) 27.97125
CB 39 (UK) 27.98125
CB 40 (UK) 27.99125

Copy/Paste to Quansheng_UV-K5.img file - result:

Some memories are incompatible with this radio:

[150]: Unable to find a supported tuning step for 27.601250
[151]: Unable to find a supported tuning step for 27.611250
[152]: Unable to find a supported tuning step for 27.621250
[154]: Unable to find a supported tuning step for 27.641250
[155]: Unable to find a supported tuning step for 27.651250
[156]: Unable to find a supported tuning step for 27.661250
[157]: Unable to find a supported tuning step for 27.671250
[159]: Unable to find a supported tuning step for 27.691250
[160]: Unable to find a supported tuning step for 27.701250
[161]: Unable to find a supported tuning step for 27.711250
[162]: Unable to find a supported tuning step for 27.721250
[164]: Unable to find a supported tuning step for 27.741250
[165]: Unable to find a supported tuning step for 27.751250
[166]: Unable to find a supported tuning step for 27.761250
[167]: Unable to find a supported tuning step for 27.771250
[169]: Unable to find a supported tuning step for 27.791250
[170]: Unable to find a supported tuning step for 27.801250
[171]: Unable to find a supported tuning step for 27.811250
[172]: Unable to find a supported tuning step for 27.821250
...and 13 more

Allowed entries (imported):

CB 4 (UK) 27.63125
CB 9 (UK) 27.68125
CB 14 (UK) 27.73125
CB 19 (UK) 27.78125
CB 24 (UK) 27.83125
CB 29 (UK) 27.88125
CB 34 (UK) 27.93125
CB 39 (UK) 27.98125

Actions #4

Updated by Dan Smith 5 months ago

  • Assignee set to Jacek Lipkowski SQ5BPF

27.601250 is a multiple of just 250Hz, which makes it very much more like an HF type radio than a channelized VHF+ one. I'm not sure if the UV-K5 can really resolve that fine or just acts like it can. A lot of radios don't even store enough resolution to support this (the k5 technically does, down to 10Hz, but...). The specs on the radio (I know, I know) have it start at 50MHz so resolving <1kHz steps at 27MHz is asking a lot. Making the chirp driver not align to reasonable steps for the bands the radio is actually supposed to support is also maybe not the best plan. It's possible of course, but you could argue it's not ideal.

Either way, I didn't write this driver, so we should probably look to Jacek for a step forward (if any).

Actions #5

Updated by Jacek Lipkowski SQ5BPF 5 months ago

But this is for a radio with modified firmware.

A stock radio will only support the official tuning steps.

The chirp driver does not currently support modified firmware, partly because there is so many of them, and they are a moving target.
Maybe in a year or so one most popular version will emerge (like Egzumer firmware for example), and then i can add support for this.
Before that it's not a good idea. I've added some support, and people started complaining that it doesn't work with their firmware (and at that time there were maybe hacked 3-4 versions, now everyone makes their own).

VY 73

Jacek / SQ5BPF

Actions #6

Updated by Jim Robinson 5 months ago

Using a step frequency of 6250 Hz only permits channels {4,9,14,19,24,29,34,39} to be imported due to integer Frequency/Step.

Channel Frequency (MHz) Frequency (Hz) Step (Hz) Frequency/Step Step Delta
1 27.60125 27601250 6250 4416.2 0
2 27.61125 27611250 6250 4417.8 1.6
3 27.62125 27621250 6250 4419.4 1.6
4 27.63125 27631250 6250 4421 1.6
5 27.64125 27641250 6250 4422.6 1.6
6 27.65125 27651250 6250 4424.2 1.6
7 27.66125 27661250 6250 4425.8 1.6
8 27.67125 27671250 6250 4427.4 1.6
9 27.68125 27681250 6250 4429 1.6
10 27.69125 27691250 6250 4430.6 1.6
11 27.70125 27701250 6250 4432.2 1.6
12 27.71125 27711250 6250 4433.8 1.6
13 27.72125 27721250 6250 4435.4 1.6
14 27.73125 27731250 6250 4437 1.6
15 27.74125 27741250 6250 4438.6 1.6
16 27.75125 27751250 6250 4440.2 1.6
17 27.76125 27761250 6250 4441.8 1.6
18 27.77125 27771250 6250 4443.4 1.6
19 27.78125 27781250 6250 4445 1.6
20 27.79125 27791250 6250 4446.6 1.6
21 27.80125 27801250 6250 4448.2 1.6
22 27.81125 27811250 6250 4449.8 1.6
23 27.82125 27821250 6250 4451.4 1.6
24 27.83125 27831250 6250 4453 1.6
25 27.84125 27841250 6250 4454.6 1.6
26 27.85125 27851250 6250 4456.2 1.6
27 27.86125 27861250 6250 4457.8 1.6
28 27.87125 27871250 6250 4459.4 1.6
29 27.88125 27881250 6250 4461 1.6
30 27.89125 27891250 6250 4462.6 1.6
31 27.90125 27901250 6250 4464.2 1.6
32 27.91125 27911250 6250 4465.8 1.6
33 27.92125 27921250 6250 4467.4 1.6
34 27.93125 27931250 6250 4469 1.6
35 27.94125 27941250 6250 4470.6 1.6
36 27.95125 27951250 6250 4472.2 1.6
37 27.96125 27961250 6250 4473.8 1.6
38 27.97125 27971250 6250 4475.4 1.6
39 27.98125 27981250 6250 4477 1.6
40 27.99125 27991250 6250 4478.6 1.6

Actions #7

Updated by Jim Robinson 5 months ago

Using a step frequency of 1250 Hz should allow all channels to be imported.

This step frequency is supported with EGZUMER v0.19 firmware.

Channel Frequency (MHz) Frequency (Hz) Step (Hz) Frequency/Step Step Delta
1 27.60125 27601250 1250 22081 0
2 27.61125 27611250 1250 22089 8
3 27.62125 27621250 1250 22097 8
4 27.63125 27631250 1250 22105 8
5 27.64125 27641250 1250 22113 8
6 27.65125 27651250 1250 22121 8
7 27.66125 27661250 1250 22129 8
8 27.67125 27671250 1250 22137 8
9 27.68125 27681250 1250 22145 8
10 27.69125 27691250 1250 22153 8
11 27.70125 27701250 1250 22161 8
12 27.71125 27711250 1250 22169 8
13 27.72125 27721250 1250 22177 8
14 27.73125 27731250 1250 22185 8
15 27.74125 27741250 1250 22193 8
16 27.75125 27751250 1250 22201 8
17 27.76125 27761250 1250 22209 8
18 27.77125 27771250 1250 22217 8
19 27.78125 27781250 1250 22225 8
20 27.79125 27791250 1250 22233 8
21 27.80125 27801250 1250 22241 8
22 27.81125 27811250 1250 22249 8
23 27.82125 27821250 1250 22257 8
24 27.83125 27831250 1250 22265 8
25 27.84125 27841250 1250 22273 8
26 27.85125 27851250 1250 22281 8
27 27.86125 27861250 1250 22289 8
28 27.87125 27871250 1250 22297 8
29 27.88125 27881250 1250 22305 8
30 27.89125 27891250 1250 22313 8
31 27.90125 27901250 1250 22321 8
32 27.91125 27911250 1250 22329 8
33 27.92125 27921250 1250 22337 8
34 27.93125 27931250 1250 22345 8
35 27.94125 27941250 1250 22353 8
36 27.95125 27951250 1250 22361 8
37 27.96125 27961250 1250 22369 8
38 27.97125 27971250 1250 22377 8
39 27.98125 27981250 1250 22385 8
40 27.99125 27991250 1250 22393 8

Actions #8

Updated by Jim Robinson 4 months ago

Using https://github.com/egzumer/uvk5-chirp-driver permits addition of all frequencies/channels/steps.

Actions

Also available in: Atom PDF