I/O Pin status during startup


Results 1 to 19 of 19

Threaded View

  1. #1
    Join Date
    Jul 2024
    Posts
    28

    Default I/O Pin status during startup

    Hi guys,

    quick question...

    Is there a way (somewhere on the datasheet for example) to know what are the I/O pins state during power up?
    I've noticed that some I/O pins (on my 18F2580 MCU) start high even placing "clear" and "PORTA=000000, PORTB=000000, PORTC=000000) at the start of the code (when i say start, i mean after all the configuration lines).
    I currently have the "INCLUDE "ALLDIGITAL.pbp"" before the actual code start.

    How can I force all the I/Os to be low until the code tells them to go high?

    Thanks
    Last edited by PaulMaker; - 16th January 2025 at 13:27.

Similar Threads

  1. How can I store the status of a pin?
    By Stargazer3141 in forum General
    Replies: 2
    Last Post: - 3rd December 2010, 23:59
  2. Issue with 16F88 startup
    By Plcguy in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 21st October 2010, 16:11
  3. Startup on power up pic16f886
    By CESSKO in forum Test Area
    Replies: 0
    Last Post: - 14th April 2010, 13:26
  4. 7 second delay on startup
    By Russ Kincaid in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd March 2006, 02:46
  5. 12F683 Startup
    By GregK in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 19th March 2005, 01:25

Members who have read this thread : 20

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