Angle of arrival application to see switching on nrf52833 board

Hello , I have a problem on angle of arrival application to see switching nrf52833 board

I use nrf52833 dev board. I use 2.0.0 as sdk version. I use nrf/samples/Bluetooth/direction_finding_connectionless_rx .

I can’t see overlay-aoa.conf in Kconfig. There is aod-overlay.conf. So I only choose boards\nrf52833dk_nrf52833.conf.

I flashed my nrf52833 board. But I couldn’t see switching at pin3,pin4, pin28 or pin29 using oscilloscope.

 ---------------------------------------------------------------------------------

Nrf52833dk_nrf52833.conf file is at below

---------------------------------------------------------------------------------

Nrf52833dk_nrf52833.overlay file is at below

---------------------------------------------------------------------------------

I was expecting to see overlay-aoa.conf file. Because I use rx . Am I wrong ?

There is overlay-aod.conf file and you can see at below

---------------------------------------------------------------------------------

Prj.conf file is at below

Here in general

  • I am using 4 antenna with switching circuit.

    My rx configuration is below

    nrf52833.overlay

    main.c

    overlay-aod.conf is coming as a default for rx example. Is it correct? I already tried to change with aoa version(no result).  

    prj.conf

    sample.yaml

    My output:

    success. Periodic sync established.
    Enable receiving of CTE...
    success. CTE receive enabled.
    Scan disable...Success.
    Waiting for periodic sync lost...
    CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -550
    CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -520
    CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -520
    CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -520
    CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -520
    CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -580
    CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -520
    CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -520
    CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -520
    CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -520
    CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -590

    I swill can't see switching on nrf gpio. I would be happy , if you help me to find where is the problem

  • Hi,

    Can you add these lines to prj.conf file and evaluate the results again?

    CONFIG_BT_CTLR_DF=y
    CONFIG_BT_CTLR_DF_ANT_SWITCH_RX=y
    CONFIG_BT_CTLR_DF_SCAN_CTE_RX=y

    -------------------------------------------------------------------------------------------------

    There is no overlay-aoa.conf file, by default it will be AoA and switching to AoD needs using an extra overlay file.

    -------------------------------------------------------------------------------------------------

    And are you sure that you are using correct sampling rates and triggers to see the switching pinouts? You can decrease the periodic interval of transmitter to receive more CTE signals at receiver side (so more switching will be visible) to ensure your chance to visit a change on a pin becomes higher.

  • Thank you very much all of you. I can see switching. I was expecting continuous high switching. But now I understood. I can see switching in every 2,4 seconds.

  • Update: I can see datas as well.

    CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -600
    IQ sample content :
    sample[0] = I:-8 Q:7
    sample[1] = I:7 Q:-8
    sample[2] = I:-7 Q:7
    sample[3] = I:5 Q:-10
    sample[4] = I:-5 Q:9
    sample[5] = I:5 Q:-10
    sample[6] = I:-6 Q:8
    sample[7] = I:4 Q:-10
    sample[8] = I:-11 Q:-23
    sample[9] = I:-33 Q:-25
    sample[10] = I:-6 Q:-4
    sample[11] = I:-25 Q:-6
    sample[12] = I:-42 Q:3
    sample[13] = I:-6 Q:0
    sample[14] = I:-23 Q:8
    sample[15] = I:-29 Q:30
    sample[16] = I:-5 Q:4
    sample[17] = I:-14 Q:21
    sample[18] = I:-6 Q:42
    sample[19] = I:-1 Q:6
    sample[20] = I:4 Q:24
    sample[21] = I:25 Q:34
    sample[22] = I:3 Q:5
    sample[23] = I:20 Q:15
    sample[24] = I:39 Q:10
    sample[25] = I:6 Q:1
    sample[26] = I:24 Q:3
    sample[27] = I:37 Q:-17
    sample[28] = I:5 Q:-3
    sample[29] = I:18 Q:-16
    sample[30] = I:20 Q:-37
    sample[31] = I:2 Q:-6
    sample[32] = I:5 Q:-25
    sample[33] = I:-9 Q:-41
    sample[34] = I:-2 Q:-7
    sample[35] = I:-11 Q:-23
    sample[36] = I:-33 Q:-26
    sample[37] = I:-5 Q:-4
    sample[38] = I:-24 Q:-10
    sample[39] = I:-42 Q:-1
    sample[40] = I:-7 Q:0
    sample[41] = I:-24 Q:7
    sample[42] = I:-30 Q:29
    sample[43] = I:-5 Q:4
    sample[44] = I:-14 Q:21

  • Hallo,

    I'm facing the same issue you had. Could you let me know how you solved it?

     

Related