piclist 2003\02\27\184017a >
Thread: interfacing PIC16F877 with AD7713(adc)
face BY : 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.
Ned Konz

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
<200302271538.37426@ned.bike-nomad.com> 7bit

In reply to: <Pine.LNX.4.30L.0302271752330.20495-100000@m1-142-14.mit.edu>
See also: www.piclist.com/techref/microchip/ios.htm?key=adc
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) interfacing PIC16F877 with AD7713(adc)

month overview.

new search...