Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Servo sample for Android Things does not working with i.MX7D #18

Open
shangyilim opened this issue Feb 24, 2019 · 0 comments
Open

Servo sample for Android Things does not working with i.MX7D #18

shangyilim opened this issue Feb 24, 2019 · 0 comments

Comments

@shangyilim
Copy link

shangyilim commented Feb 24, 2019

Hi!
I ran the pwmservo demo on NXP Pico i.MX7D Developer Kit and it did not work.
I then ran the same demo on Raspberry Pi 3 B and it worked as instructed.

The only difference between both is just the wiring for PWM1 on i.MX7D vs PWM0 on the Raspberry Pi.

I also ranused the PIO CLI to figure out whether the PWM is working or not, and when i ran
pio pwm PWM0 enable 1 --duty=12.5 --freq=50 on my Raspberry Pi 3 B, my servo managed to turn as instructed,
but when I ran pio pwm PWM1 enable 1 --duty=12.5 --freq=50, on the i.MX7D, my servo did not turn.

Any clues?

Thanks!

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

No branches or pull requests

1 participant