DWM30001CDK standalone operation without connection to USB UART

Hi @christian.i ! Weird that I didn’t see the notification for this message!

How did you set the DWM3001CDK role, CLI “initf” plus “save”?
It seems to be an issue with the report function. If the USB is not connected the embedded app gets stuck, even able to range.

You can try to remove the report part “reporter_instance.print” or disable the USB.
If you need to start FiRa ranging in code (because CLI is not available), add “scan_fira_params()” to main:

scan_fira_params("initf 2 2400 200 25 2 42", true); // Change to false if responder

And inside “\Src\Apps\Src\common\app\common\app.c” set the “DEFAULT_APP” to “helpers_app_fira”:

extern const app_definition_t helpers_app_fira[];
...
#define DEFAULT_APP helpers_app_fira //idle_app

By doing this the app should be able to start FiRa TWR in the startup and work on the USB.

Best regards!

1 Like