Hi all, i had some problems on showing IQ data. how can i output my IQ values? im using 52833dk.
Hi all, i had some problems on showing IQ data. how can i output my IQ values? im using 52833dk.
Hi Zack_Lee
As i can see, we're both working on the same example and having the same issues. Do you successfully receive packet from tx example ? Because i do, but not data are coming out. Here's below my output from rx example on nrf52833dk with antenna matrix from Nordic.
*** Booting Zephyr OS build v2.6.0-rc1-ncs1-rc1 *** Starting Connectionless Locator Demo Bluetooth initialization...success Scan callbacks register...success. Periodic Advertising callbacks register...success. Start scanning...success Waiting for periodic advertising... [DEVICE]: 24:D4:13:1A:76:61 (random), AD evt type 5, Tx Pwr: 127, RSSI -43 DF Connectionless Beacon App C:0 S:0 D:0 SR:0 E:1 Prim: LE 1M, Secn: LE 2M, Interval: 0x0780 (2400 ms), SID: 0 success. Found periodic advertising. Creating Periodic Advertising Sync...success. Waiting for periodic sync... [DEVICE]: 7F:D0:DA:D4:CB:A1 (random), AD evt type 0, Tx Pwr: 127, RSSI -68 C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255 [DEVICE]: 7F:D0:DA:D4:CB:A1 (random), AD evt type 4, Tx Pwr: 127, RSSI -68 C:1 S:1 D:0 SR:1 E:0 Prim: LE 1M, Secn: No packets, Interval: 0x0000 (0 ms), SID: 255 PER_ADV_SYNC[0]: [DEVICE]: 24:D4:13:1A:76:61 (random) synced, Interval 0x0780 (2400 ms), PHY LE 2M success. Periodic sync established. Enable receiving of CTE... success. CTE receive enabled. Scan disable...Success. Waiting for periodic sync lost... PER_ADV_SYNC[0]: [DEVICE]: 24:D4:13:1A:76:61 (random), tx_power 127, RSSI -40, CTE AOA, data length 0, data: CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -400 PER_ADV_SYNC[0]: [DEVICE]: 24:D4:13:1A:76:61 (random), tx_power 127, RSSI -41, CTE AOA, data length 0, data: CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -410 PER_ADV_SYNC[0]: [DEVICE]: 24:D4:13:1A:76:61 (random), tx_power 127, RSSI -41, CTE AOA, data length 0, data: CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -410 PER_ADV_SYNC[0]: [DEVICE]: 24:D4:13:1A:76:61 (random), tx_power 127, RSSI -43, CTE AOA, data length 0, data: CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -430 PER_ADV_SYNC[0]: [DEVICE]: 24:D4:13:1A:76:61 (random), tx_power 127, RSSI -42, CTE AOA, data length 0, data: CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -420
The data length is 0 and i expect IQ data. Are you in this siutation Zack ?
Sorry for the trouble-post, but i though it's similar to your case so an unique answer from Nordic dev could help both of us.
Nathan
Hi Zack,
It's a data struct, not a function. For me, it is defined in main.c at ligne 53
static const char *cte_type2str(uint8_t type) { switch (type) { case BT_DF_CTE_TYPE_AOA: return "AOA"; case BT_DF_CTE_TYPE_AOD_1US: return "AOD 1 [us]"; case BT_DF_CTE_TYPE_AOD_2US: return "AOD 2 [us]"; case BT_DF_CTE_TYPE_NONE: return ""; default: return "Unknown"; } }
I use NRF SDK V1.6.0-rc2 on toolchain manager, do you use the same ?
Hi Zack,
It's a data struct, not a function. For me, it is defined in main.c at ligne 53
static const char *cte_type2str(uint8_t type) { switch (type) { case BT_DF_CTE_TYPE_AOA: return "AOA"; case BT_DF_CTE_TYPE_AOD_1US: return "AOD 1 [us]"; case BT_DF_CTE_TYPE_AOD_2US: return "AOD 2 [us]"; case BT_DF_CTE_TYPE_NONE: return ""; default: return "Unknown"; } }
I use NRF SDK V1.6.0-rc2 on toolchain manager, do you use the same ?
i download it from nrf_connect_sdk from github, i thought it should be the same
Maybe the problem come from here. I don't know which is best, but by toolchain manager it works fine for now. I suggest you to do the same.
yup im downloading now from toolchain thank you!