Hello,
We want to capture image data which is coming on parallel port on nRF52840 dk. The camera sensor we are using is OV2640. The parallel port (8-bit) data is coming to dk at the frequency of 1MHz. We are using PPI with GPIOTE event and EGU as a task. We are able to count the pclk from the camera module in EGU IRQHandler. However we want to capture the image data which will be around 6kB.
What is the feasible way to do it? As I read the data from parallel port by using array, it gets overflow and code stops execution as we can see while debugging. Is the data storing in flash memory feasible as we can see in product specification, the write time for 32-bit word is 41 micro seconds?
Also is there any reference to clock cycle consumed for each instruction? We want to calculate it for our EGU subroutine.
Thanks.