Shop OBEX P1 Docs P2 Docs Learn Events
Reset pin as output — Parallax Forums

Reset pin as output

ManAtWorkManAtWork Posts: 2,178
edited 2010-08-09 22:09 in Propeller 1
The propeller data sheet says...
BOEn
Brown Out Enable (active low). Must be connected to either VDD or VSS. If low, RESn becomes a weak output (delivering VDD through 5 kΩ) for monitoring purposes but can still be driven low to cause reset. If high, RESn is CMOS input with Schmitt Trigger.

RESn
Reset (active low). When low, resets the Propeller chip: all cogs disabled and I/O pins floating. Propeller restarts 50 ms after RESn transitions from low to high.

However, it is a bit unclear what condition will actually drive RESn low if it is used as output with BOEn=low. I tried out the demo board and I notice that RESn is driven low whenever VDD is <3V. Can I assume that RESn is also driven low at power up if VDD rises slowly enough, say, at a rate of <1V/ms?

I have a design with a propeller and an FPGA. I want to make sure that the FPGA is also reset any time the propeller is reset so both stay synchronized. I cannot do this with a programmed IO pin because it the bootloading process from EEPROM takes too long and would leave the FPGA in an undefined state.

If the brown out detector doesn't drive RESn low reliably or if power up reset is not guaranteed I would have to use an external reset generator to reset both propeller and FPGA, something I'd like to avoid if possible.

Thanks

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-08-09 09:19
    ManAtWork wrote: »
    Can I assume that RESn is also driven low at power up if VDD rises slowly enough, say, at a rate of <1V/ms?
    No. It does works as an output only once the Prop comes out of reset the first time after powerup on subsequent brownouts.

    -Phil
  • ManAtWorkManAtWork Posts: 2,178
    edited 2010-08-09 12:22
    Hello Phil,

    I just took this picture:
    attachment.php?attachmentid=72356&stc=1&d=1281381332
    Trace #1 is the reset signal, trace #2 is VDD(3.3V) at power up of the demo board. Reset stays low until VDD reaches about 2.9V.

    Please don't misunderstand me. I don't wan't to say that you're wrong and I know that my spot check proves nothing. I'd just like to know who to trust more. Do you have your information out of some document from parallax or is it just experience?

    Thank you very much
    800 x 661 - 154K
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-08-09 22:09
    I stand corrected! Thanks for the info!

    -Phil
Sign In or Register to comment.