SPI interface ADC 16 bits

Started by wantoniet June 16, 2005
Hi all,

Anyone have experienced interface a PIC with a 16-bit/SPI 7708 ADC? As
i know MSSP on PIC is only 8 bit-lenght. May i perform standard
procedure protocol to adquire 16-bit?

Any comments are welcome!

Wilson


----- Original Message -----
From: "wantoniet" <wantoniet@want...>
To: <piclist@picl...>
Sent: Thursday, June 16, 2005 3:55 PM
Subject: [piclist] SPI interface ADC 16 bits > Hi all,
>
> Anyone have experienced interface a PIC with a 16-bit/SPI 7708 ADC? As
> i know MSSP on PIC is only 8 bit-lenght. May i perform standard
> procedure protocol to adquire 16-bit?

Just read it as two consecutive bytes.

Leon
---
[This E-mail has been scanned for viruses but it is your responsibility
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]


Thanx Leon!

--- In piclist@picl..., "Leon Heller" <leon.heller@b...>
wrote:
> ----- Original Message -----
> From: "wantoniet" <wantoniet@y...>
> To: <piclist@picl...>
> Sent: Thursday, June 16, 2005 3:55 PM
> Subject: [piclist] SPI interface ADC 16 bits > > Hi all,
> >
> > Anyone have experienced interface a PIC with a 16-bit/SPI 7708
ADC? As
> > i know MSSP on PIC is only 8 bit-lenght. May i perform standard
> > procedure protocol to adquire 16-bit?
>
> Just read it as two consecutive bytes.
>
> Leon >
> ---
> [This E-mail has been scanned for viruses but it is your
responsibility
> to maintain up to date anti virus software on the device that you
are
> currently using to read this email. ]



I would read in into a 16 bit variable by reading into the highbyte then the lowbyte ( or visa versa).
the results will be in the 16 bit varibable.
Jim
----- Original Message -----
From: Leon Heller
To: p...@yahoogroups.com
Sent: Thursday, June 16, 2005 10:33 AM
Subject: Re: [piclist] SPI interface ADC 16 bits

----- Original Message -----
From: "wantoniet" <w...@yahoo.com.br>
To: <p...@yahoogroups.com>
Sent: Thursday, June 16, 2005 3:55 PM
Subject: [piclist] SPI interface ADC 16 bits> Hi all,
>
> Anyone have experienced interface a PIC with a 16-bit/SPI 7708 ADC? As
> i know MSSP on PIC is only 8 bit-lenght. May i perform standard
> procedure protocol to adquire 16-bit?

Just read it as two consecutive bytes.

Leon
---
[This E-mail has been scanned for viruses but it is your responsibility
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]



to unsubscribe, go to http://www.yahoogroups.com and follow the instructions