@Daniel: Thanks for your hints. In my 4.14-bone kernel the pwm devices are already exported when overlay is loaded. So I have to echo values to period, duty-cycle and enable to start PWM. In my case eCAP2(PWMSS2) After that PRU has also access to ECAP2. A little bit ugly procedure...
@TJF I had also the idea to enable clock for PWMSS2 via enabling control module bit. But writing to "pwmss_ctrl Register" 0x44E10664 didn't change behaviour. Maybe I have to write also to "CM_PER_EPWMSS2_CLKCTRL Register" at 0x44E000D8? Thanks for your input! Am Di., 2. Juli 2019 um 16:54 Uhr schrieb TJF <[email protected]>: > Do you enable the PWMSS-0 bit in the tbclken register? AFAIR the PRU > cannot write to PWMSS-0 SS when the tbclk isn't enabled. See > > https://groups.google.com/d/msg/beagleboard/eVgyVduT288/bSJXkkvsBwAJ > > For libpruio I added a loadable kernel module to fix this issue. > > Regards > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/Ia2OC_8wArE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/39052a41-6854-473c-81ae-639a2cde7691%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/39052a41-6854-473c-81ae-639a2cde7691%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAG%2BFkwErwZHpt2qMe%3Da7PQrttJG%2BxiveVaMxN4bft4rhn%3D7qeA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
