I’ve been experiencing problems with the DWM 1000 module. Every SPI transaction returns 0xFF or 0xFFF…, depending on the length of the receiving buffer. The problem is somewhat similar to what they have been experiencing Odd behavior with SPI access (ID Reg sometimes read with 0xFFFFFFFF) - #38 by Dan.
However, unlike them, the DWM always returns 0xFFF…, no matter the circumstances. I’ve tried using an arduino (with 3.3V logic) and an stm32, but neither worked. I’ve also tried sending different character “0x00” and “0x40 00x02” but to no avail. I’ve tried changing the phase, adding a delay between the pull-down of nCS and the hal transmit function, pulling reset low between tranmissions, and lowering the frequency below 1 Mhz. Every single time, I’ve received 0xFFF…
Beyond the obvious problem with the SPI set-up, I couldn’t find any hint in the datasheet, the user manual, or the debugging application note. At this stage I’m pretty confident the problem has to do with the module not receiving the buffer’s content properly, nevertheless I don’t know what could have went wrong.
I’ve tried everything I could think of. If you have idea of what I should try next or what could have gone wrong, please let me know.