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

Assembler and pulse width

I need to measure a pulse with that is almost faster then C can process with the hardware I'm using, so I think. I'm only getting a count of 26 on a pulse width, Witch has been good for the last four years. Now I need a count of at least 50 to try and fine-tune my process. My problem might be in the way I've been measuring the pulse width, which is based off of the Keil example using P3.4. Witch if I read the Atmel data sheet right takes 24 cycles to increment the count. Anyone know if Keil has an Assembler example for measuring a pulse with? I'm not asking anyone to write code for me, I only need direction help. If Assembler will give me what I need, I'll force myself to learn Assembler.

Parents
  • I would be interested in knowing the part number of a processor that can increment a count when a pin is held low at or as close to once per clock cycle.
    Any processor with a PCA e.g. hilips P89C66x and P89C51Rx2 and even, the lowly <$1 P89LPC932 where a similar is called a CCA.

    Erik

Reply
  • I would be interested in knowing the part number of a processor that can increment a count when a pin is held low at or as close to once per clock cycle.
    Any processor with a PCA e.g. hilips P89C66x and P89C51Rx2 and even, the lowly <$1 P89LPC932 where a similar is called a CCA.

    Erik

Children
No data