infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 7 of 7

Thread: Infineon's Distance2Go Radar compilation issues

  1. #1
    Beginner Beginner zmjafri is on a distinguished road
    Join Date
    Sep 2018
    Posts
    10
    Points
    140

    Infineon's Distance2Go Radar compilation issues

    Good afternoon,

    I have installed DAVE and the necessary files to build projects using the 24Ghz Distance2Go radar (XMC 4200 Microcontroller).

    Infineon provides data extraction libraries that we can run on Dave; however, when I compile the software, the build fails because apparently the COM.c files are undefined.

    All the necessary files are indeed defined and imported, however, it seems that Infineon's own software is not able to detect the radar connected to the computer.

    Has anyone been able to run Infineon's data extract library in Dave and would be willing to help?

    Thanks.

  2. #2
    Beginner Beginner
    Infineon Employee
    Infineon Employee
    murshadi is on a distinguished road
    Join Date
    Sep 2018
    Posts
    3
    Points
    80
    Hi,

    If you got the DAVE projects from MyICP for Distance2Go, then these are all Firmware projects, used to configure the Distance2Go board and to get the raw ADC data and to be displayed on radar GUI. But if you are talking about the Host Communication library in C where raw ADC data example is provided, then that is not a DAVE project rather a C project at PC in Visual studio for example.

    Can you name the DAVE project you are using for Distance2Go, e.g. is it Radar_D2G_FW or Radar_D2G_FMCW ..
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    Beginner Beginner zmjafri is on a distinguished road
    Join Date
    Sep 2018
    Posts
    10
    Points
    140
    Hello Murshadi,

    You are completely correct -- My apologies, this would indeed by a C project. The DAVE projects, like the Radar_D2G_FMCW, are building and compiling correctly.

    However, upon copying the code within the communication library, such as the extract_target_data, I am having compilation errors. (I attached an image) More specifically, the errors are that the COM methods are undefined ( it seems that the radar isn't being detected?)Attachment 3626Attachment 3626. Basically, what I did was create a new dave project, copy the contents of extract_target_data.c in main.c, and then also copied all the necessary include files in src or inc folders. If I could get help running the extract_target_data.c file, that would help immensely.

    Thank you very much.

  4. #4
    Beginner Beginner zmjafri is on a distinguished road
    Join Date
    Sep 2018
    Posts
    10
    Points
    140
    ^ Asides from this issue, is there a way to access the data in the radar GUI ? For example, after running the radar GUI, is there no way to export the distances vs FFT magnitudes? Currently, if I open the.fdd file, I just get FFT magnitudes but no distances.
    Ideally, if we can get some software that allows us to document the data, that would be useful..
    Much appreciated,

    Zain Jafri

  5. #5
    Beginner Beginner
    Infineon Employee
    Infineon Employee
    murshadi is on a distinguished road
    Join Date
    Sep 2018
    Posts
    3
    Points
    80
    Hi,

    Yes there are ways to capture raw data and target data from Radar GUI.

    From the settings menu, you can configure the recording settings. Here you can select the raw ADC data and Target Data and Spectrum as well. You can then playback this data in the radar GUI or used Matlab to extract this data as recording format is explained in the Radar GUI help under top right corner.

    We are planning to release a new Firmware and Radar GUI update in November this year. Stay tuned, as this release will contain new Radar GUI features plus improved Distance2Go Firmware and algorithms.

    BR,
    Murshadi
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  6. #6
    Beginner Beginner
    Infineon Employee
    Infineon Employee
    murshadi is on a distinguished road
    Join Date
    Sep 2018
    Posts
    3
    Points
    80
    Sorry, I could not open your attach files
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  7. #7
    Beginner Beginner zmjafri is on a distinguished road
    Join Date
    Sep 2018
    Posts
    10
    Points
    140
    Good morning Murshadi,

    Essentially I would like to have the data of all distances vs all FFT magnitudes. So here's what I have tried and the issues that come up:
    1) I used Matlab with the libraries you guys have provided ; however, that does not give me FFT magnitudes of all distance ranges, but only all targets. Moreover, the raw data on the other hand,
    is just complex numbers which seem to have no value in their raw state.
    2) I created a dave project, copied the contents of main.c from the host communication library called extract_raw_data.c ; however, upon compilation, the errors say that the com_get_data or
    anything to do with com is undefined. I have indeed copied all the include files, but the errors in compilation won't go away. (If for troubleshooting you need more information , please let me know !)
    3) i exported spectrum data from the RADR GUI ; however, while that gives me all FFT magnitudes within a range (which is great!), the associated distances aren't present in the export.

    Overall, I would like to get *all* distances vs *all* FFT magnitudes (exactly what the RADAR GUI shows) but in an processable format. For example, imagine one column that shows distances
    within a range and another column with the associated FFT magnitudes

    Again, I really appreciate your replies. I hope to hear from you guys soon.

    Kind Regards,
    Zain

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.