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.