linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: LEROY christophe <christophe.leroy-GgN8y9CXRhA@public.gmane.org>
To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Issue linked to component 821034 from IDT
Date: Tue, 08 Feb 2011 19:05:51 +0100	[thread overview]
Message-ID: <4D5185FF.5030900@c-s.fr> (raw)

Good afternoon,

I'm trying to program a Quad CODEC from IDT reference 821034 through 
SPI, and I'm having an issue:

The component requires 2 clock cycles in addition after setting CS back 
to inactive state, otherwise the transmitted data is not latched in. I'm 
wondering how I could do that easily in a Linux driver using the 
standard SPI subsystem.
What I could do is to transmit a 2 bits data after setting CS to OFF 
state, but how can I do that ?

Also, another issue I have is that between each byte I shall set CS to 
OFF for at least 3 clock cycles. This can be done of course by sending 
bytes one by one, but is there another easy way to do the same by 
configuration ?

Regards
C. Leroy

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb

                 reply	other threads:[~2011-02-08 18:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D5185FF.5030900@c-s.fr \
    --to=christophe.leroy-ggn8y9cxrha@public.gmane.org \
    --cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).