Hi,
I am sure there was nothing wrong with the SPI, I did originally use the SPI peripheral setup with Cubemx. I ended up using the bit banging SPI I had previously written because it is 100 percent reliable, just to eliminate any doubt. I checked everything throughly with a logic analyser and an osciliscope.
I have implemented all kinds of serial protocols in multiple projects. I am sure it wasn’t the problem.
I also designed and got manufactured a pcb to ensure signal integrity between the dwm and uc.
I ended up buying dwm1001 dev modules to evaluate the product.
If anyone else has this problem and can figure out a solution, it would be appreciated to understand what was going on.
Tom