Issue with custom driver


I’m trying to write a driver for a DWM1000 module to use in time difference of arrival.
Here the device ID is successfully checked, but this command freezes everithing.

Can you help me?
Thank you.

Also, I’m using a customized Pixracer with adapted versions of PX4NuttX and PX4Firmware. But since the ID is checked correctly I would think this as a driver issue.