I was using dwm1002 anchor and dwm1003 tag for positioning. In order to get information about the channel, I retrieved the CIR data from the accumulator and plotted them. The figure showed good result, for example in a LOS scenario:
However, there is no information about what does the magnitude of these CIR data represent. Normally for CIR the y axis is the channel gain, in dB. Here, the magnitude of the highest peak is around 6000, which is hard to explain in dB.
Does anyone have idea about what is the unit for CIR data?
It depends on the firmware you are running. The API includes a function to read the CIR data as part of the diagnostics. Or the user manual describes the method needed to extract the information directly.
The user manual also gives a calculation to calculate the first path and peak powers in dBm. It should be possible to apply the same conversion factor to convert the CIR Y axis scale into dBm. However since generally the value of the CIR is mainly of interest relative to itself and the threshold (which is given in the same units as the CIR data) this conversion isn’t normally needed.
Thanks for your reply. I was actually curious about if your implementation is RTOS-based or bare-metal. If it’s the former, which RTOS are you using for the PDoA kit? I’m using ZephyrRTOS for some other Decawave devices but interested in getting a PDoA kit.