+ Reply to Thread
Results 1 to 3 of 3

Thread: Is it possible to extract the raw data in C of both antenas in different arrays

  1. #1
    New Member New Member Yassine is on a distinguished road
    Join Date
    Feb 2020

    Is it possible to extract the raw data in C of both antenas in different arrays

    I'm using the P2GO radar, and I'm trying to acces to both antennas raw data in C.
    What I've came across is the next code, but it doesnt refer to physical Antenna.

    * data_value_real = frame_start[(2 * ANTENNA_NUMBER ) *num_samples_per_chirp + SAMPLE_NUMBER];
    * data_value_imag = frame_start[(2 * ANTENNA_NUMBER + 1) *num_samples_per_chirp + SAMPLE_NUMBER];

    I tried to look into how the data is packed into the transport buffer:

    And I wanted to change the function parse_frame_info and see the total frame data and see if by looking at MSG_FRAME_DATA I could extract it.

    Any help would be very much appeciated.

  2. #2
    Beginner Beginner
    Infineon Employee
    Infineon Employee
    tinymanta is on a distinguished road
    Join Date
    Jan 2019
    From in the P2G code you can see, how the data is packed into the transport buffer:
    In function send_frame_data(…), in file EndpointRadarBase.c you can see that
    • 1st the signals per Antenna are interleaved
    • 2nd the Antennas
    • 3rd the chirps
    are wrapped into the message.

    So from the frame format it is would be possible to find the required samples.
    Important to know, that the comlib is providing already float values, so no need to care about the 12 bit packing.

    Best Regards,
    Last edited by tinymanta; Jul 3rd, 2020 at 03:33 AM.
    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
    New Member New Member zaheer is on a distinguished road
    Join Date
    Jul 2020
    Hi Yassine,
    Did you find any solution to the problem? I am also looking for the same solution. If you find any working solution, please share it here too. Thanks in anticipation.

+ Reply to Thread

Tags for this Thread


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.