Hello,
yes I tryed to change phase and polarity, but continue same.
Another thing that happen is that AD to give the double of the scale.
In the datasheet with 0V input would have in hex 0000, midscale (2.5V)
should have 8000 and to 4.999924V should have FFFF. The results that
I 'm obtain are: 0V input has 0000, 2.5V has FFFF and 4.999924V has FFFE.
thanks
Domingos
--- In lpc2000@yahoogroups.com, FabioDB <fabiodib@e...> wrote:
> Il giorno gio, 25-11-2004 alle 20:59 +0000, dasbento@a... ha
> scritto:
> >
> > Hello,
> >
> > I'm using SPI to read data of ADS7807U. My problem is not get to read
> > the last bit, i.e, bit0. How does the SCK work?
>
> Have you tryed to change phase and polarity (CPOL and CPHA bits of SPI
> Control Register)?
>
> --
> FabioDB <fabiodib@e...>
> AltraquaMessage
Re: read with SPI
2004-11-26 by domingos_bento
Attachments
- No local attachments were found for this message.