Llhw_init() is return an error value QERR_EINVAL = -11, * @QERR_EINVAL: Invalid argument

Hello everyone,

I am currently utilizing a DWM3000EVB along with the DW3_QM33 SDK v1.0.0 release and attempting to port this SDK to the PSoC 6 platform. While running the UCI application, I encountered an issue within the “uwbmac_helper_dw3000.c” file, specifically during the initialization process.

The file contains three initialization calls. The qplatform_init() function executes successfully, with the board responding with the device ID (DECA0302). For the l1_config_init() function, I am passing NULL as an argument.

However, the execution halts when the llhw_init() function is called, as it returns a non-zero value(QERR_EINVAL = -11, * @QERR_EINVAL: Invalid argument). Since this function is provided as a library, I am unsure of its specific operations and the possible reasons for this issue.

questions

  1. Is passing “NULL” in “l1_config_init()” okay or do we need to pass some platform specific ops
  2. What does llhw_init() do, what are the reasons it could be failing.

Any suggestions or solutions to resolve this problem would be greatly appreciated. Thank you.