interfacing PIC16F877 with AD7713(adc)
Ned Konz email (remove spam text)
On Thursday 27 February 2003 03:04 pm, Sivaram Cheekiralla wrote:
> In the manual for the adc, they have given examples (2) of
> interfacing with microcontrollers. One of them is 8XC51 and the
> otherone is 68HC11. The 8XC51 uses the Mode 0 for
> receiving/transmitting data to the adc, while the 68HC11 uses SPI.
> I am assuming that SPI is a "data excahnge" protocol and the
> process of communication would terminate if I disable the SDO. Can
> someone clarify the issue ?
I've used similar A/D converters, and found that it was easy enough
just to "bit bang" them. Dedicate 1 I/O line to the data line, 1 to
the clock, plus however many additional ones you need.
When writing to the chip, make your I/O line an output; when reading
from it, make the I/O line an input.
You may want to use a pull-up resistor.
GPG key ID: BEEA7EFE
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics
In reply to: <Pine.LNX.4.30L.email@example.com>
See also: www.piclist.com/techref/microchip/ios.htm?key=adc
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the