This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Direction_finding_connectionless_tx Error

Good afternoon,

I have started to work with the Direction_finding_connectionless_tx software from Zefyr that you published a few days ago. My intention is to load the AOA mode on a self-designed board that integrates the BL653 module with the nrf52833.

When I load the code I get an error in the function "err = bt_df_set_adv_cte_tx_param(adv_set, &cte_params);", I get the error: "00> Update CTE params...Failed: -35."

I was not able to find the error. Could it be because the software is not suitable for a different platform than nrf52833-DK, or it could be a configuration error?

Thank you very much for your attention.

JP.

  • Hi

    Have you made any changes to the TX parameters/CTE parameters in your project? The BL653 module does not have an external LF clock by default I think, so you should probably change this to use the internal RC oscillator. This is done in the project configurations in your project.

    Best regards,

    Simon

  • Thank you for the quick response.

    If I comment the functions "bt_df_set_adv_adv_cte_tx_param(adv_set, &cte_params);" and "err = bt_df_adv_cte_tx_enable(adv_set);", both related to the CTE, the beacon works correctly. So, I think it is correctly configured.

    Is it possible that it is because of the SDK version? I am using v1.5.1-rc1.

    JP.

  • Hi

    Please check that all the required Zephyr libraries listed in "Dependencies" of the example page are available in your NCS version, as I think v1.5.1-rc1 might not support this sample by default.

    Have you also set OVERLAY_CONFIG to overlay-aoa.conf to build the sample in AoA mode for instance?

    Best regards,

    Simon

  • hi all, im also using nrf52833 DK for direction_finding_connectionless_tx. although i had my setting all done and by using uart with PUTTY, i can see all functions response with a SUCCESS. But why i cant get to see the relevant address produce by the project in an Ellisys Analyzer? 

    *** Booting Zephyr OS build v2.4.99-ncs1-3510-ge4f87fba1b87  ***
    0Starting Direction Finding periodic advertising Beacon Demo
    Bluetooth initialization...success
    Advertising set create...success
    Update CTE params...success
    Periodic advertising params set...success
    Enable CTE...success
    Periodic advertising enable...success
    Extended advertising enable...success
    Started extended advertising as F6:C0:FE:1E:27:87 (random)

    are you getting the same situation? if not, how am i suppose to check if whether i have turn on CTE packets?

    btw, im intend to use a AOA mode. i realize that i need to change overlay-aoa.conf. (may i know where to change the confg) im quite confuse in how to set OVERLAY_CONFIG to overlay-aoa.conf

    here's my step> turn on SES , build NRF_CONNECT_project , build the project, flash it into dk. 

  • All libraries are available in this version of NCS. If it is due to the version, how can I upgrade to 1.5.99?

    My overlay-aoa.conf is set like this: 

    # Disable AoD Feature (antenna switching) in Tx mode
    CONFIG_BT_CTLR_DF_ANT_SWITCH_TX=n
    OVERLAY_CONFIG =y

    Is all right?

    Also, to build the application I select the bl653_dvk platform, I don't know if it can be the cause of the error.

    I have configured te CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC for the internal LC. In addition to OVERLAY_CONFIG, is there any other define that needs to be modified?

    JP.

Related