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.

CCS/CC2640R2F: AOA tone length

Part Number: CC2640R2F

Tool/software: Code Composer Studio

An example of an AOA for the SDK version "simplelink_cc2640r2_sdk_2_30_00_28";

AOA transmitter,the AOA packet is shown below:

As can be seen,  AOA tone length = AOA_ADV_LEN - AOA_ADV_TONE_OFFSET = 20 byte;

1、Can the AOA tone be longer? How to do it?

2、This is in line with the BLE V4.2 broadcast data length of 32 bytes. So,The AOA example works on the protocol stack of BLE V4.2.Is that right?

3、If the BLE protocol stack used is V4.2, how can I port the AOA sample to the BLE V5.0 version?

4、If the BLE protocol stack used is V5.0, should the Advertisement data length be set to 251 byte pairs? 

  • Hello,

    Please AoA experts help reply customer question. AOA should only support BlueTooth 5. You can refer below information about AOA adv.



    Upon choosing AoA Advertising, CC2640R2F will send out special packets which contains AoA header, AoA padding bytes,

    TI company ID and followed by a tone(0xFF). You can find the packet setup in AOA.c

    If you want to have more than one sender and for the receiver to be able to distinguish them, then you can use advData[5:10], which are padding bytes, to customize your AoA packets.

    static void transmitterInitAdvData(uint8_t *advData, uint8_t packetId)
    {
    // Initialize header
    advData[0] = AOA_ADV_HDR_LEN + AOA_ADV_PADDING_LEN + AOA_ADV_TONE_LEN;
    advData[1] = 0xFF;
    advData[2] = (COMPANY_ID_TEXAS_INSTRUMENTS & 0xFF); // TI Company ID
    advData[3] = (COMPANY_ID_TEXAS_INSTRUMENTS >> 8); // TI Company ID
    advData[4] = packetId; // Packet ID, for receiver to filter

    for (uint8_t i = AOA_ADV_TONE_OFFSET; i < AOA_ADV_LEN; i++)
    {
    advData[i] = 0xFF; // DF_extension, first 2 bytes are still for padding
    }
    }
  • Hi Alvin,

    I have looped in an expert, we will get back to you.
  • Hi Alvin:
    Thank you very much for your reply。

    You may not understand my problem. My purpose is: "Can the AOA tone be longer? How to do it?".
    Since the AOA project works on the BLE V5.0 version, the maximum broadcast data length can be set to 251 bytes.
    Can I increase the length of the AOA tone by setting the length of "AOA_ADV_LEN"?

    Best Regards
  • Hi XY,

    1) The AoA tone in 2.30 is defined to a fixed length and cannot be adjusted.
    2) The AoA examples for CC2640R2F is proprietary and is only intended for evaluation. It is not supported for production and is only intended to allow engineers to evaluate AoA before BLE5.1 was announced. We will soon support BLE5.1 on our CC26x2 class of device but do not have a timeline.
    3/4) No you cannot port this example to BLE5.0 as there are dependencies that have not been considered at the radio level that do not make it possible for you to do so.

    If you wish to evaluate a BLE5.1 AoA solution I suggest that you look for a future update to the SImpleLink CC13x2/CC26x2 SDK. For now, evaluation of AOA can be performed on the CC2640R2 code examples.

    That said, CC2640R2F SDK 2.40 and beyond is much closer to how true AoA will look on BLE5.1. It supports the CTE for instance in a connected state.
  • Hi,Evan:

    Thank you very much for your reply。
    I understand.

    Best Regards