- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to develop a firmware which can send target information such as distance, speed and angle to USB using VCP. However, I still do not understand how I can do that using the application note provided.
How does the packet transfer occur in the default firmware ? Is it only when host GUI sends some request to the board ? How can I see these packets using an emulator ?
I would also like to know if it is possible to develop a simple application which can continuously send the target information.
Kindly provide me some information regarding this. If you do have any internal code maintained as example references for such simple applications, please do share it with me.
On a sidenote, I tried to debug the application by adding XMC_DEBUG prints in DAVE IDE based on a forum post I had found, but it did not work. Kindly let me know how to resolve that as well.
Thanks
Solved! Go to Solution.
- Labels:
-
Radar Sensor
- Tags:
- demo position2go
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ab11 ,
For seeing an example implementation, first you need to download Infineon Developer Center using the link.
There you search for Position2Go under Manage Tools, and install the application.
Open the Position2Go application and click on Download under Software & Documentation. This will download an P2G-HW-SW.exe.Install the application and you will find a folder named IFX_P2G-HW-SW_V1.0.4 (version number may be different).
Follow the path IFX_P2G-HW-SW_V1.0.4\Firmware_Software\Communication Library\ComLib_C_Interface\examples , you will get a file named extract_raw_data.c , an example communicating with the board.
There are MATLAB and DAVE projects also in the Firmware_Software folder. Explore them.
For compiling the project you need a cmake file, which you can find in the following thread.
https://community.infineon.com/t5/Radar-sensor/Error-compile-Com-C-lib-position2go/m-p/335314#M190
For further understanding how the receiver data is interleaved, go through the following threads:
https://community.infineon.com/t5/Radar-sensor/Demo-Position2Go-Board/m-p/296420#M74
https://community.infineon.com/t5/Radar-sensor/Is-it-possible-to-extract-the-raw-data-in-C-of-both-a...
If you have any further questions do reach out.
Thanks and regards,
Yashraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ab11 ,
For seeing an example implementation, first you need to download Infineon Developer Center using the link.
There you search for Position2Go under Manage Tools, and install the application.
Open the Position2Go application and click on Download under Software & Documentation. This will download an P2G-HW-SW.exe.Install the application and you will find a folder named IFX_P2G-HW-SW_V1.0.4 (version number may be different).
Follow the path IFX_P2G-HW-SW_V1.0.4\Firmware_Software\Communication Library\ComLib_C_Interface\examples , you will get a file named extract_raw_data.c , an example communicating with the board.
There are MATLAB and DAVE projects also in the Firmware_Software folder. Explore them.
For compiling the project you need a cmake file, which you can find in the following thread.
https://community.infineon.com/t5/Radar-sensor/Error-compile-Com-C-lib-position2go/m-p/335314#M190
For further understanding how the receiver data is interleaved, go through the following threads:
https://community.infineon.com/t5/Radar-sensor/Demo-Position2Go-Board/m-p/296420#M74
https://community.infineon.com/t5/Radar-sensor/Is-it-possible-to-extract-the-raw-data-in-C-of-both-a...
If you have any further questions do reach out.
Thanks and regards,
Yashraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to obtain frame matrix data in ComLib_C_Interface just like the example application in Matlab ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ab11,
In the documentation of CommLib_C_Interface you can go through the Frame_Info_t reference, which will help you process and extract the received frame data.
C:/IFX_P2G-HW-SW_V1.0.4/Firmware_Software/Communication%20Library/ComLib_C_Interface/documentation/html/index.html,
The sample_data in Frame_Info_t struct holds the radar frame data from the received message. Which is similar to the mxRawData matrix in MATLAB example.
Thanks and regards,
Yashraj