how to get the IQ from my serial?

Yes, i have get the IQ samples form my serial. I use the Putty solfware to get the iIQ sample.but i want to collect iq to MQTT or to get it it a file.The next is my IQ sample in Putty in COM25.

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]: 3E:08:7A:61:64:9B (random), tx_power 127, RSSI -63, CTE AOA, data length 0, data:

CTE[0]: samples count 45, cte type AOA, slot durations: 2 [us], packet status CRC OK, RSSI -630

IQ sample content :

sample[0] = I:11 Q:13

sample[1] = I:-11 Q:-15

sample[2] = I:9 Q:14

sample[3] = I:-10 Q:-16

sample[4] = I:8 Q:14

sample[5] = I:-9 Q:-14

sample[6] = I:6 Q:15

sample[7] = I:-8 Q:-16

sample[8] = I:-3 Q:-13

sample[9] = I:-11 Q:3

sample[10] = I:9 Q:13

sample[11] = I:1 Q:8

sample[12] = I:3 Q:1

sample[13] = I:-6 Q:-1

sample[14] = I:-7 Q:15

sample[15] = I:-2 Q:0

sample[16] = I:1 Q:14

sample[17] = I:5 Q:6

sample[18] = I:-13 Q:3

sample[19] = I:-1 Q:1

sample[20] = I:-2 Q:3

sample[21] = I:0 Q:6

sample[22] = I:4 Q:-1

sample[23] = I:12 Q:-2

sample[24] = I:-4 Q:-12

sample[25] = I:-15 Q:8

sample[26] = I:-8 Q:1

sample[27] = I:-2 Q:3

sample[28] = I:0 Q:-6

sample[29] = I:-17 Q:-5

sample[30] = I:-2 Q:-2

sample[31] = I:-15 Q:1

sample[32] = I:-7 Q:7

sample[33] = I:-3 Q:-14

sample[34] = I:7 Q:-23

sample[35] = I:10 Q:1

sample[36] = I:20 Q:-16

sample[37] = I:-19 Q:-16

sample[38] = I:-6 Q:-10

sample[39] = I:55 Q:-15

sample[40] = I:-23 Q:25

sample[41] = I:2 Q:-12

sample[42] = I:0 Q:-3

sample[43] = I:10 Q:-1

sample[44] = I:-19 Q:-9

I use the pyserial moudle to get the IQ sample from COM25.But I get the empty in my terminal.

my python script is here.

import serial

port = "COM25"
baudrate = 115200
bytesize = 8
parity = 'N'
stopbits = 1
timeout=0.1

ser = serial.Serial(port,baudrate,bytesize,parity,stopbits,timeout)

# print(ser)

ser_read = ser.readlines(10000)
print(ser_read)

my output in terminal in pycharm.

C:\Python38\python.exe I:/ti/simplelink_cc13xx_cc26xx_sdk_5_40_00_40/tools/ble5stack/rtls_agent/examples/pyserial.py
[]

I am looking forward to get your answer.Thanks.if you can get the iq sample,i feel very grateful.

Parents
  • Hi

    Currently we do not have an interface to get the IQ sample for the solution in NCS. You can contact the regional sales manager (RSM) of your area to get information on whether this is planned for or not, as we don't discuss possible future applications/features we don't know anything about here on DevZone. If you don't know who the RSM is you can get in touch by filling in our sales related questions form.

    I'm sorry, but I still don't understand your predicament of the IQ samples only being printed once. What happens after the first sample period, do you start transmission again or does the advertiser/scanner stop running?

    Best regards,

    Simon

Reply
  • Hi

    Currently we do not have an interface to get the IQ sample for the solution in NCS. You can contact the regional sales manager (RSM) of your area to get information on whether this is planned for or not, as we don't discuss possible future applications/features we don't know anything about here on DevZone. If you don't know who the RSM is you can get in touch by filling in our sales related questions form.

    I'm sorry, but I still don't understand your predicament of the IQ samples only being printed once. What happens after the first sample period, do you start transmission again or does the advertiser/scanner stop running?

    Best regards,

    Simon

Children
  • ok,thanks for your advice.what you mean are that you don't supply the interface to get the IQ sample.

    I understand  some information about MQTT.The silab have adopted that using MQTT as a receiver get the iq samples.

    "I'm sorry, but I still don't understand your predicament of the IQ samples only being printed once. What happens after the first sample period, do you start transmission again or does the advertiser/scanner stop running?" means that  every running  the procedure  you noly get the samples.when i see that output in serial of Rx.But we know that iq sample after a  period IQ sample can be sent to serial.but my procedure can only get one period.

    thanks.do you know the ISP1907 Angle of Arrival Demo Kit ?if you know , please tell me the more information.

Related