First time on this board so you will excuse me if the question has been answered before ...

Right down to the nitty-gritty

I have a board based on an FT232H chip, AD bus is used in I2c to communicate with several slaves includiing a couple of I2c/onewire gateways and all is working fine.

Now the ACBUS 0 to ACBUS 6 and ACBUS 8 to ACBUS 9 are used to check on a bunch of PowerGood lines.

the whole thing is of course operated in MPSSE mode (i2c).

Now with opcode 0x83 am able to read pins ACBUS0 to ACBUS7 but I haven't been able to gather ACBUS 8 or ACBUS 9. any suggestion?

Thanks

/Patrick

Per MPSSE command codes version 1.5, neither ACBUS8 nor ACBUS9 is accessible from MPSSE mode.

Per FT232H data sheet, the ACBUS8 and ACBUS9 pins default to tri-state inputs, but can be configured to support ACBUS BitBang by first connecting an EEPROM to the FT232H and using the FT_Prog utility (http://www.ftdichip.com/Support/Utilities.htm) to set IO Controls for C8 and C9 to I/O Mode. This needs to be done once, to configure the non-volatile EEPROM memory.

Next, at runtime, the FT232H needs to be configured for CBUS Bit Bang Mode by calling FT_SetBitmode with ucMode = 0x20. This is similar to what you're already doing to enable MPSSE mode -- obviously by entering CBUS Bit Bang Mode you are also exiting MPSSE mode. So that's inconvenient.

It's unclear to me which bit physically maps to the FT232H's ACBUS8 and ACBUS9, this could depend on how the EEPROM is configured. There's a document that describes an earlier version of ACBUS BitBang mode for FT232R, but that chip doesn't have the same ACBUS configuration and so isn't directly useful.

Just a suggestion, but if you don't need to distinguish between the individual power-good lines, you might consider using a wired-OR to develop a system-power-good signal that you can read through MPSSE mode.