I/O pins behaviour after a SLEEP command


+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2009
    Location
    Saint-Quentin-en-Yvelines, FRANCE
    Posts
    82

    Default I/O pins behaviour after a SLEEP command

    Hi everybody,

    I need to enter into a power reduced situation with a PIC 18LF26K22 connected to some peripherals (e.g. amplifiers).

    The solution at the PIC level is obvious with the SLEEP instruction.
    However I also need to shutdown the peripherals by activating their SHDN pin which is connected to a port of the PIC. Activating this shutdown is the last thnk the PIC will do before going to SLEEP.

    When the PIC has entered the SLEEP mode, will the state of the pin state remain stable as programmed and usable for maintaining the peripherals in the shutdown mode ? Or will the I/O PIC circuits force it to go to '0' or to '1' ?

    Thank you for your help

    MikeBZH

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,993


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: I/O pins behaviour after a SLEEP command

    The pin will stay at the last level.

    Ioannis

  3. #3
    Join Date
    May 2009
    Location
    Saint-Quentin-en-Yvelines, FRANCE
    Posts
    82


    Did you find this post helpful? Yes | No

    Default Re: I/O pins behaviour after a SLEEP command

    Hi Ionnis,

    Many thanks for your quick and accurate answer... as usual !

    Best regards
    MikeBZH

Similar Threads

  1. Status after @ SLEEP Command
    By sayzer in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 17th June 2011, 15:10
  2. Sleep Command
    By thye in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th October 2007, 16:28
  3. Help with PBP 'SLEEP' command
    By dreadmaul in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th November 2006, 08:40
  4. Using Sleep command
    By suded in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 8th April 2005, 05:16
  5. Sleep command with 18F1220
    By suded in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 7th April 2005, 12:11

Members who have read this thread : 8

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