Thread: PIC 18F2431
View Single Post
  #1   Spotlight this post!  
Unread 16-08-2005, 02:11
Sparks333's Avatar
Sparks333 Sparks333 is offline
Robotics Engineer
AKA: Dane B.
FRC #1425 (Wilsonville Robotics)
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2003
Location: Wilsonville, Oregon
Posts: 184
Sparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of light
Send a message via AIM to Sparks333
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
__________________
ICs do weird things when voltage is run out of spec.

I love to take things apart. The fact that they work better when I put them back together it just a bonus.

http://www.ravenblack.net/random/surreal.html