comp.lang.ada
 help / color / mirror / Atom feed
From: "Rego, P." <pvrego@gmail.com>
Subject: Re: Raspberry Pi, Real-Time and Ada
Date: Fri, 7 Feb 2014 03:44:15 -0800 (PST)
Date: 2014-02-07T03:44:15-08:00	[thread overview]
Message-ID: <bb35781a-128f-4d38-b7c4-16ac657b5fc3@googlegroups.com> (raw)
In-Reply-To: <ld196v$ot6$1@dont-email.me>

> I went back and had a closer look at this. (I've never actually used
> Linux to drive GPIO lines as I either use a dedicated RTOS or just
> write the code for bare metal mode).
> It appears there are two ways of accessing the GPIO lines on the
> Raspberry Pi under Linux: either via the /sys/class/gpio interface
> or directly via memory mapped I/O.
> It looks like all the types of performance comments I remember come
> from the first access method and that you can get far better access
> times using the second method.
> Which method are you using ?

At this time in RPi, none of them. For now I am still studying the board before coding, as I should port an application to it in the next days. But I am still evaluating if the RPi serves to my app. Timing constraints are the top concern. But there as others, for example I just have 1 PWM exposed in RPi and I would need at least 4; this is a minor concern if I can control some GPIOs using timers, or use an external board to do it for me, but it would be better if I had more PWM.

Rego.

  reply	other threads:[~2014-02-07 11:44 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06  0:53 Raspberry Pi, Real-Time and Ada Rego, P.
2014-02-06  7:50 ` Stephen Leake
2014-02-06  8:44   ` Dmitry A. Kazakov
2014-02-06 13:16     ` Simon Clubley
2014-02-06 21:12       ` Rego, P.
2014-02-07  0:26         ` Simon Clubley
2014-02-07 11:44           ` Rego, P. [this message]
2014-02-06 21:09     ` Rego, P.
2014-02-06 21:04   ` Rego, P.
2014-02-07  8:28     ` Stephen Leake
2014-02-07 12:09       ` Rego, P.
2014-02-08  8:28         ` Stephen Leake
2014-02-08  9:06           ` Dmitry A. Kazakov
2014-02-10 18:18           ` Rego, P.
2014-02-13 15:23             ` Stephen Leake
2014-02-07  8:42     ` Dmitry A. Kazakov
2014-02-07 12:34       ` Rego, P.
2014-02-07 12:59         ` Dmitry A. Kazakov
2014-02-07 13:25           ` Rego, P.
2014-02-07 23:11       ` Rego, P.
2014-02-08  8:56         ` Dmitry A. Kazakov
2014-02-10 18:29           ` Rego, P.
2014-02-10 20:38             ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox