* Re: spi-devel-general Digest, Vol 45, Issue 17
[not found] ` <mailman.14222.1266276417.5237.spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
@ 2010-04-19 12:25 ` arjun rath
0 siblings, 0 replies; only message in thread
From: arjun rath @ 2010-04-19 12:25 UTC (permalink / raw)
To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi all,
I am able to read adc data through SPI based API's in linux kernel(its a
max1241 chip now).But always i am getting 0xff(high) value at MISO pin of
the master.
Does anybody having idea what may be the reason..............
Thanks in advance
On Tue, Feb 16, 2010 at 4:56 AM, <
spi-devel-general-request@lists.sourceforge.net> wrote:
> Send spi-devel-general mailing list submissions to
> spi-devel-general@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/spi-devel-general
> or, via email, send a message with subject or body 'help' to
> spi-devel-general-request@lists.sourceforge.net
>
> You can reach the person managing the list at
> spi-devel-general-owner@lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of spi-devel-general digest..."
>
>
> Today's Topics:
>
> 1. Re: SPI-ADC (jassi brar)
> 2. [PATCH] spi: Correct SPI clock frequency setting in
> spi_mpc8xxx (Ernst Schwab)
> 3. ??????? ? ???? ??????? ????. ( ???????????? ???? )
> 4. Re: SPI-ADC (Ben Gamari)
> 5. Devenez l'un des 2000 membres Elite (Bourse Direct - Elite)
> 6. [SPAM] Расходы на рекламу ( ??????????? ??????? )
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 15 Feb 2010 17:49:41 +0900
> From: jassi brar <jassisinghbrar@gmail.com>
> Subject: Re: [spi-devel-general] SPI-ADC
> To: arjun rath <rath.arjun@gmail.com>
> Cc: Jonathan Cameron <kernel@jic23.retrosnub.co.uk>, linux kernel
> <linux-kernel@vger.kernel.org>,
> spi-devel-general@lists.sourceforge.net
> Message-ID:
> <1b68c6791002150049v60c21c3cha9ac12014355dfec@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Mon, Feb 15, 2010 at 1:29 PM, arjun rath <rath.arjun@gmail.com> wrote:
> > Let us try and see .If any body is having a reference driver for SPI
> based
> > ADC,they can share.
> Don't think you need to anything 'ADC specific' all u need is to _use_
> your SPI driver.
> grep for spi_sync in linux/drivers/ and refer to any spi user driver.
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 15 Feb 2010 17:23:04 +0100
> From: Ernst Schwab <eschwab@online.de>
> Subject: [spi-devel-general] [PATCH] spi: Correct SPI clock frequency
> setting in spi_mpc8xxx
> To: spi-devel-general@lists.sourceforge.net
> Cc: dbrownell@users.sourceforge.net
> Message-ID: <20100215172304.66663326.eschwab@online.de>
> Content-Type: text/plain; charset=US-ASCII
>
> Correct SPI clock frequency division factor rounding, preventing clock
> rates
> higher than the maximum specified clock frequency being used.
>
> Signed-off-by: Ernst Schwab <eschwab@online.de>
> ---
> Tested on MPC8314.
>
> diff -up linux-2.6.33-rc8.orig/drivers/spi/spi_mpc8xxx.c
> linux-2.6.33-rc8/drivers/spi/spi_mpc8xxx.c
> --- linux-2.6.33-rc8.orig/drivers/spi/spi_mpc8xxx.c 2010-02-12
> 20:07:45.000000000 +0100
> +++ linux-2.6.33-rc8/drivers/spi/spi_mpc8xxx.c 2010-02-15
> 14:08:33.000000000 +0100
> @@ -365,7 +365,7 @@ int mpc8xxx_spi_setup_transfer(struct sp
>
> if ((mpc8xxx_spi->spibrg / hz) > 64) {
> cs->hw_mode |= SPMODE_DIV16;
> - pm = mpc8xxx_spi->spibrg / (hz * 64);
> + pm = (mpc8xxx_spi->spibrg - 1) / (hz * 64) + 1;
>
> WARN_ONCE(pm > 16, "%s: Requested speed is too low: %d Hz. "
> "Will use %d Hz instead.\n", dev_name(&spi->dev),
> @@ -373,7 +373,7 @@ int mpc8xxx_spi_setup_transfer(struct sp
> if (pm > 16)
> pm = 16;
> } else
> - pm = mpc8xxx_spi->spibrg / (hz * 4);
> + pm = (mpc8xxx_spi->spibrg - 1) / (hz * 4) + 1;
> if (pm)
> pm--;
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 15 Feb 2010 19:35:41 +0300
> From: " ???????????? ???? " <cofuracozetuc@epage.ru>
> Subject: [spi-devel-general] ??????? ? ???? ??????? ????.
> To: spi-devel-general@lists.sourceforge.net
> Message-ID: <1990716491.20100215193541@epage.ru>
> Content-Type: text/plain; charset="koi8-r"
>
> ???? ? ?????? ???????
> ?? ????? ????.
> ????? ?????? : ???? ?? ??? !
>
> ?????? 850 ???????? 1150
> ?????? 1150 ??????? 1150
> ????????? 850 ???????? 1230
> ??????? 250 ??????? 750
> ??????? 1350 ?????? 600
> ???????? 1550 ????? 640
>
> ! ? ??? ?? !
> ????????????? ?????? ? ??????.
> ??????? ??????? ???????.
> ?????? ??? ??????.
>
> ??????? ???????? ???????? ????????? ? ????? ?????? ????.
> ???????????? ????????, ????.
>
> ???: 227-04-37
> ???: 227-56-08
>
>
>
> ???? ??? ? ????? ???.
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 4
> Date: Mon, 15 Feb 2010 12:33:58 -0500
> From: Ben Gamari <bgamari@gmail.com>
> Subject: Re: [spi-devel-general] SPI-ADC
> To: spi-devel-general <spi-devel-general@lists.sourceforge.net>
> Message-ID: <1266255133-sup-1623@ben-laptop>
> Content-Type: text/plain; charset=UTF-8
>
> Excerpts from arjun rath's message of Sun Feb 14 23:29:18 -0500 2010:
> > Let us try and see .If any body is having a reference driver for SPI
> based
> > ADC,they can share.
> >
> Have a look here[1]. The code certainly isn't finished (we're at a
> similar stage of development as you, it seem), but you should get the
> rough idea.
>
> Cheers,
>
> - Ben
>
>
> [1]
> http://goldnerlab.physics.umass.edu/git?p=tracker.git;a=blob;f=max5134.h;h=4aa93485347b5fb9f595b75147aeff3579c04966;hb=HEAD
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 15 Feb 2010 20:20:33 +0100 (CET)
> From: "Bourse Direct - Elite" <privileges@pleintemps.fr>
> Subject: [spi-devel-general] Devenez l'un des 2000 membres Elite
> To: spi-devel-general@lists.sourceforge.net
> Message-ID: <kxwdq9.80wb7w@front.ta271.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 6
> Date: Tue, 16 Feb 2010 02:26:38 +0300
> From: " ??????????? ??????? " <deliliserila@nextmail.ru>
> Subject: [SPAM] Расходы на рекламу
> To: spi-devel-general@lists.sourceforge.net
> Message-ID: <1277897714.20100216022638@nextmail.ru>
> Content-Type: text/plain; charset="koi8-r"
>
> ????? ????????? ???????????? ???????????
> ??????????
> 2 ????? 2010 ?. (10.30-15.00) ??????? ?? ???????, ??????, ????? ? ??????
> ????????? ??????????? ??? ???????? ? ??????????.
>
> ??????? ?????? ??????????- ?.?.?., ??????, ???????????-??????? ??
> ?????????? ?
> ????????.
> ??????????? ? ????????????? ??????? ?? ???????, ??????????? ????? ????????.
> ???????????
> ?????? ??? ?? ??????????? ???????? ?? ???????. ??????? ?????????? ? ???????
> ????????
> ???????? ? ?????? ????????? ??????????? ???????. ??????? ? ?????????,
> ?????????-????????,
> ?????????? ?????? ????????, ???????????????? ?????, ??????????. ????????
> ???????. ???????
> ?? ??????? ? ??? ??????, ?????? ? ??????. ????????? ??????????? ???
> ???????? ? ??????????.
> ????????? ??????? ???????? 8260 ???. ??????????? ?? 01.03 ?????? 20 %
>
> 4 ????? 2010 ?. (10.00-15.00) ???????????????? ???????? - ????????????? ?
> ????????? ????. ?????? ?????? ????????? - ?.?.?., ??????, ????????????
> ???????, ????
> ?????? 20 ???, ????????????? ? ????????? ????, ???????????????.
> ??????? ??????????? ???????????? ???????, ?????????? ????????? ????????
> ???????. ??????
> ???????????? ???????. ??????????? ?????? ???????????? ??????? ??? ?
> ????????, ??? ? ???
> ???????. ????????? ?????????? ? ???????? ?????? ? ???????? ???????. ???? ?
> ????????????
> ??????????. - ???? ???????????? ??????????. ??????????? ??????????.
> ??????????? ??????????.
> ???????????? ???????????????? ??????? ???? ????? ???????????????? ???????.
> ?????????? ????? ? ???. ??????? ???????????????? ??????? - ????????
> ????????????
> ??????? ? ????? ? ?? ?????? ???????. ???????? ???????????????? ???????,
> ?????????? ???????????? ???
> ??????????? ?????????????. - ??????? ??????????????. ????????????? ????????
> ????????????? ????????.
> - ???????? ?????????????? ? ???? ?????? ? ???????? ???????. - ???????
> ??????????????? ??????????
> ??????? ????????????????? ????????, ???????????? ??????? ?????????.
> ???????????????
> ??????????? ???????. ???????????? ????? ? ????? ?? ????????????? ???????.
> ????????? ??????? ???????? 8260 ???. ??????????? ?? 01.03 ?????? 20 %
>
> 4 ????? 2010 ?. (10.00-17.00) "????????": ??? ? ??? ???????? ? ????????.
> ???????????? ????????????. ????? ??????? ???????? ??????? ?????????? -
> ????????? ?????? ?????????????? ???????? ? ??????? ??????????? ?????? ??
> ????????????? ? ????????? ????????????? ??? ?? ?? ??, ?.?.?.
> ?????? ? ?????????? ????????? ????????????? ?????????? ????? ??????
> ???????? ???????????. ?????
> ??????? ??????? ???, ????? ? "?????????" ??? ???? ? ???????? ?? ??? ?
> ?????? ??????? ???? ????????
> ???????? ??? ??????????? ? ?????????? ????????? ?????????? ???
> ?????????????? ? ?????????? ??????
> ??? ????????? ????????? ? ??????? ?????????? ????? ??????? ??????????
> ?????????????? ?????????
> ????? ????????? ? ?????????? "????????" ????? ???? ??????? ????????
> ??????????? ?? ??? ? ??????
> ???????, ?????????? ???????????????? ??????? ????????, ????????? ???????
> ????????? ?????? ?
> ??????????? ? ???? ????????.
> ????????? ??????? ???????? 7900 ???.
> ???????? ??????????? ?? ????????? 40 ??????? ????????? ??????????
> ????????????? ??????????? ( ??????? ?????????? ????????? ?? ????????)
>
> ?????? ?? ??????? ?? ???. (495) 506-30-78 741-87-05
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
>
> ------------------------------
>
> _______________________________________________
> spi-devel-general mailing list
> spi-devel-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/spi-devel-general
>
>
> End of spi-devel-general Digest, Vol 45, Issue 17
> *************************************************
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general
^ permalink raw reply [flat|nested] only message in thread