We have a question about how to setting to GPIO port in ”ADuC7023”.
This chip have GPIO port, and we are using P0.1 and P0.2 as input port.
we were set P0.0 to Low-level, in order to set P0.1 and P0.2 as input ports.
When our system operates,
although these input ports usual operate the normally,
these input ports operate unusual carried out sometimes.
We verified unusual operation,
Then, there is a time of "P0.0 and P0.1" not operating as an input port.
That is, I thought a setup is unstable.
We have the following questions as follows.
As my writing indicated above, we were set P0.0 to Low-level, in order to set P0.1 and P0.2 as input ports.
I hope to decide P0.1 and P0.2 as an input port,
Does a setup which lacks me exist? Please let us know.
These pins operated stably as input ports when we added the following setup.
- P0.0 was set to High-level. (It would be changed to JTAG mode.)
- We wrote "0x00000000" in "Address:0x80014".
(We would be wrote "00" to bit-1 and bit-2.)
- Then, P0.0 was set to Low-level. (It would be returned to GPIO mode.)
Does these additional setups have justification?
Please let us know.