The link below provides a TWR example for DWM1001C. Please verify if the example works properly on your board. If it works, then you can compare it with your application code.
The link below provides a TWR example for DWM1001C. Please verify if the example works properly on your board. If it works, then you can compare it with your application code.