SWDTEN troubles (16F1933)


Results 1 to 7 of 7

Threaded View

  1. #6
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: SWDTEN troubles (16F1933)

    It doesn't know... But relays on you to set WDT ON or to set WDT CONFIG to software control. If it is always on, then setting bit 0 doesn't have effect.
    If you set WDT to softvare control NAP will work as expected. It ALWAYS ENABLE WDT in WDTCON and wake up after while. If you disable WDT in CONFIG1, NAP stil enables bit 0 in WDTCON but it doesnt have effect. WDT will stay off and never wake up device.
    To wait for IOC, disable WDT in WDTCON, by reseting bit 0, and then use @ sleep to put device into low power mode.
    To wake up pic after while just use nap.
    I alredy wrote that at end of post #3.
    Last edited by pedja089; - 28th September 2014 at 20:55.

Similar Threads

  1. 12F1822 troubles
    By Charlie in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 24th June 2012, 12:53
  2. "symbol not previously defined" on 16F1933 - fuse issue i think
    By comwarrior in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 2nd January 2011, 03:24
  3. Issue using DATA statement with 16F1933 in PBP2.60
    By bcd in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 10th August 2010, 01:36
  4. Troubles with I2C_Write
    By The Altruist in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 23rd March 2010, 23:57
  5. PIC16F676 Troubles
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 27th February 2005, 10:01

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