Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

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

@shangyilim

Description

@shangyilim

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions