I wasn't able to get access to the PWM registers from the ARM side (same 
bus error), but the PRU can still access them fine.   For what I was doing 
a few weeks ago, I used the normal linux PWM devices to enable the PWM pin, 
but then used the PRU to configure the registers and such.  Seemed to work 
OK.

Dan



On Saturday, June 29, 2019 at 4:23:14 PM UTC-4, [email protected] wrote:
>
>
> Hi,
>
> during change from 3.8 kernel to 4.14 I struggled with an issue regarding 
> PWMSS accessed by PRU.
> On old kernel I load overlay am33xx_pwm to activate the PWMSS.
> I verified this with: devmem2 0x483000000 (base address of PWMSS0)
>
> With 4.14 kernel I get 'bus error' when I execute same 'devmem2 
> 0x483000000'
> Also PRU have no access to PWMSS.
>
> But loading the am33xx_pwm seems succesful, at least the sysfs folder is 
> populated with pwm folders.
>
> How can the PRU gain access to PWMSS?
>
> Best regards
>

-- 
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/e0bc70ce-afab-491d-b716-c742df377b7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to