|
PIC 18F2431
Hello!
I recently purchased a PIC 18F2431 from Microchip for the express purpose of reading a pwm signal. The 18Fxx31 series have a special CAPx feature in the Motion Feedback Module that can measure the PWM signal using a timer and some edge-triggering hardware, but I cannot get the buffer where the timer gives its output for the pulse width to update: it simply stays where I initialized it. I have gone through the configuration bits so many times it isn't even funny, and tried more programming techniques than I have resistors (that's a lot!) and still cannot get it to work. Furthermore, I replaced the microprocessor, and it CONTINUES TO DEFY ME!!!! ARGH!!!
sorry.
In short, I have tested every piece of the module, from the timer to the input pins, and still it does not work. It is very difficult for me to post my programs, because it has many obscure references to buffers nonexistent in other microcontrollers. If anyone has any experience with this type of PIC, please respond!
Thanks!
Sparks333
|