mborgerson
Well-known member
I've been working with the PXP and CSI to collect and process camera images. Recently, I was writing a test pattern into a DMAMEM or EXTMEM buffer, then processing it with the PXP. It seems necessary to use an arm_dcache_flush_delete() before processing the buffer with the PXP. Otherwise, data written to the buffer may not be properly read by the PXP. Will I have the same issue if I transfer the test pattern to the buffer with memcpy()?
My question is this: Does memcpy test its source and destination addresses to see if they fall outside the DTCM on T4.X systems and manage the caches if necessary? Or is this cache management the responsibility of the sketch programmer?
My question is this: Does memcpy test its source and destination addresses to see if they fall outside the DTCM on T4.X systems and manage the caches if necessary? Or is this cache management the responsibility of the sketch programmer?