infineon4engi@twitter infineon4engineers infineon@linkedin infineon@youtube
twitter Facebook Linkedin Youtube

+ Reply to Thread
Results 1 to 2 of 2

Thread: Distane2Go Question

Hybrid View

  1. #1
    Beginner Beginner purestarman is on a distinguished road
    Join Date
    Aug 2020
    Posts
    3
    Points
    50

    Distane2Go Question

    Hi.

    I study the Distance2Go kit.

    But,

    There are many parts that I do not understand since I used the xmc4200 chip and dave tool for the first time.

    I am currently watching FMCW PROJECT.

    I am looking at the source based on the MAIN() Function.

    This is what I have understood so far.

    1. The process_run() function seems to play a role to display in the Radar GUI.

    2. The usb processing part of the process_run() function is processed according to the usb communication structure.

    3. It seems to process data received by RF with DMA_Event_Handler.

    Is the content I understand so far correct?

    And I need a little more detailed explanation of process_run function and DMA_Event_Handler.

    Help. please

  2. #2
    Intermediate Intermediate
    Infineon Employee
    Infineon Employee
    tinymanta is on a distinguished road
    Join Date
    Jan 2019
    Location
    Munich
    Posts
    30
    Points
    331.25
    Hello purestarman,

    Please find below explanations to your questions:

    1. Within the D2G firmware project, the Host Communication library contains the USB interface on host communication protocol drivers.
    protocol_run() function enables mainly the D2G board (XMC device) to communicate with the Radar GUI PC application via USB CDC device
    class defining a number of Radar USB Endpoints for data acquisition. The protocol processes received data in this function and dispatches messages to the endpoints. Further information can be found on Protocol.h under \HostCommunication\include\ folder.

    2. Within the ComLib protocol all data is sent/received through the communication stream interface, for more details please refer to the Chapter 4.1 of this User Manual

    3. Within the D2G firmware 2 DMA channels are configured for the Rx complex data samples (Q1, I1).
    When the sampling timer is triggered, the ADC starts sampling data form Rx antenna. Once an ADC sample is ready to be moved to acquisition buffer, DMA transfers are triggered on the VADC result ready event.
    This task is repetitive; it will end once reaching the number of required samples per chirp. At that moment, the DMA will stop the transfer process by raising a transfer complete interrupt.

    Hope that helps.

    Best Regards,
    Montassar.
    Last edited by tinymanta; Sep 11th, 2020 at 02:12 AM.

+ Reply to 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.