Wykres commitów

267 Commity (fc9220ae4d6aab67b9c3e98973f3d9058fe1c534)

Autor SHA1 Wiadomość Data
guido 2d761a5781 Add VFO-A/B/Split and RIT. 2020-10-30 17:19:18 +01:00
guido ebfd528b9d Add reorganised menu items. Add semi-QSK, with CW TX improvements. 2020-10-29 14:23:33 +01:00
guido 958e4dad22 Minor changes. 2020-10-29 12:21:21 +01:00
guido 482e9f1de5 Minor changes. 2020-10-29 11:53:45 +01:00
guido 0bac8e0a5e Minor changes. 2020-10-28 15:36:42 +01:00
guido 6aa26b1680 Fix ATT. Fix issue #34 to stop frequent display updates in menumode. 2020-10-28 10:57:31 +01:00
guido 5086aceac5 Minor changes. 2020-10-26 15:27:35 +01:00
guido 5e6e68114b Minor TX changes. 2020-10-25 21:46:03 +01:00
guido 61ccf3482c Minor changes. 2020-10-25 19:00:54 +01:00
guido 2c34938ab9 Minor TX changes. 2020-10-21 23:21:46 +02:00
guido fee58f0017 Add very much improved sensitive CW decoder, wpm-indicator in s-meter. Add TX SSB carrier supression feature driven by vox level gate. Add SSB moulation feature that inverts signal on huge phase changes. Add capability to transmit via CLK0, CLK1, where the other FST3253 switch could be used to drive the PA. 2020-10-21 22:48:55 +02:00
guido c71e1e2798 Fix more contant backlight. Fix for menu button and VOX instability issue. 2020-10-17 22:47:20 +02:00
guido a6e408b77f Add TX on startup protection. Add new si5351 functions, including Gangnam-style phase-shift. 2020-10-15 17:20:24 +02:00
guido dbc8213c8a Fix AGC overload issue. Add cw decoder in main-loop. Add noise-reduction for VOX threshold > 32. 2020-10-14 23:42:21 +02:00
guido 14b721d0ff Minor changes. 2020-10-12 09:09:40 +02:00
guido 495c3656c6 Add optimized smeter. Add hack for faster ADC conversation-rate in VOX mode. 2020-10-11 22:37:02 +02:00
guido ee1ed95c49 Merge experimental branch. 2020-10-11 15:42:49 +02:00
guido 17e16e53ad Merge with master branch. 2020-10-10 12:07:42 +02:00
threeme3 48b659b923
Merge pull request #30 from howard0su/save
Save more memory for menu subsystem
2020-10-10 12:06:05 +02:00
threeme3 c7b837775c
Merge pull request #29 from howard0su/pwm
Limit pwm value into a reasonable range
2020-10-10 12:05:23 +02:00
guido 4fae69591b Merge with master branch. 2020-10-10 12:02:55 +02:00
guido faa4447d61 Fix for RX sensitivity issue (as reported in ucx.groups.io message 3067). 2020-10-10 11:52:46 +02:00
guido ad10eb1672 Add VOX integration in menu. 2020-10-10 11:35:54 +02:00
Jun Su c0e8faa863 Save more memory for menu subsystem
Assume all volatile for menu controlled variables, which saves 602bytes.

Before:
Sketch uses 27804 bytes (86%) of program storage space. Maximum is 32256 bytes.
Global variables use 1291 bytes (63%) of dynamic memory, leaving 757 bytes for local variables. Maximum is 2048 bytes.

After:
Sketch uses 27202 bytes (84%) of program storage space. Maximum is 32256 bytes.
Global variables use 1291 bytes (63%) of dynamic memory, leaving 757 bytes for local variables. Maximum is 2048 bytes.
2020-10-10 09:40:22 +08:00
guido 3da36546fe Add simplified VOX. 2020-10-09 15:56:50 +02:00
guido 2ffa3a36ea Add simplified VOX. 2020-10-09 15:13:27 +02:00
guido 3f0c9e161e Fix VOX issue. 2020-10-09 14:29:18 +02:00
guido 80908e7b81 Merge experimental branch. 2020-10-09 13:10:39 +02:00
threeme3 7387976c6a
Merge pull request #26 from howard0su/fix_nondebug
Fix non-debug build
2020-10-09 12:39:29 +02:00
threeme3 1be8a8a4dc
Merge pull request #27 from howard0su/remove_float
Build LUT by fixed point math
2020-10-09 12:38:16 +02:00
Howard Su 631ee680ca Fix non-debug build
There is #define DEBUG 1 which prevent non-debug build
2020-10-09 16:26:10 +08:00
Howard Su 8e89496101 Build LUT by fixed point math
Step 1 to remove float from the code. LUT table can be perfect build by
fixed point math.

lut[i] = (float)i / ((float)255 / ((float)pwm_max - (float)pwm_min)) +
pwm_min;
can be converted to:
lut[i] = (float)i * ((float)pwm_max - (float)pwm_min) / (float)255 +
pwm_min;
can be futher convert to:
lut[i] = i * (pwm_max - pwm_min) / 255 + pwm_min;

The second convertion is validated by a small test code. The first
convertion has slight difference on lut[255] of some combinition of
pwm_max and pwm_min, which I believe second fomula is more accurate.
2020-10-09 15:55:44 +08:00
Howard Su 02f2b0c07f Limit pwm value into a reasonable range 2020-10-09 15:35:09 +08:00
guido 0b4c3f5cf6 Merge experimental branch. 2020-10-09 00:20:02 +02:00
threeme3 d057622b55
Merge pull request #24 from howard0su/experimental
Mark ssb and dsp cap const when non-QCX
2020-10-09 00:08:15 +02:00
threeme3 d664a3de78
Merge pull request #25 from howard0su/clean_signed
Use unsigned int when possible
2020-10-09 00:06:18 +02:00
guido 004a511f35 Minor changes. 2020-10-08 23:07:09 +02:00
Howard Su 96a72cd362 Two more cases 2020-10-09 01:14:46 +08:00
Howard Su ea65328f7b Use unsigned int when possible
This reduce the code size significant by two factors:
1. unsigned version can produce less code
2. paramAction can reduce the different versions of templated code

Before;
Sketch uses 27804 bytes (86%) of program storage space. Maximum is 32256 bytes.
Global variables use 1291 bytes (63%) of dynamic memory, leaving 757 bytes for local variables. Maximum is 2048 bytes.

After;
Sketch uses 27418 bytes (85%) of program storage space. Maximum is 32256 bytes.
Global variables use 1291 bytes (63%) of dynamic memory, leaving 757 bytes for local variables. Maximum is 2048 bytes.
2020-10-09 01:00:47 +08:00
Howard Su 3b0064b289 Mark ssb and dsp cap const when non-QCX
This tells compiler to optimized out all QCX related code. This saves 1216 bytes ROM.
2020-10-09 00:41:09 +08:00
guido f9aad1ed6b Merge experimental branch. 2020-10-07 23:49:15 +02:00
guido a6b15655ec Merge experimental branch. 2020-10-07 23:33:07 +02:00
guido 35506e0958 Fix merge issue. 2020-10-07 23:13:36 +02:00
guido 991b696404 Add guarantee for even msa divider for PLL and MS, potentially to fix RX sensitivity issue (Cees, PE1DDA). 2020-10-07 16:40:38 +02:00
guido 827d599490 Fix merge feature-5band-lpf branch. 2020-10-07 14:15:26 +02:00
guido 4ac88a1e7f Fix merge issue. 2020-10-07 14:01:22 +02:00
threeme3 23270904aa
Merge pull request #18 from howard0su/fatal
Cleanup main function
2020-10-07 13:17:51 +02:00
threeme3 9d7257c2a6
Merge branch 'experimental' into fatal 2020-10-07 13:17:38 +02:00
threeme3 f575cdc078
Merge pull request #15 from howard0su/char
Use char instead of string for print a single char
2020-10-07 13:14:37 +02:00
threeme3 ef47a7377a
Merge branch 'experimental' into char 2020-10-07 13:13:54 +02:00