We are implementing applications on DW3220 module and have a problem. We don’t use PDOA mode, and we want to know which antenna port is using when receiving a message. I checked the document and seemed GPIO2 and GPIO3 may have this functionality, but we used these two GPIOs in different way. Could someone tell me how can I know the antenna port is using when we received a message? We use two antennas in our HW anyway. Thanks
Hello @Jian ,
This function can be used to control what rf port to use for TX/RX.
By default Port 1 is used.
Thanks,
Wassim
Thanks @Wassim_Qorvo
This function can control what rf port to use, but I want to know which rf port is using in automatic rf port mode. In this mode, If a message is received, it could be port 1 or port 2. How to know that? Is there a read function can read it? Thanks
Hi @Jian ,
This function is also responsible on setting on which rf port the message is received.
As I said above, by default it’s receiving on Port1 unless you changed using the API above.
Can you please give more explanation if I misunderstood your question?
Thanks,
Wassim
Thanks for you reply. @Wassim_Qorvo
I want to confirm one thing. When I set PDoA mode to M0 (means PDoA off mode), only one antenna port is enable at anytime? This means we can only enable a single antenna port when PDoA mode off, is this correct?
Hi @Jian ,
Yes correct.
Thanks @Wassim_Qorvo
If we use PDOA mode 1, we will receive the same message on both antenna ports. Is there a method to know which antenna port has a better signal quality when a message is received?
Hi @Jian ,
When using PDOA mode 1, the packet needs to contain STS (see more details in the DW3000 User Manual).
DW3220 has 2 RF ports but only 1 receiver, so we do not receive the same message on both antenna ports.
The PDOA is calculated between the Ipatov and STS on the received packet.
For the PDOA variant of the DW3000, the receiver switches between antenna ports to enable a PDoA measurement.
By default, the IC will receive the Ipatov on antenna port 1 and then switch to antenna port 2 to receive the STS.
I hope this clarifies things.
Thanks,
Wassim