
Gemini Users Manual 129
8.8 Feature Port
The Gemini Feature Port allows hardware designers to add additional functionality to
Gemini that can be controlled via the serial connection. Gemini native serial command
311 allows you to read and write values on the Feature port. The low order 4 bits (values
0-15) can be used for both input and output. The high 2 bits are used for input into
Gemini only. Thus, for command 311, “Get” values range from 0-63, and “Set” values
should be limited to 0-15.
Pins 2-5 are digital I/O pins with the typical Intel 8051 behavior – they are TTL signals
having weak pullups. As with the encoder port, if you attach a custom device to the
encoder port, it should actively drive the lines high when needed rather than relying on
the internal CPU pullups. For use as output bits, if the software uses Gemini's serial
command 311 to write a '0' into the port, it acts as a strong pulldown, capable of sinking
about 1.6mA. Feature port pins 2-5 have 10k pulldown resistors to protect them from
noise.
Commentaires sur ces manuels