Skip to content

Conversation

@RobertCNelson
Copy link
Contributor

Signed-off-by: Robert Nelson robertcnelson@gmail.com

Just a WIP, this table was fun to generate, totally un-tested.

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
…ecific overlay

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
@RobertCNelson
Copy link
Contributor Author

So far testing with: 4.4.91-ti-r133

import Adafruit_BBIO.PWM as PWM
myPWM="P2_1"
PWM.start(myPWM, 0, 1000)
PWM.set_duty_cycle(myPWM, 50)

The 4th patch needs to be cleaned-up, the code is expecting a certain overlay to be installed. With u-boot overlays and the PocketBeagle we need to ignore that..

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
@RobertCNelson
Copy link
Contributor Author

4.14.0-rc4-ti-r3 now works on the PocketBeagle, like v4.9.x i had to kill the pwm_set_polarity..

@RobertCNelson
Copy link
Contributor Author

and 4.9.54-ti-r68 now works on the PocketBeagle..

@pdp7 pdp7 merged commit 41094a2 into adafruit:master Oct 17, 2017
@pdp7
Copy link
Collaborator

pdp7 commented Oct 17, 2017

thanks @RobertCNelson

pdp7 added a commit that referenced this pull request Oct 18, 2017
disable polarity check due to issue in 4.9.x+ kernels

refer to issue #170:
#170

and commit c35e4cb from pull request #173:
"source/c_pwm.c: disable pwm_set_polarity (broken in v4.9.x/v4.14.x)"
c35e4cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants