This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PWM

Dear,
I've been playing with microcontroller ATMEL89c52 tied to a sensor. I have problem to measure the PWM sensor pin,
I connect the PWM sensor pin with the (timer 2 (P1.0) & timer 2 Ex (P1.1) pin in the microcontroller. As I understood should use capture mode & (up & down mode).
It would be great if u have any idea about this think or if u can provides me some assembly code samples for doing this.

I will wait on ur reply
I appreciate your prompt acknowledgment.
Thanks

Parents
  • These are not toys to play with - they need some serious study of the datasheets, application notes, etc...

    "a sensor"

    What sensor?

    "As I understood should use capture mode & (up & down mode)."

    So have you looked up those things in the datasheet?
    Have you checked for application notes, etc?

    "provides me some assembly code samples for doing this."

    For doing what, exactly? Remember - you haven't said what the sensor is yet!
    You haven't even managed to choose the correct toolset!

    "I will wait on ur reply"

    Don't just sit there - get on with doing some work on this!

Reply
  • These are not toys to play with - they need some serious study of the datasheets, application notes, etc...

    "a sensor"

    What sensor?

    "As I understood should use capture mode & (up & down mode)."

    So have you looked up those things in the datasheet?
    Have you checked for application notes, etc?

    "provides me some assembly code samples for doing this."

    For doing what, exactly? Remember - you haven't said what the sensor is yet!
    You haven't even managed to choose the correct toolset!

    "I will wait on ur reply"

    Don't just sit there - get on with doing some work on this!

Children
No data