This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1352P7: Can't make CMD_IEEE_ED_SCAN work

Part Number: CC1352P7
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hello,

I am using Zephyr and OpenThread. The support of ED scanning is missing and I would to implement it.
Unfortunately, I can't make it work!

I can schedule and run the command but in the callback, I get an error when I check the status: 0x2801.
The radio is correctly configured (other operations are working). The programming model is not clear for me.
I tried to stop any FG or BG operations before running it but I still get the same issue.

I am not sure what I should check and what I should do to make it work.

If this could help, I could share a branch with the changes I made.

Regards,
Alexandre

  • Hello Alexandre,

    What TI repository and example are you basing your application from, and which SimpleLink F2 SDK version is referenced?  The 0x2801 error code reflects IEEE_ERROR_NO_SETUP from rf_ieee_mailbox.h, can you please confirm that a rfc_CMD_IEEE_ED_SCAN_t structure is defined in ti_radio_config.c  (generated by SysConfig when the Custom RF stack -> IEEE -> Code Export Configuration -> RF Command Symbols -> RF Command List has CMD_IEEE_ED_SCAN selected) and provide a code snippet of how the command is used in your application?

    Regards,
    Ryan

  • Hello Ryan,

    In order to share the code with you, I did some clean up and retested. And, finally, this is working now!
    I am not sure what was wrong but anyway, this is working now.

    Regards,
    Alexandre