timer1 sleep


Closed Thread
Results 1 to 3 of 3

Thread: timer1 sleep

  1. #1
    Join Date
    Aug 2005
    Location
    antipolo city, philippines
    Posts
    23

    Default timer1 sleep

    good day to all

    im just a newbie here.

    anyone tried to use sleep and be interrupted once timer1 overflows? im using a simple PIC16F628 configured in 1:8 prescale, (T1CON.TMR1CS=0) as internal clock running at 8MHz crystal clock. I will appreciate anyone to share their knowledge. thanks!

    regards,
    yettie

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Timer1 will not operate in sleep mode when running on Fosc/4. You would need an external oscillator tied to RB7/T1OSI & RB6/T1OSO/T1CKI, and have it setup appropriately.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Aug 2005
    Location
    antipolo city, philippines
    Posts
    23


    Did you find this post helpful? Yes | No

    Smile thanks bruce!

    bruce,

    i had just read the data book again reviewing some of the considerations. i just found out that the oscillator stops while in sleep mode giving up no chance to have the counter incremented. i will take note your info. thanks!

    regards,
    paul

Similar Threads

  1. Won't go back to SLEEP after 1st Interrupt
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 29th June 2009, 09:00
  2. Help with TIMER1 + SLEEP
    By Yodoad in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 22nd May 2009, 15:07
  3. 16F628A current high during sleep
    By Rubicon in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 9th October 2006, 10:21
  4. Wierd sleep issue
    By orca in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 14th March 2006, 22:06
  5. Timer1 and Interupt wierdness
    By mind in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 23rd August 2005, 01:24

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