Categories

PIC32 oscilloscope

Posted on Tuesday, July 15th, 2014 in hacks, oscilloscope by DP

PIC32-Oscilloscope-500x215

Bruce Land writes:

Turns out that the DMA channels on a PIC32 can move data from the ADC using the ADC done interrupt flag, but without wasting time in an ISR. The ADC can be triggered by a timer interrupt flag, again without software intervention. Doing this means that you can blast ADC into memory at just under a Megasample/sec with NO software overhead!
Using another DMA channel to feed memory to a buffered SPI port means that video data can be streamed to a TV with less than 7% software overhead, sustaining a 5 megabit/sec pixel rate. Most of the video overhead is in the SYNC generator state machine ISR. But the rigid NTSC time requirements are easy to meet because all the actual SYNC generation and video timing are also done completely in hardware with no software intervention. One timer triggers two output pulse generators, one to generate SYNC, one to time the video “backporch”.
When the backporch pulse gen times out, it triggers the video DMA burst from the frame buffer in memory to the SPI port.
A simple 3 resistor DAC combines the SYNC and video stream. Resolution is 256×200. There is plenty of CPU left for FFT or game generation.

Via Hacked Gadgets.

Check out the video after the break.

This entry was posted on Tuesday, July 15th, 2014 at 11:14 am and is filed under hacks, oscilloscope. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

One Response to “PIC32 oscilloscope”

  1. Alex Henrique says:

    Strange Bruce Land using PIC Microcontroller. In his curse in Cornell university he uses only Atmel. I love both.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • jeanmarc78: May be a free pcb for me :)
  • Jeff Tee: Still in the race?
  • Barry: Maybe not to late Need new project Free PCB Sunday
  • Sorin: I'll like one. Will save some time in producing myself.and your might have a better quality.. next project bus pirate!!!
  • Larry Couvillion: Please oh please oh pretty please!!!!