Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Recent content by pierlu

  1. P

    100MHz frequency counter

    I think the code is OK. start bsf STATUS,RP0 ; Set tmr0 as counter movlw b'11100111' ; on rising edge with 1:255 prescaler. movwf OPTION_REG ; bcf TRISA,2 ; Set tmr0_pin as output. bcf STATUS,RP0 ; clrf TMR0 call toggletest goto start toggletest movf...
  2. P

    100MHz frequency counter

    It doesen't work neither with MPLAB SIM (I can only test on simulators at the moment), but it works perfectly toggling T0CS instead of T0SE. Thank you very much for the inspiration. P.S. I hope you can understand my english. Bye Pierluigi
  3. P

    100MHz frequency counter

    Hi. The trick of extracting prescaler value by toggling T0SE bit til TMR0 increases seems very interesting, but it doesen't work for me. I'm testing it in Proteus VSM simulator wit a pic16f630. Do you know if it works on real-life pics. Thanks.

Latest threads

New Articles From Microcontroller Tips

Back
Top