Microprocessor and Microcontroller
In this schematic the DAC0800 is interfaced using an 8-bit latch 74LS273 to
the system bus. The 3-to-8 decoder 74LS 138 is used to generate chip select
signals for I/O devices. The address lines A4, A5 and A6 are used as input to
decoder. The address line A7 and the control signal IO/M (low) are used as
enable for decoder. The decoder will generate eight chip-select signals and in
this the signal IOCS-7 is used as enable for latch of DAC. The I/O address of the
DAC is shown in table.
In order to convert a digital data to analog value, the processor has to load
the data to latch. The latch will hold the previous data until next data is loaded.
The DAC will take definite time to convert the data. The software should take
care of loading successive data only after the conversion time. The DAC 0800
produces a current output, which is converted to voltage output using I to V
converter.
83