Download A-level Electronics Major Project Theodore
Transcript
the address/data bus to one input/output port, and the control signals to another. This seems a more reasonable situation, where the processor can control the bus signals directly, which is a simpler situation to debug. This requires another device to provide the link between clock chip and processor. Sticking to the simple and cheap 6800 family, the 6821 provides two 8-bit bidirectional ports, which would be enough to handle the 11 signals from the 6818. In addition to the real time clock, which is updated once a second, it is useful to have a fast timer, for purposes such as serial input/output, frequency measuring, etc. The 6840 Programmable Timer Module is a flexible timer chip which performs this function. It contains three 16-bit counters which count at up to 8 MHz with many different control settings. Other inputs/outputs A port is required so that the system can communicate with other devices in the house. This will require only a few bidirectional lines, so could be provided by the spare lines on the 6821. For the purposes of testing, it is useful to have a simple set of inputs and outputs, such as a bank of switches and LED display. To aid their simplicity, it is best if these are made from standard TTL components. These don’t require any complicated control signals and are much faster than the more flexible LSI devices. Copyright Theo Markettos 1997. This may be used for educational and non-profit making purposes only. The author may be reached at theomarkettos@letterbox.com 7