Re: [beagleboard] Using PRU to control PWM peripheral on kernel 4.1 - DTO problem?

2017-04-03 Thread John Syne
> On Apr 2, 2017, at 11:32 AM, Justin Pearson wrote: > > Hi Jelena, thanks for your message. See my inline responses: > > On Sun, Apr 2, 2017 at 9:39 AM, Jelena Freiherr > wrote: > Am Sonntag, 2. April 2017 17:26:10 UTC+2 schrieb Justin Pearson: > > On the 3

[beagleboard] Using PRU to control PWM peripheral on kernel 4.1 - DTO problem?

2017-03-30 Thread Justin Pearson
I wrote pasm code that has the PRU set up a 10%-duty-cycle 33kHz square wave using PWM on the ehrpwm1B peripheral (which maps to P8_34 in mode 2). It worked on the 3.18 kernel but doesn't work on 4.1.12. When my C code tries to start the PRU code, prussdrv_open returns -1 (bad). I think the pro