[ADD] Carrier Frequency Offset estimation#12
Conversation
c80df5e to
99aef80
Compare
This commit adds functionality to the Receiver type in order to estimate the Carrier Frequency Offset between a sender and a receiver according to DW3000 User Manual, Chapter 8.2.7.6. Signed-off-by: Silvano Cortesi <silvano.cortesi@hotmail.com> [ADD] Carrier Frequency Offset to returned message(s) Signed-off-by: Silvano Cortesi <silvano.cortesi@hotmail.com>
99aef80 to
55960f0
Compare
|
|
|
Sorry for the late response; You think to split it out of the r_wait_... and then sequentially read it out? I'm good with this as well; however, then I think also the readout of CIR / estimation of signal quality does not belong in there (as it is also very time intense) and to some extense even the readout of rx_time. I'm a bit struggling on which structure would make sense. IMO there would be the need of a new state - as the ready state is the wrong state to readout rx_time, cir, cfo, ... (as there might not be any message arrived before). That's why I put it into the rx_wait fct, as afterwards the state is changed. |
|
Note that only will switch the type state, so you can read all these things before calling this function. One just need to be careful not to read stuff when |
This commit adds functionality to the Receiver type in order to estimate the Carrier Frequency Offset between a sender and a receiver according to DW3000 User Manual, Chapter 8.2.7.6.