Low frequency audio level detector using PIC ADC?


Results 1 to 40 of 69

Threaded View

  1. #21
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default Re: Low frequency audio RMS signal level detector using PIC ADC?

    Well MAYbe that is why LATC didn't work, but the numbers seem pretty right on. main loop speed free running seems to show there are 7 instructions being executed. heres the math:

    8Mhz clock / 4=
    2Mips
    1/2000000 = .0000005 sec per instruction
    .5uSec * 7 = 3.5uSec
    1/.0000035 = 285,714.xx Hertz ( close to 284K as posted)


    Using PBP instead of ASM, show clearly the Interupt is firing WAY faster then the time it takes to get in and out. If you are game to it, I think we can come to a definate minimun.

    With PBP and main loop at 1K, what was ISR frequency?
    Last edited by cncmachineguy; - 18th February 2011 at 03:43. Reason: asked wrong question
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts