所需E币: 5
时间: 2019-12-24 21:20
大小: 297.57KB
GPIOexpandersprovideeasyI/Oexpansionusingstandardserialinterfaces.GPIOproductsareusedtoincreasetheI/OonanMCUorprovideremoteI/Ousingaserialinterface.ThisapplicationnotediscussesthefeaturesetanduseoftheMCP23X08/17(8-bitand16-bit)GPIOExpand-ers.TheMCP23X08are8-bitGPIOExpanders:•MCP23008:I2C™Interface•MCP23S08:SPIInterfaceTheMCP23X17are16-bitGPIOExpanders:•MCP23017:I2CInterface•MCP23S17:SPIInterfaceThefunctionsandfeaturesoftheMCP23X08andMCP23X17arebasicallythesame,exceptwhereotherwisenoted.AN1043UniqueFeaturesoftheMCP23X08/17GPIOExpandersAuthor:PatRichardsI/OPORTDESCRIPTIONMicrochipTechnologyInc.TheI/Oportishighlyconfigurableformaximumflexibility.Figure1isasimplifiedblockdiagramofanINTRODUCTIONI/Oportpin.Theportcaneitherdrivelogiclevelsonthepin,orreadlogiclevelsfromthepad.ThelevelontheGPIOexpandersprovideeasyI/Oexpansionusingpadcanbereadatanytime,regardlessifthepinisstandardser……