<div>Hi,</div>
<div> </div>
<div>Thanks a lot and sorry for the mistakes. I have gone through the trm of the adc as well as the omap driver. my question is that i want to interact the adc to the board. now should i directly use the omap driver or should i mak one of my own. if i make one of my own then i would like to know how would the spi registers be changed by driver. should it include the omap2 driver or is the fuctionality provided directly when i include spi.h.</div>

<div> </div>
<div>another doubt: when and why is the spidev.c/h used?</div>
<div> </div>
<div>i am deeply grateful towards you for helping me out</div>
<div>thanks</div>
<div>Arnav<br><br></div>
<div class="gmail_quote">On Fri, Apr 24, 2009 at 11:50 AM, David Brownell <span dir="ltr">&lt;<a href="mailto:david-b@pacbell.net">david-b@pacbell.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Thursday 23 April 2009, Arnav Das wrote:<br>&gt; i am a newbie<br><br>Lesson #1:  make sure your Subject: lines match the message<br>
topic (I did a partial repair) and don&#39;t post to the wrong<br>list (e.g. PPC lists for OMAP questions).<br><br><br>&gt; and am doing a project on beagle board(running<br>&gt; omap3530). i am interfacing an adc(ads7886) to the beagleboard via<br>
&gt; spi. need to know how the spi works<br><br>Read the ads7886 data sheet, in this case.  It uses<br>a subset of SPI ... no input commands, just a 12-bit<br>sample returned each time chipselect pulses.<br><br><br>&gt; and how a module can access the<br>
&gt; spi registers of the omap. if someones already made an adc driver can<br>&gt; they mail me?<br><br>Use drivers/spi/omap2_mcspi.c on OMAP3 boards, at<br>least to start with.  If you want streaming conversions<br>you may want to use different modes than are currently<br>
supported by that driver.<br><br>- Dave<br><br><br><br><br></blockquote></div><br>