I could get the MCP23016 to work reliably only by removing the timing capacitor (33pF) all together.