Reply by Bende Georg June 10, 20052005-06-10
Hello,

With the option you have mentioned you can count the rising edges, falling edges or both edges coming.
What you will need is a gated-count mode; you have to count IPBus clock ticks (depending on your clock frequency you have to divide it) while the secondary input is high. I don't know how to set it up in PE, but the DSP56F801-7UM, chapter 14 can be a great help to undestand the principle.

BR,
Georg Bende > -----Ursprgliche Nachricht-----
> Von: motoroladsp@moto...
> [mailto:motoroladsp@moto...] Im Auftrag von Thomas
> Gesendet: Dienstag, 7. Juni 2005 05:59
> An: motoroladsp@moto...
> Betreff: [motoroladsp] Capture Bean > Hello Everyone, I was wondering if anyone has used the timer capture
> bean in PE. For some reason I have configured it wrong or
> misunderstand what the rising and falling edge settings stand for. I
> would think that Rising edge times from Rising edge to rising. and
> falling edge to falling edge, and Rising/falling edge to time
> that the
> pulse is high. The later is what I'm trying to figure out. How do i
> configure PE capture bean to measure the length from Rising edge to
> falling edge(the time the pulse was high). I get weird
> results when I
> do it. They maybe right but the measure only goes from 10us-1500us
> and I only get a Delta of a couple thousand. I'm going to try it
> again tomorrow with my stingray to make sure the pluses are what I
> think and can monitor on the input of the scope. It seems no matter
> what i configure it as it measures the rising2rising edge.
> Is there a
> better bean to do this or should I start writing my own bean?
>
> Thanks,
>
> Thomas Timpf >
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> What would our lives be like without music, dance, and theater?
> Donate or volunteer in the arts today at Network for Good!
> http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/PNArlB/TM
> --------------------------
> ------~- >