K20 NTSC
Channel: Eli Hughes
Date: 2012-07-23

1.)  This is a basic demo of an NTSC camera being brought in using the a combination of the ADC,  port interrupts and DMA transfers.
2.)   I *ahem* overclock the ADC to 24MHz (8-bit, .9uS Sample Time) to get some extra resolution for a 64x64 pixel image (the first 8 columns are junk as they contain color burst data*)
3.)   I decimate the images to a few frames per second to send over the WIFI (the booster pack card I made) to a labview app. The Kinetis can bring the data in a the same frame rate of the camera,  I just need to send much slower as there is some overhead in my communications scheme (ASCII text) and the WIFI is driven via a UART.
4.)   In reality,   I can get a 64 x 480 pixel image in memory as I pull in all the lines.   I just decimate the rows to get a 64x64 result on the Labview display.
5.)   DMA does most of the work freeing up the CPU to do algorithms in the foreground.