From: "Girish" Subject: Re: spi read issue Date: Thu, 24 Jan 2008 21:42:23 +0530 Message-ID: <028101c85ea3$e8503570$988818ac@ent.ti.com> References: <021301c85dcc$847300a0$988818ac@ent.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "'Girish'" , Return-path: In-reply-to: <021301c85dcc$847300a0$988818ac-tAZopdYwApTQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org We are handling this issue. Regards, Girish >-----Original Message----- >From: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >[mailto:spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On >Behalf Of Girish >Sent: Wednesday, January 23, 2008 8:01 PM >To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >Subject: [spi-devel-general] spi read issue > >Hi, > >If the following program is performed for touch screen >control, we expect >1 tx command for controlling SPI and 2 Rx commands for reading data > >--------------------------------- > spi_message_init(m); > > /* y- still on; turn on only y+ (and ADC) */ ts->read_y = >READ_Y(vref); x->tx_buf = &ts->read_y; x->len = 1; >spi_message_add_tail(x, m); > > x++; > x->rx_buf = &ts->tc.y; > x->len = 2; > spi_message_add_tail(x, m); > > m->complete = ads7846_rx_val; > m->context = ts; > > m++; >--------------------------------------- > >But we see 1 set of CLK for tx command and three sets of CLK >for Rx read Is it that the redundant clk set may cause >slippage of data? > >Regards, >Girish > > >--------------------------------------------------------------- >---------- >This SF.net email is sponsored by: Microsoft Defy all >challenges. Microsoft(R) Visual Studio 2008. >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >_______________________________________________ >spi-devel-general mailing list >spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >https://lists.sourceforge.net/lists/listinfo/spi-devel-general > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/