Hi, I am Marcous.
Recently I am doing the AoA project in the nrf52833 board. I have now got a antenna matrix, sky13322-375LF, a board with four antennas in it and 4 gpios control antennas' connect with RFC.
Actually, I have connected those gpios with the gpios in the nrf52833, which are p0.03, p0.04, p0.28, and p0.29. And I changed the ant_pattern[] in the main.c to [0x1, 0x2, 0x4, 0x8]. However, from the phase I calculated, it seemed no difference between the data with antenna matrix and the one without it.
As the above figure shows, the first and second subplot shows the phase with antenna matrix connecting to it, the last one shows the phase without antenna matrix.They all have 8 reference slots in the beginning, and next are 37 samples. They seemd exactly the same, I wonder what's wrong with it.