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.

TDA4VM: How to use r5f CPU?

Part Number: TDA4VM

HiIn TDA4VM, we just saw specific target for a72, c66,c71(), no target for r5f. Detail as follow:

#define  TIVX_TARGET_DSP1   "DSP-1"
  Name for DSP target class, instance 1. 
 
#define  TIVX_TARGET_DSP2   "DSP-2"
  Name for DSP target class, instance 2. 
 
#define  TIVX_TARGET_IPU1_0   "IPU1-0"
  Name for IPU1 target class, core 0. 
 
#define  TIVX_TARGET_IPU1_1   "IPU1-1"
  Name for IPU1 target class, core 1. 
 
#define  TIVX_TARGET_IPU2   "IPU2"
  Name for IPU2 target class. 
 
#define  TIVX_TARGET_A72_0   "A72-0"
  Target name for A72_0. 
 
#define  TIVX_TARGET_DSP_C7_1   "DSP_C7-1"

So if we wanna create a custom target kernel for r5f(OPENVX), how to do?

And if we wanna create single application for r5f(no OPENVX), how to do?

Thanks,

FU

  • Hello,

    The R5F cores are the IPU1_0 and IPU1_1 which are the MCU2_1 and MCU2_0, respectively.

    With regard to creating an application for the R5F using OpenVX, OpenVX supports applications with the host mode on the A72 only.  However, you can create a target kernel on the R5F then create a graph on the A72 which includes your newly created target kernel on R5F.  We would recommend using the PyTIOVX tool to generate a new kernel to run on the R5F.

    Regards,

    Lucas

  • fu liu1 said:
    HiIn TDA4VM, we just saw specific target for a72, c66,c71(), no target for r5f. Detail as follow:

    We use the IPUx to map to the MCU R5Fs where our VPAC and DMPAC HWAs are running from.  We currently don't have TIOVX running (or a TIOVX mapping listed) for the MCU safety island.  Is this what you are asking about?

    fu liu1 said:
    So if we wanna create a custom target kernel for r5f(OPENVX), how to do?

    You can reference the user guide section here for details for creating a custom target kernel in general.  You can use the IPU targets for R5F.  Please reference any of the kernels we have for VPAC/DMPAC to see how they use the IPU target.  Also, the 2A algorithm node from the imaging component of the sdk is a software node running on R5F.

    fu liu1 said:
    And if we wanna create single application for r5f(no OPENVX), how to do?

    It depends on which R5F you are referring to.  For the MCU SS (safety island), you can refer to the mcusw documentation.