pwm for raspberry pi?

Daniel Braniss danny at cs.huji.ac.il
Tue May 26 06:14:04 UTC 2015


> On May 26, 2015, at 1:14 AM, Luiz Otavio O Souza <lists.br at gmail.com> wrote:
> 
> On 25 May 2015 at 07:52, Daniel Braniss wrote:
>> Hi,
>> Now that I’m 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.
> 
I do have a B+

> The bcm2835 peripherals datasheet describes the PWM module registers

I’ve read it, hence I know it’s possible, what I’ missing is how to access it via
FreeBSD. There is a some mention for the BeagleBoneBlack, but it seems
broken, the FDT mentions the pins. Too many leads but not enough info
on how to tie them up :-)

cheers,
	danny





More information about the freebsd-arm mailing list