Issue with dwt_configure(): DWT_ERR_RX_CAL_PGF when using DW3220

Hello All,

I’m currently working with the DW3220 module using the DW3_QM33_SDK_1.0.2, interfacing it with an nRF52832 over SPI.

So far, I have successfully:

  • Established SPI communication
  • Read the device ID of the DW3220
  • Called dwt_initialise() successfully (returns DWT_SUCCESS)

However, when I call dwt_configure(), it fails and returns:
DWT_ERR_RX_CAL_PGF

I have tested both single-antenna and dual-antenna configurations, but the error persists in both cases.

Here is a summary of my setup:

  • MCU: nRF52832
  • UWB chip: DW3220
  • SDK version: DW3_QM33_SDK_1.0.2
  • Antenna configuration: tested both 1-antenna and 2-antenna setups
  • Antennas: custom-made

I’ve attached images of the PCB and antennas below to help clarify the hardware setup.

My questions:

  1. What typically causes the DWT_ERR_RX_CAL_PGF error in this context?
  2. Are there any specific hardware or antenna matching requirements for successful PGF calibration on DW3220?
  3. Is it possible to bypass PGF calibration (e.g., for initial bring-up or testing)?
  4. Are there any diagnostic tools or registers I can check to narrow down the root cause?

Looking forward to your suggestions.

Thank you!

Luc