Makerfabs / Makerfabs-ESP32-UWB-DW3000

77 stars 22 forks source link

How to set up the driver correctly for device ID DECA0314(DW3120) #14

Open AM0219350 opened 9 months ago

AM0219350 commented 9 months ago

Hello, I was implemented the TWR case with DWM3000 module. Now, I want to do the same thing on the ic DW3120 with single channel(one antenna) first. There are my problems below:

  1. Is dw3000 api work on dw3120? The device id of dw3120 is deca0314. In the dw3000_device_api.h. Supported device are deca0302 and deca0312.
  2. When I bypass the ckeck of device ID. I got failed in the procedure dwt_configure. Check procedures: ---1. dwt_checkidlerc() ---2. dwt_initialise(DWT_DW_INIT) == DWT_ERROR ------ in the end of step 2. I got message "XTRIM OTP READ FAIL" ---3. dwt_configure(&config) ---4. Complete the above steps. The RF did't open. dwt_starttx(DWT_START_TX_IMMEDIATE | DWT_RESPONSE_EXPECTED);
  3. How to set the dw3120 to use only one antenna?

Thanks, Ken.

Screen shots:

  1. XIRIM OTP READ FAIL image
  2. Device IDs of the library(2013-2020) image
  3. Qorvo download library(2013-2021) new image