AoA anntenna switch 'ant_patterns[]' CAN NOT work well?

software: ncs v1.8.0

hardware: my test nrf52833 board, with 9 antennas.

I do experiment like this:

aoa rx:  in "nrf52833dk_nrf52833.overlay" file, I set  "dfe-antenna-num = <16>;" and "dfe-pdu-antenna = <0xB>;"

             in "main.c" file, I set "const static uint8_t ant_patterns[] = {0x0B, 0x04, 0x0C, 0x04, 0x0E, 0x04, 0x00, 0x04, 0x02, 0x04, 0x07, 0x04, 0x08, 0x04, 0x0A, 0x04};"

QUESTION:

when I run the code, the callback function 'recv_cb' can been executed, but callback function 'cte_recv_cb' CAN NOT been executed, so I can not get IQ samples data. BUT, I used 'dfe-antenna-num = <12>'; is ok also. then 'dfe-antenna-num = <13>'/<14>/<15>/<16>;are not ok. why like this?

thks.

 

Parents
  • Hi

    Have you checked out the ReadMe.rst of the Direction Finding connectionless locator sample? There is a section there explaining in detail how to do antenna matrix configuration for AoA mode, and how to set up the Antenna patterns.

    What exactly happens when the callback function "can't be executed" do you get some kind of error code or indication as to what is happening?

    Best regards,

    Simon

  • Hi Sion, thank you.

    1. I checked and can also understand ReadMe.rs. It says we can use 16 antennas(0~15).

    2. "can't be executed", it means that, function can not been called auto, and there is no errors, the code can run, such as 'recv_cb', I can get CTE data, 'scan_recv', I can scan other tags. Only can not get IQ samples.

    thks again.

Reply Children
No Data
Related