All of lore.kernel.org
 help / color / mirror / Atom feed
From: Toni Van Remortel <t.vanremortel@ha.be>
To: Embedded PPC <linuxppc-embedded@lists.linuxppc.org>
Subject: EP405 GPIO signal problem
Date: Thu, 20 Nov 2003 15:02:15 +0100	[thread overview]
Message-ID: <1069336934.1290.6.camel@toni> (raw)


Hi,

I have an RTAI powered kernel module which outputs 32 bits data via the
EP405 GPIO ports from the IBM 405GP CPU. These outputs are multiplexed
with other signals.
Problem: when I output the 32 bits as one like this:
writel( buffer, (u32)gpio_base_addr+GPIO0_OR );
(where buffer is of u32 type)
I get some glitches after my DAC. The DAC has a 70ns settling time, but
the glitches are 120µs. So I presume it's a CPU problem.

Is this a normal thing? I don't think so. It is strange behavior, that's
all I know. How can I prevent those 'peaks' in my output? Peaks are
generated by 0xFFFFFFFF output (that's what I can make out of the
scope-signal).
--
                           Toni Van Remortel
              Wetenschappelijk Medewerker - D-science lab
  Real time Linux for embedded systems: http://linemb.d-sciencelab.com
              Tel: +32 3 205 61 72 - Fax: +32 3 205 61 95
                      E-mail: t.vanremortel@ha.be


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2003-11-20 14:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-20 14:02 Toni Van Remortel [this message]
2003-11-20 15:21 ` EP405 GPIO signal problem Toni Van Remortel
2003-11-20 18:19 ` Eugene Surovegin
2003-11-21  8:21   ` Toni Van Remortel

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=1069336934.1290.6.camel@toni \
    --to=t.vanremortel@ha.be \
    --cc=linuxppc-embedded@lists.linuxppc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.