Part Number: BOOSTXL-AOA
Hello,
I have a question about "AOA_NUM_ANTENNAS" in "AOA.h" file.
(Please see the image)
AOA_NUM_ANTENNAS is defined as 3. How many can I increase the value AOA_NUM_ANTENNAS?
Please advise.
Thanks, Shoko
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.
Part Number: BOOSTXL-AOA
Hello,
I have a question about "AOA_NUM_ANTENNAS" in "AOA.h" file.
(Please see the image)
AOA_NUM_ANTENNAS is defined as 3. How many can I increase the value AOA_NUM_ANTENNAS?
Please advise.
Thanks, Shoko
Hi Shoko,
The value defined for AOA_NUM_ANTENNAS must remain consistent with the number of antennas physically on your antenna array. With that said, I don't really see any limit to this number.
If you modify AOA_NUM_ANTENNAS value, you need to modify other code pieces too. For example you need more pins for antennas, you have to update the antenna patterns, you have to update the antennas pairs...
I hope this will help,
Regards,
Hi Clement,
Thanks for your response.
If I modify AOA_NUM_ANTENNAS value, please let me know which codes should I change?
If I use LAUNCHXL-CC2640R2 without changing the patterns, how many control pin I can use?
Of coruse, I will update the antenna patterns of BOOSTXL-AoA.
Can I use A0 to A7 pins, or more on LAUNCHXL-CC2640R2? (Please see the image)
Thanks, Shoko
Hi Shoko,
I encourage you to have a look to the User Guide (stored in your SDK in \docs) to have more details on the modification required. (just using my memory: at least the functions AOA_openPins() and AOA_getPairAngles() need to be updated, but there might be more).
Regarding the pins A0 to A7, in theory, nothing prevent you to use them. However, you have to first check if they are not already in use.
To finish, I would like to warn you about a potential problem: you could run into some timing issues if you add too much antennas. In fact each continuous tone has a given length and you have to be sure to have enough time to sample all the antennas.
Best regards,