USART2 setting for 1MHzCPU + 4PLL


Closed Thread
Results 1 to 33 of 33

Hybrid View

  1. #1
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: USART2 setting for 1MHzCPU + 4PLL

    i am slowly redesigning the unit to use less power
    one of the main problems i have is that the unit was intended to receive rf when it was not transmitting , not to sleep
    but button cells wont last that long when doing that

    any way another question has come to light which i am not clear on the answer


    i have routine that sets the sleep command
    i have a interupt triggered routine to goto when it it wakes up ,
    but where does the rotuine return to when its completed

    it does not seem to return to the place after the sleep command ??

  2. #2
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default Re: USART2 setting for 1MHzCPU + 4PLL

    Quote Originally Posted by longpole001 View Post
    ...any way another question has come to light which i am not clear on the answer

    i have routine that sets the sleep command
    i have a interupt triggered routine to goto when it it wakes up ,
    but where does the rotuine return to when its completed

    it does not seem to return to the place after the sleep command ??
    Pseudocode:
    Code:
    mainloop:
      Sleep                        ; go to sleep
      on interrupt do something    ; wake-up and jump to your ISR
      goto mainloop:               ; return here
    Why pay for overpriced toys when you can have
    professional grade tools for FREE!!!

Similar Threads

  1. Micrtochip AN1310 for USART2
    By cerr99 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 27th May 2011, 18:59
  2. USBBufferSize setting
    By Ronald123 in forum USB
    Replies: 4
    Last Post: - 18th April 2008, 12:33
  3. Setting up the oscillator
    By J_norrie in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 2nd October 2007, 14:53
  4. setting up HPWM
    By sunny in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 22nd October 2006, 01:36
  5. setting register
    By volcane in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th April 2006, 22:46

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