I am using the cypress an2125 with the 8051 core. I am trying to receive data on the 8051 data bus (Port D) from an external source. Whenever the external source initializes to an output, the cypress chip goes into an unknown state. Is there some way to initialize Port D as an input, or disable some interrupt that may be occurring?