IDE bus sharing with CY7C67300 (EZ-Host)

Question: Can we tri-state the IDE interfaces on CY7C67300 so our other device can all share the IDE Bus?

 

Answer:

When you want the CY7C67300 to control the IDE bus you would put it in IDE mode with the GPIO Control Register in the Mode Select bits. When you want these lines to be tri-stated you would configure this bus to be GPIO inputs, which will effectively put them in a high impedance mode. This of course would need to be done in a controlled manner. For example a GPIO pin would likely be used as an input that would be used to determine whether or not the IDE bus is to be put in a high impedance mode or not.