AnsweredAssumed Answered

(BF609)Can I run PVP Camera Pipe in Core 0 and Memory Pipe in Core 1 simultaniously?

Question asked by Kaiden on Nov 24, 2016
Latest reply on Jan 4, 2017 by Prashant

I try to use Camera Pipe and Memory Pipe at the same time

 

when I run both of them in Core0, it run perfectly

 

but when I run Camera Pipe in Core0 and Memory Pipe at Core1

Camera Pipe works and Memory Pipe doesn't

it shows error code 0x000000005(ADI_PVP_INVALID_HANDLE)

I am using the same ADI_PVP_HANDLE for both camera pipe and memory pipe (shown as below)

 

##############################

#pragma section("sdram_bank0")
ADI_PVP_HANDLE ghPVPDevice;

##############################

 

 

where the error code happen:

----------------------------------------------------------------------------------------------------------------------------

void PVP_MODMP_Reset(void)

{
   eResult = PVP_MODMP_Config_Create(ghMemoryPipe);
   if (eResult != ADI_PVP_SUCCESS) {
   printf("PvpCreateMOD0_Config Failed to initialize modules \nFailure - 0x%08X\n",eResult);
   return;
   }

   ...................

}

 

 

ADI_PVP_RESULT PVP_MODMP_Config_Create(ADI_PVP_PIPE_HANDLE hPipe)

{

   ADI_PVP_RESULT eResult;

   check_PVP_MODMP_Config_Create = 0;

   eResult = adi_pvp_CreatePipeConfig(hPipe, /* Pipe handle for which configuration to be created */
   ConfMem_MP, /* Memory for the configuration */
   ADI_PVP_CONF_MEM_SIZE, /* Size of the given memory in bytes */
   &PVP_FBSD_Conf /* Pointer to the configuration handle */
   );

 

   if (eResult != ADI_PVP_SUCCESS) {
   check_PVP_MODMP_Config_Create = check_PVP_MODMP_Config_Create+1;
   printf("Failed to create the configuration 0x%08X\n", eResult);
   return eResult;
   }

   .................

}

-----------------------------------------------------------------------------------------------------------------------------

 

 

I've seen this thread

Dual-core PVP? 

it says "No, that's not possible. BF609/8 processors contain a single instance (hardware block) of the PVP. "

does it imply that its impossible to run camera pipe in core0 and memory in core1 at the same time?

 

 

 

I really need some help here

thx~

Outcomes