We have a trouble that the same project is working on the DMW Dev Kit, but isn’t working on our board.
We are using BETA_PDOA_KIT_RELEASE_2.0 firmware BETA_PDOA_KIT_RELEASE_2.0.
On our board (Schema in attachment) we have two DW1000 that is connected via SPI to nRF52840.
We have success in our board with initialising Node and also Node fonds Tags from Dev Kit. Our problems:
Node doesn’t determine coordinates, but doesn’t return errors.
Tag can not read DeviceId of DW1000 via the same SPI that Node use.
Could you please give support, point out things worth checking out that we might have missed.
Hi Dmitry,
If I understand you correctly, you are using the same hardware for both Tag and Node.
The schematics that you are attached shows only one DW1000 chip with SYNC pin not connected - for the Node you need to synchronize two DW1000 ICs in order to get correct phase difference.
Would be great if you can share the full schematics.
Yes, SYNC not connected (our Top Level Diagram bellow).
Our hardware engineer had a call with Decawave, where he understood that the SYNC pin is not needed for our task. Maybe there was a misunderstanding.
Is the SYNC connection between DW1000 without connection to nRF enough?
The SYNC pin has to be connected to the MCU (the same MCU pin for both DW1000).
Asserting SYNC pin high resets the internal counters and state machines to the same state so later after receiving a frame from the Tag MCU can extract additional information from CIR buffer from both DW1000 to calculate the phase difference of arrival (timestamp accuracy is not enough).
If you check the DWM1002 Node schematics, you’ll see the SYNC circuit - it’s rather complicated to meet the required specifications (and not all of them to be honest).
Actually you can even toggle the pin simply by the MCU pin, just need to carry out some additional checks.
See
and
I also spotted the ceramic antenna you are using. Despite it is widely used in UWB applications I do not recommend it for any PDoA project for a simple reason - the polarization of this antenna is far from circular, which is requred for these types of applications.
With say linear polarized antrennae for the Node and the Tag the resulting phase difference will be dependant on the mutual orientation of the devices, not only the Tag’s position wrt the Node.
The antennae used in Beta PDoA Kit are circular- and cross-polarized.