Shop OBEX P1 Docs P2 Docs Learn Events
Output pull-up at power on — Parallax Forums

Output pull-up at power on

kolyurkolyur Posts: 43
edited 2011-10-02 15:09 in Propeller 1
I'm working on a design which has an AD7705 analog to digital converter connected to the Prop.

From the AD7705 datasheet:
Although the latch-up performance of the AD7705/AD7706 is good, it is important that power is applied to the AD7705/AD7706 before signals are applied at the REF IN, AIN, or logic input pins to avoid excessive currents.

The voltage regulator circuit I'm using to generate the REFIN and AIN signals (LP2951) has a shutdown pin, where logic high = shutdown. What I need to do is hold that pin high immediately at power-on (before Prop startup), then drive it low after a short time.

After reading some similar posts, I believe that I can drive the shutdown pin from a Prop pin, with a pull-up resistor to Vdd. Immediately at power-on, with DIRA=0, the shutdown pin will be high and the regulator will be disabled. By setting DIRA=1 and OUTA=0, the pin will then be forced low. Can someone verify my thinking on this?

Thanks.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2011-10-02 15:07
    The pullup is really what does the job. All Propeller I/O pins float after a reset. The pullup keeps the regulator shutdown until the DIRA bit for the I/O pin is set to 1 (output) and the OUTA bit is set to 0 (low) to turn the regulator on.
  • kolyurkolyur Posts: 43
    edited 2011-10-02 15:09
    Glad to hear confirmation from an expert, thanks Mike.
Sign In or Register to comment.