Hello Pierre, I honestly do not know the eCAP / PWM modules at all, but I suspect that you would not necessarily need to use the PRU to access these modules. Pretty much anything that can be accessed via the PRU's can be accessed from a C program through /dev/mem/ + mmap(). Perhaps though, since I have no hands on experience with the eCAP/ PWM modules . . .maybe I'm missing something ?
With all that said, I'm also having a hard time visualizing the need for PRU based PWM, unless one needs to make changes very rapidly. That does not mean I know everything though . . . because obviously I do not. On Sun, Nov 1, 2015 at 8:07 PM, Pierre-Louis Constant <[email protected]> wrote: > Cheers Matthijs, that's the answer that I was looking for. > > It looks like the PRU is a feature that will require my attention shortly. > > Cheers, > > PL > > > On Sunday, November 1, 2015 at 4:31:34 PM UTC+8, Matthijs van Duin wrote: >> >> On Thursday, 22 October 2015 17:42:53 UTC+2, TJF wrote: >>> >>> So you can have a maximum of eight PWM outputs at a time. >>> >> >> There's another eCAP instance in PRUSS, and timers 4-7 can also be used >> as PWM outputs. All of these are available on the headers, so that makes 13 >> usable pwm outputs in total. >> >> (If you're really desperate you can get at the remaining eCAP instance by >> either sacrificing your serial console or by grabbing it from pin 19 of the >> jtag header. In the latter case you can't have a μSD card inserted since >> card detect is on the same line.) >> >> And of course a little PRU program could get you a whole bunch of extra >> PWM outputs. >> > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
