Under normal circumstances, the interface with the microcontroller is CS.CLK.DO.DI. However, DO and DI terminals are not effective at the same time during communication, and the interface with the microcontroller is bidirectional, so DO and DI can be used in parallel on the data line during circuit design. When ADC0832 is not working, the cs input terminal should be high level, where the chip is disabled and the CLK and DODI levels can be arbitrary. When performing an A / D conversion, the CS enable terminal must be kept low and low until the conversion is complete. At this time, thechip starts conversion, and at the same time, the processor inputs a clock pulse to the chip pulse input terminal CLK. The DI terminal uses the data signal selected by the DI input channel function. The DI terminal must be high before the first clock pulse is synchronized. Ping means start signal. Before synchronizing the second and third pulses, the DI terminal must input 2 bits of data to select the channel function.