Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2015 19:14:11 -0300
From:      Luiz Otavio O Souza <lists.br@gmail.com>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-arm <freeBSD-arm@freebsd.org>
Subject:   Re: pwm for raspberry pi?
Message-ID:  <CAB=2f8wigyRaP9fXr6V=-%2BM9YZTE=2nzdj-AngD6m15zZFu1gQ@mail.gmail.com>
In-Reply-To: <1FD1336E-D99F-4114-AD33-FBA1DF844E93@cs.huji.ac.il>
References:  <1FD1336E-D99F-4114-AD33-FBA1DF844E93@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25 May 2015 at 07:52, Daniel Braniss wrote:
> Hi,
> Now that I=E2=80=99m rapping up my spi/rfid driver (available on demand :=
-),
> I would like to use the pwm interface to power on/off a lock, but
> have no idea how to go around it, so any clues would be mostly welcomed.
>
> cheers,
>         danny

The PWM module is quite simple and has only two outputs, they can be
used only with recent 40 GPIO pins header (RPi-B+ or RPi2), in the
older models only one output was wired.

The bcm2835 peripherals datasheet describes the PWM module registers.

Luiz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB=2f8wigyRaP9fXr6V=-%2BM9YZTE=2nzdj-AngD6m15zZFu1gQ>