Revision ef5bc242 source/DW1000/v1/deca_instance_common_v1.c
source/DW1000/v1/deca_instance_common_v1.c | ||
---|---|---|
73 | 73 |
|
74 | 74 |
/*! Slot and Superframe Configuration for DecaRangeRTLS TREK Modes (4 default use cases selected by the switch S1 [2,3] on EVB1000, indexed 0 to 3 )*/ |
75 | 75 |
sfConfig_t sfConfig[4] ={ |
76 |
//mode 1 - S1: 2 off, 3 off
|
|
76 |
//mode 1 - S1: 2 off (110 Kbps), 3 off (ch 2)
|
|
77 | 77 |
{ |
78 | 78 |
.slotPeriod = (28), //slot duration in milliseconds (NOTE: the ranging exchange must be able to complete in this time |
79 | 79 |
//e.g. tag sends a poll, 4 anchors send responses and tag sends the final + processing time |
... | ... | |
94 | 94 |
|
95 | 95 |
}, |
96 | 96 |
#else |
97 |
//mode 2 - S1: 2 on, 3 off
|
|
97 |
//mode 2 - S1: 2 on (6.8 Mbps), 3 off (ch 2)
|
|
98 | 98 |
{ |
99 | 99 |
.slotPeriod = (10), //slot duration in milliseconds (NOTE: the ranging exchange must be able to complete in this time |
100 | 100 |
//e.g. tag sends a poll, 4 anchors send responses and tag sends the final + processing time |
101 | 101 |
.numSlots = (10), //number of slots in the superframe (8 tag slots and 2 used for anchor to anchor ranging), |
102 | 102 |
.sfPeriod = (10*10), //in ms => 100 ms frame means 10 Hz location rate |
103 | 103 |
.pollSleepDly = (10*10), //tag period in ms (sleep time + ranging time) |
104 |
.replyDly = (2500) //poll to final delay in microseconds (needs to be adjusted according to lengths of ranging frames)
|
|
104 |
.replyDly = (3000) //poll to final delay in microseconds (needs to be adjusted according to lengths of ranging frames)
|
|
105 | 105 |
}, |
106 | 106 |
#endif |
107 |
//mode 3 - S1: 2 off, 3 on
|
|
107 |
//mode 3 - S1: 2 off (110 Kbps), 3 on (ch 5)
|
|
108 | 108 |
{ |
109 | 109 |
.slotPeriod = (28), //slot duration in milliseconds (NOTE: the ranging exchange must be able to complete in this time |
110 | 110 |
//e.g. tag sends a poll, 4 anchors send responses and tag sends the final + processing time |
... | ... | |
114 | 114 |
.replyDly = (20000) //poll to final delay in microseconds (needs to be adjusted according to lengths of ranging frames) |
115 | 115 |
|
116 | 116 |
}, |
117 |
//mode 4 - S1: 2 on, 3 on
|
|
117 |
//mode 4 - S1: 2 on (6.8 Mbps), 3 on (ch 5)
|
|
118 | 118 |
{ |
119 | 119 |
.slotPeriod = (10), //slot duration in milliseconds (NOTE: the ranging exchange must be able to complete in this time |
120 | 120 |
//e.g. tag sends a poll, 4 anchors send responses and tag sends the final + processing time |
Also available in: Unified diff