Has anyone successfully used ISI on the SAM V71 Xplained board? Atmel support is still working on app notes for ISI on this board. Code for image capture shown below. An assistance would be greatly appreciated!
Code: Select all
ISI->ISI_DMA_CHDR |= ISI_DMA_CHDR_P_CH_DIS; ISI->ISI_DMA_CHER |= ISI_DMA_CHER_C_CH_EN; for (delay = 0; delay < 0xffff; delay++); ISI->ISI_CR |= ISI_CR_ISI_CDC; while(( ISI->ISI_SR & ISI_SR_CDC_PND) != ISI_SR_CDC_PND); while(( ISI->ISI_SR & ISI_SR_CXFR_DONE) != ISI_SR_CXFR_DONE); // CAUSING INFINITE LOOP for (delay = 0; delay < 0x5ffff; delay++);