Problem with mega4809 and DW1000 moudle

Im using a UWB module called BU01, wich has DW1000 chip inside.
I installed arduino-dw1000-ng to control that module using a mega4809 chip.
It seems I did something wrong. I tried the demo "basic connectivity test" from that lib, changed pin definations:

const uint8_t PIN_RST = 10; // reset pin
const uint8_t PIN_IRQ = A7; // irq pin
const uint8_t PIN_SS = 8; // spi select pin

But that goes wrong. The output from a serial monitor as follow:

DW1000 initialized ...
Committed configuration ...
Device ID: DECA - model: 1, version: 3, revision: 0
Unique ID: FF:FF:FF:FF:00:00:00:00
Network ID & Device Address: PAN: 0A, Short Address: 01
Device mode: Data rate: 110 kb/s, PRF: 16 MHz, Preamble: 2048 symbols (code #4), Channel: #5

It cant really have a unique id as that, some communication problems might happened.
I tried other examples, with no luck, they all dont work on my setup.

I checked my connections, they seems okay. Now I have no idea what to do.

My connection:

Everything is powered by a 3.3v ldo, which can do up to 1A.
I noticed all my UWB module a little warm while powered up. A quick search shows it may be normal for these modules to work a little hot.

Thanks for patience. Any help appreciated.

Your schematic is missing a lot of information, you state you are using them on a chip level, these chips need much more support then you are showing.

1 Like

Thanks for your reply.
That's all the main parts in this minimum test circuit.
The mega4809 part is being used in many of my other projects, I just copy and paste that part between my projects. I used it to drive some spi screens, so this part, and its spi interface seems to be okay.
I suspect the problem is about the curcit around BU01 module. I designed my circuit according to the document:
image

Im not sure is this the minimum working system of that module, or I still need extra components to make that module actually work.

the module lookes like this:
image
image

Solved.
dw1000 lib in arduino is not up to date. Download one from github repo solved the problem.
F-Army/arduino-dw1000-ng: Arduino driver and library to use Decawave's DW1000 IC and relative modules. (github.com)

1 Like

After digging further into this module, I have to mention that this question is based on a false assumption.
It is possible for a new BU01 module to have that weird unique id while still working. That id seems not indicating any problem with wiring or program.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.