Antenna pattern AoD

I'm using nRF5340 DK for BLE, AoD (Connection). I am also using the TX example from nordic. I can add extra antennas to the ant_patterns[] (up to 17), with no errors. I also changed #define BLE_ANT_PATTERN to 17. But in reality, while connecting to the chip (through the terminal (Linux)), The maximum number I could change is 10. Is there a pre-defined number somewhere else? 

I also changed CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN to 17, as you mentioned for nrf52833dk_nrf52833.config for My board (nRF5340) [in the child image).

I am using zephyr and west directly on a Linux VM, without the SDK. When the length is longer than 10, it gives me an error that I'm passing too many arguments. 

Could you pls help me with the error? 

Best, 

Parents
  • Hi

    I assume you're using the Direction Finding peripheral sample project, correct? And are you using the SoftDevice controller or the Zephyr controller? Can you check what

    dfe-antenna-num is set to in your nrf5340dk_nrf5340.overlay file? In our sample project this is set to 12 for the nRF52833 and nRF53 builds, but 10 for the nRF52820 overlay file. This is the first thing that comes to mind when you ask for why more than 10 defined antennas would cause issues. However I don't see why it wouldn't trig until you set the antenna pattern above 17 though, so I might have to ask the developers if there is some setting I'm not aware of here. But please, first answer my questions and check what dfe-antenna-num is set to in your application.

    Best regards,

    Simon

Reply
  • Hi

    I assume you're using the Direction Finding peripheral sample project, correct? And are you using the SoftDevice controller or the Zephyr controller? Can you check what

    dfe-antenna-num is set to in your nrf5340dk_nrf5340.overlay file? In our sample project this is set to 12 for the nRF52833 and nRF53 builds, but 10 for the nRF52820 overlay file. This is the first thing that comes to mind when you ask for why more than 10 defined antennas would cause issues. However I don't see why it wouldn't trig until you set the antenna pattern above 17 though, so I might have to ask the developers if there is some setting I'm not aware of here. But please, first answer my questions and check what dfe-antenna-num is set to in your application.

    Best regards,

    Simon

Children
No Data
Related