Unable to perform IQ sampling normally

SW version :2.4.0
HW revision: nRF52833 development board, PCA20054 Direction Finding Antenna Board 1_0_0
I use the routine director_finding_central  and  director_finding_periopheral for IQ sampling, and can obtain IQ sampling data.
When I put the original
static const uint8_t ant_patterns[] = { 0x2, 0x0, 0x5, 0x6, 0x1, 0x4,
0xC, 0x9, 0xE, 0xD, 0x8, 0xA };
Change to
static const uint8_t ant_patterns[] = { 0xC, 0x9, 0xE, 0xD, 0x8, 0xA,
0x2, 0x0, 0x5, 0x6, 0x1, 0x4 };
The Bluetooth connection will disconnect, making it impossible to perform normal IQ sampling.
May I ask why this situation has occurred?


Below is the serial port output

Parents
  • Hi

    Yes, it should be possible to get usable IQ samples from other antenna switching patterns as well, but the default one is the optimal one since it does one corner at a time. 

    I'm afraid the accurate Chinese description doesn't help much since I don't know Chinese, but I think what you need to do here is to make sure you match up the antenna switches to the pattern you're actually setting. You need to make sure the correct switch is used so that the application switches to the right antenna when doing sampling on the central side. I'm guessing the disconnections are caused by a timeout because the device switches to the incorrect antennas and thus not catching the expected data.

    Best regards,

    Simon

Reply
  • Hi

    Yes, it should be possible to get usable IQ samples from other antenna switching patterns as well, but the default one is the optimal one since it does one corner at a time. 

    I'm afraid the accurate Chinese description doesn't help much since I don't know Chinese, but I think what you need to do here is to make sure you match up the antenna switches to the pattern you're actually setting. You need to make sure the correct switch is used so that the application switches to the right antenna when doing sampling on the central side. I'm guessing the disconnections are caused by a timeout because the device switches to the incorrect antennas and thus not catching the expected data.

    Best regards,

    Simon

Children
No Data
Related