FUTABA/TFHSS_SR: Narrow band flags

This commit is contained in:
pascallanger committed 2026-11-24 19:31:43 +01:00
1 parent 367277e0e6
commit 68a38cd867
5 files changed
+15 -4

No files matched your search

+3
View File
@@ -171,6 +171,9 @@
50,0,Redpine,Fast,0,sCH5,sCH6,sCH7,sCH8,sCH9,sCH10,sCH11,sCH12,sCH13,sCH14,sCH15,sCH16 50,0,Redpine,Fast,0,sCH5,sCH6,sCH7,sCH8,sCH9,sCH10,sCH11,sCH12,sCH13,sCH14,sCH15,sCH16
50,1,Redpine,Slow,0,sCH5,sCH6,sCH7,sCH8,sCH9,sCH10,sCH11,sCH12,sCH13,sCH14,sCH15,sCH16 50,1,Redpine,Slow,0,sCH5,sCH6,sCH7,sCH8,sCH9,sCH10,sCH11,sCH12,sCH13,sCH14,sCH15,sCH16
21,0,Futaba,SFHSS,0,CH5,CH6,CH7,CH8 21,0,Futaba,SFHSS,0,CH5,CH6,CH7,CH8
21,1,Futaba,TFHSS,0,CH5,CH6,CH7,CH8
21,2,Futaba,TFH-SR,0,CH5,CH6,CH7,CH8,NB_1,NB_2,NB_3,NB_4
21,3,Futaba,TF-Air,0,CH5,CH6,CH7,CH8,CH9,CH10,CH11,CH12,CH13,CH14,CH15,CH16
19,0,Shenqi,Cycle,1 19,0,Shenqi,Cycle,1
68,0,Skyartec,Std,0,CH5,CH6,CH7 68,0,Skyartec,Std,0,CH5,CH6,CH7
11,0,SLT,V1,0,Gear,Pitch 11,0,SLT,V1,0,Gear,Pitch
+1 -1
View File
@@ -18,7 +18,7 @@
18,MJXq,WLH08,X600,X800,H26D,E010,H26WH,PHOENIX 18,MJXq,WLH08,X600,X800,H26D,E010,H26WH,PHOENIX
19,Shenqi 19,Shenqi
20,FY326,FY326,FY319 20,FY326,FY326,FY319
21,Futaba,SFHSS 21,Futaba,SFHSS,TFHSS,TFH-SR,TF-Air
22,J6PRO 22,J6PRO
23,FQ777,124,XBM37 23,FQ777,124,XBM37
24,ASSAN 24,ASSAN
+1 -1
View File
@@ -19,7 +19,7 @@
#define VERSION_MAJOR 1 #define VERSION_MAJOR 1
#define VERSION_MINOR 3 #define VERSION_MINOR 3
#define VERSION_REVISION 4 #define VERSION_REVISION 4
#define VERSION_PATCH_LEVEL 74 #define VERSION_PATCH_LEVEL 75
#define MODE_SERIAL 0 #define MODE_SERIAL 0
+5 -1
View File
@@ -39,7 +39,7 @@
// telemetry); then TFHSS_BIND_ACKED more with byte 1 bit 7 and its ID, // telemetry); then TFHSS_BIND_ACKED more with byte 1 bit 7 and its ID,
// which make the receiver store the bind (R334SBS firmware). Failsafe: every 5 s a group of 4 frames, one // which make the receiver store the bind (R334SBS firmware). Failsafe: every 5 s a group of 4 frames, one
// per channel: its F/S position, or hold (the 4PM Plus' default). // per channel: its F/S position, or hold (the 4PM Plus' default).
// The per channel "high speed" flags (3 ms output frames) are left off. // In SR, the per channel "high speed"="narrow-band" flags in byte 9 (3 ms output frames) are driven by CH9..CH12
// //
// Air (TFHSS_AIR): 128 kbps 2-FSK (the S-FHSS modem), 17 bytes, a frame // Air (TFHSS_AIR): 128 kbps 2-FSK (the S-FHSS modem), 17 bytes, a frame
// every 15.04 ms; 16 channels in 9 slots of 11 bits (us - 880), a slot's // every 15.04 ms; 16 channels in 9 slots of 11 bits (us - 880), a slot's
@@ -355,6 +355,10 @@ static void __attribute__((unused)) TFHSS_surface_packet()
packet[6] = ch[2] >> 4; packet[6] = ch[2] >> 4;
packet[7] = ch[3]; packet[7] = ch[3];
packet[8] = (ch[3] >> 8) | 0x10; packet[8] = (ch[3] >> 8) | 0x10;
// Bits 0..3: high speed flags of CH1..4
// In SR, the narrow-band outputs ("SR channels" of Futaba radios) are set by CH9..CH12
uint8_t nb = sr ? (Channel_AUX >> 4) & 0x0F : 0;
packet[9] = fs | nb;
packet[9] = fs; // bits 0..3: the high speed flags packet[9] = fs; // bits 0..3: the high speed flags
packet[10] = e; packet[10] = e;
packet[11] = (e >> 8) | slot << 4; packet[11] = (e >> 8) | slot << 4;
+5 -1
View File
@@ -1215,7 +1215,11 @@ CH1 to CH4 are sent every frame (3 ms), CH5 to CH8 one per frame.
### Sub_protocol TFHSS_SR - *2* ### Sub_protocol TFHSS_SR - *2*
T-FHSS SR (Super Response), the receiver bound in SR mode: frames every 1.2 ms, digital servos only. No telemetry. Otherwise as T-FHSS. T-FHSS SR (Super Response), the receiver bound in SR mode: frames every 1.2 ms, digital servos only. No telemetry. Otherwise as T-FHSS.
Servos in narrow-band mode (760 µs centre, the "SR channels" of Futaba radios) are not supported: set them to normal mode. CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12
---|---|---|---|---|---|---|---|---|---|---|---
A|E|T|R|CH5|CH6|CH7|CH8|NB_1|NB_2|NB_3|NB_4
NB_1..4: Flags for Narrow-band servos (the "SR channels" of Futaba radios) associated to CH1..4
### Sub_protocol TFHSS_AIR - *3* ### Sub_protocol TFHSS_AIR - *3*
T-FHSS Air. Models: Futaba T-FHSS Air receivers like the R3006SB and R3008SB. T-FHSS Air. Models: Futaba T-FHSS Air receivers like the R3006SB and R3008SB.