??? 07/18/06 15:04 Modified: 07/18/06 15:04 Read: times |
#120485 - 8255 main drawback Responding to: ???'s previous message |
The main drawback of the 8255 was, that it cost tons of µc port lines, additional adress latches, decoders and many time to route your pcb.
Thus I use always 74HC165/74HC595 shiftregisters, which need only 5 port lines at all, independent, how many expanders are needed. Its also possible to build a 9 input + 9 output expander with a single 24 pin CPLD (ATF750) but its a little more expensive as the 74HCs. Also power shift registers like TPIC6B595 can drive loads of 50V/150mA directly. Furthermore most today 8051 derivates have internal SPI, which make unsing shiftregisters very easy and very fast. Peter |