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
Re: I/O pins behaviour after a SLEEP command
The pin will stay at the last level.
Ioannis
Re: I/O pins behaviour after a SLEEP command
Hi Ionnis,
Many thanks for your quick and accurate answer... as usual ! :)
Best regards
MikeBZH