Issue with Data values from DWM1001

I have just connected up the DWM1001C module to my host PC via TTL UART. I also have a FET to control the reset on the DWM. The BAUD rate is set to 115200.
My code applies reset for 10ms on boot then releases it
I then send the command 0x14 0x00 (soft reset command)
Instead of receiving expected 0x40 0x01 0x00, I receive 0x7c 0x2d 0xfb

If I try the dwm_get_ver command 0x15 0x00
Instead of packeat starting with 0x40 0x01…
I get packet starting with 0x7c (but I do receive the correct number of 20 bytes)

Hi @david
I would recommend check the SPI (CPOL CPHA) type settings. When it is incorrect then you can read weird values.


Do the SPI settings affect the UART?

Hi @david
sorry my mistake. I dont know why but I have missed that you are using UART and not SPI.

However it seems to me as improper UART timing/configuration. It should be: 115200Bd, 8 data bits, 1 stop bit and no parity.