Discussion in 'X2 & X4 SoC' started by lyrik, Sep 12, 2017.
I want to get the raw data from X4 to do some analyze, but don't know how to do that.
You can get the baseband or RF data from radar sensors X4M200/X4M300/X4M03, you can record the data with XeThru Explorer or use the APIs from Module Connector. Have a look at this link to get them: https://www.xethru.com/community/resources/categories/xethru-resources.2/.
Charlie, Thanks for your answer.
Hello Charlie, I have got a X4M03, but can not use Xethru explorer to view the signal from the device. Do you have any suggestion for this?
Hi lyrik, X4M03 is not a ready-to-use sensor, it only provides raw data from the original XEP Firmware. You can start from python examples for XEP to verify X4M03. There is also one example shows how to develop your own profile based on XEP, you can find it here: XEP X4 Distance Demo.
Hi Charlie – I am trying to stream baseband Amplitude and phase (or I/Q) from either X4M300 or XM4200 using python script and matlab/python engine (i.e.,>> matlab.engine.shareEngine).
For pulsed radar data, I had limited success following the steps of example
I was wondering how can I get the same thing for basband data?
I have been looking into the documents and I found read_message_baseband_ap() and read_message_baseband_iq(), but I was not able to make use of them. Is there any simple python script that downloads these info from the buffer que?
I appreciate any help you can provide,
Did you try the XEP_plot_record_playback.py script, it supports based band data plot out, recording and playback for all the sensors(X4M03,X4M200,X4M300), since they are developed on base of XEP.
Hi Charlie – No, I will. It is a good exercise for adapting to the file formats. But my objective was more of live streaming in matlab environment. Similar to what example "x4_pulsedoppler.py" achieves.
Thanks for your comment
When X4M300/M200 was connected to Win7-PC, then ,following error message is displayed.
"Module upgrade failed! Unable to find device in bootloader mode."
But, in case of Win10-PC, this is not displayed and correctly run the XeThru explorer.
Please tell us countermeasure for this matter.
Hi Shuji Konishi, this problem sounds quite strange. I saw some users complain about win7 driver before, but I believe the XE on your win7-pc has successfully recognized X4M300 and X4M200. The "Module upgrade failed! Unable to find device in bootloader mode." error is more like something wrong with firmware, while on you win10-PC it can successfully run.
Do you have another Win7-PC to do test? I want to know if this is a specific problem on your Win7-PC. Also, pay attention to the USB-cable, try to update your Win7-PC and make sure you are running on the latest XeThru Explorer. Please check the serial number on the sensor and send to me if you still have this problem.
Thank you for your subscription!