Good morning/day/night gentelmens, I have to know your opinion regarding Vrms and frequency measurements for a continuous 1...100KHz signal ( 0... 2KVpp) There are a few principle I know for Vrms measurements: -- zero cross syncronizing with external interrupts on Rb3 or interrupts on change on rb4...rb7, delay with a half semi-period then sample and average will gave Vpeak to peak, then math to achieve Vrms -- V peak to peak measurement without mains syncronization using integrative methode and conversion to Vrms For frequency measurement: -- tmr0 with external clock ( excluse here because I'm using tmr0 for button debounce and internal RTC ) -- compare/capture module which I haven't used yet... My problem is: both measurements must be performed "simultaneously", with the smallest possible delay. I would be pleased to listen from your experience. Thanks. Sincerely yours, the same Vasile Surducan -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads