kamilsss655 / uv-k5-firmware-custom

Open re-implementation of the Quansheng UV-K5 firmware
Apache License 2.0
218 stars 36 forks source link

[BUG] Serial baudrate is too high #173

Closed ErikS-web closed 2 months ago

ErikS-web commented 3 months ago

BEFORE YOU CREATE A BUG REPORT MAKE SURE YOU READ THIS: https://github.com/kamilsss655/uv-k5-firmware-custom/wiki/80-%E2%80%90-Tips-&-Tricks-and-Known-Issues

Describe the bug Functional serial baudrate is out of spec's for my USB-to serial interface Tested with CH340 and a Prolific

To Reproduce Loading firmware (with bootloader) had his own speed. SoO no problem there, Radio functions OK. But the serial communication at this new high speed between radio and PC does not work

Tested with Chirp in Developement mede and modified PY-file.; Lookup "baud" and change 384000 to 250000

Expected behavior release notes mention

Pictures/video Not working

Details:

CHG340 supports common baud rates: 50, 75, 100, 110, 134.5, 150, 300, 600, 900, 1200, 1800, 2400, 3600, 4800, 9600, 14400, 19200, 28800, 33600, 38400, 56000, 57600, 76800, 115200, 128000, 153600, 230400, 460800, 921600, 1500000, 2000000 baud. 250 000 baud isn't supported by that IC. The Baud steps is either 200% or 150% of the previous value (There is exceptions).

Also here https://arduino.stackexchange.com/questions/32035/what-usb-to-uart-chip-provides-highest-data-rates-with-arduino-boards

Suggest to use 230400

fenton67 commented 3 months ago

I don't know if it will be possible, but I have this dream of using messenger with the cardkb for messenger text entry. The reason I mention is because it supports only 115,200. Just throwing that out there cause it's always a challenge to type long messages or extended conversation. I think it is doable: https://github.com/jon7sky/CardKB_UART.

ErikS-web commented 3 months ago

This is about serial communication between the Radio and the ESPRI-project.

We are experiencing what is possible as fast option. So 115K is much to low.

kamilsss655 commented 2 months ago

Resolved in v.21.4.

Works with: ftdi, ch340 and prolific