This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA2PXEVM: How to enabled RADAR related features in Processor SDK Linux

Part Number: TDA2PXEVM
Other Parts Discussed in Thread: SYSBIOS

Hi,

By default, PROCESSOR-SDK-RADAR runs SYSBIOS on all cores. But we have to run Linux on A15. I have downloaded PROCESSOR-SDK-VISION from http://software-dl.ti.com/processor-sdk-vision/esd/TDAx/vision-sdk/latest/index_FDS.html . I want to enable RADAR related features in this setup. Is it possible ? If yes, what are the steps ?

Requirement:

OS : Linux ( A15 ), SYSBIOS ( all other cores )

Features : Cascade Radar Capture, FFT etc

Thanks,

Darshan

  • Hi Darshan,

    It is quite complicated to enable Radar processing with Linux running on A15.

    You have to be very familiar with SDK build system, Link framework, and Use case.

    The high level steps are...

    - Add radar processing to the build. Currently, it is not build when A15 is running Linux.

    - Add support in AppCtrl Task to handle Radar process Link create configuration.

    - Create Radar use case on A15.

     

    Regards,
    Stanley

  • Hi Stanley,

    Thank you for your support. I am able to compile Object Detection usecase now with tda2xx_cascade_linux_radar configuration. But facing runtime issues. EVE FFT workQ function RadarFftWork_create gets blocked. I added logs to debug it turns out EVE is not getting reply from IPU2 for SYSTEM_COMMON_CMD_ALLOC_BUFFER command. This is needed for algorithm memory.

    This is issue doesn't seems to be specific to memory allocation. I tried to send SYSTEM_COMMON_CMD_CORE_STATUS command to IPU2 from RadarFftWork_create function, But that also gets blocked. Below is API arguments used. Whereas, Able to send CORE_STATUS command from same function to DSP1 & other EVEs.

    System_linkControl( SYSTEM_LINK_ID_IPU2, SYSTEM_COMMON_CMD_CORE_STATUS, 0, 0, TRUE);

    Please help in this regard.

    Thanks,

    Darshan

  • Can you check if IPU2 is running properly? Maybe IPU2 has crashed already with the modification.

    How did you create the use case?

    Did you base on ~/vision_sdk/apps/src/hlos/adas/src/usecases/cascade_radar_capture_linux_only and add the radar processing?