This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Micro-controller pins

Why some pins are active low and few are active high. Why not everything be active high in all the pins?

  • deepak murali said:
    Why some pins are active low and few are active high. Why not everything be active high in all the pins?

    What you are talking about? Please provide part number specifying which pins are "active high" or "active low" in your understanding.

  • Extremely sorry for bringing Intel-8051 in Texas Instruments site. In this IC pin number 29(PSEN!),30(PROG!),16(WR!),17(RD!),12(INT0!),13(INT1!) are active low  where as remaining pins are active high. Why dont these pins also be made as active high like other pins? 

  • Those "active" low inputs can be pulled low using open collector by more than one chip - that's the main reason why signals happen to be active low.

  • Ilmars said:
    Those "active" low inputs can be pulled low using open collector by more than one chip - that's the main reason why signals happen to be active low.

    Right. Mostly.

    Back in TTL times, inputs did have internal pullups. So if idle, a line was high by default and had to be pulled actively low.
    While in normal logic understanding, '1' means 'on' or 'active', data lines were usually driven high or low by the transmitter when data was sent. So the 'idle' state was unimportant. /If there is nobody sending, then the state of the data line is a don't care) On control lines, however, the idle state was important. They are usually made active low so that they ar einactive when there is nobody controlling this line.
    As a side effect (or sometimes intentionally, like on I2C), multiple masters can control such an active-low line without fighting each other, by pulling it low with an open-collector output. (for some reasons, I think because of possible problems with base currents and supply voltages, and the said inherent pullup on the inputs, the open-emitter pendant wasn't used very often)

**Attention** This is a public forum