Skip to content

MCP23018/MCP23S18 Support #54

@DonutCatDev

Description

@DonutCatDev

I don't see this explicitly listed as supported, so I figured I'd ask. Given the current state of silicon in the world, these 018/S18 seem to be way more available, but info on using them seems to be what's rare.

Datasheet here https://ww1.microchip.com/downloads/en/DeviceDoc/22103a.pdf

From my uneducated glace between this and the 017/S17 docs, it looks largely the same for serial data aside from IOCON in the Control Registers: X17 has no bit 0 INTCC on either IOCON, X18 has no bit 4/bit 3 DISSLW/HAEN on IOCON. GPIO Port Registers show no differences. I'm not really sure if that's even relevant, but that's what I can pick out as a difference.

Unfortunately I have none on hand to just see if they work on X17 code, though I imagine there's details inside that need to be correct to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions