16F690 I/O all available as current sources?

Discussion in 'Embedded Systems and Microcontrollers' started by tracecom, May 31, 2012.

  1. tracecom

    Thread Starter AAC Fanatic!

    Apr 16, 2010
    3,869
    1,393
    Yes, I have the 16F690 datasheet (all 258 pages of it,) but maybe someone here knows without looking. Are all 18 I/O pins available to source current or are some (like A4 on the 16F84) open collector output? Thanks.
     
  2. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    From the top of head. The MLCR pin can also be a standard input pin. But it can not be set up as an output if the MCLR function is disabled
     
    tracecom likes this.
  3. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,386
    1,605
    The quickest way to check this is to look at the "PIC16F690 Pin Diagram (PDIP, SOIC, SSOP)" figure of the data sheet. Pins that are digital I/O have arrows indicating if the are both inputs and outputs, or input only.

    There are 17 input & output pins. The RA3/MCLR pin works as input only; that's standard for the MCLR pin.

    If you continue onto "TABLE 1-5: PINOUT DESCRIPTION – PIC16F690" each individual pin is described in more detail. From my read all output pins are "General purpose I/O." meaning they can drive high or low, so no open collector only outputs.
     
    tracecom likes this.
Loading...