chipKIT® Development Platform

Inspired by Arduino™

Pulse Counting using uno32 Kit

Created Wed, 24 Oct 2012 12:40:00 +0000 by fleatech


Wed, 24 Oct 2012 12:40:00 +0000

Forgive the noob question.

I've just been given a project to retrofit an UNO32 into and old signal DAQ used in a chemical process system (i won't go into details). My background is analog and digital signals hardware and some PIC and 6811 programming. I'll be using MPIDE to do the programming.

The ADC signals processing I have figured out but am having some issues with trying to count three pulse channels, two range up to 10kHz, one is about 1kHz.

Are there any good notes available that I can read to get me up to speed on using MPIDE and accessing the Input Capture on the PIC32 chip.

I'd post what code I have but it's ugly. Basically I'm waiting for pulse edges on Interrupts and incrementing counters in code. I would rather get away from this method.


PS: I'm not looking for some one to write code for me, I would like to learn this myself so I can create some custom libraries for my client work.