How many Pulse Width Modulators (PWM) are available on the ConnectCore (Wi-)i.MX6 (CC6)?

The ConnectCore 6 hardware supports up to 7 pulse width modulators (PWM).

Digi Embedded Yocto 2.0 firmware supports only the 3 PWMs implemented in the PMIC (1):
1) CC6 SBC HRM http://ftp1.digi.com/support/documentation/90001418_B.pdf
The PMIC GPIOs which can be used in PWM mode are LGA modules pads:
J1B V12 LGA271 = PMIC_GPIO11 (PWM) to control backlight contrast for LVDS0
J1B V13 LGA272 = PMIC_GPIO15 (PWM) to control backlight contrast for LVDS1
J1B Y10 LGA305 = PMIC_GPIO14 (PWM) to control backlight contrast for MIPI DSI

There is also Digi tested driver support in Yocto for them:
Dialog DA9063 LEDS (CONFIG_LEDS_DA9063)

2) the i.MX6 offers PWM1 to PWM4 HRM: http://ftp1.digi.com/support/documentation/90001394_B.pdf
LGA pad name       Multiplexing
H3      GPIO_9     ALT4: PWM1_OUT
J21     SD1_DAT2   ALT3: PWM2_OUT
J22     SD1_DAT1   ALT2: PWM3_OUT
J23     SD1_CMD    ALT2: PWM4_OUT
K3      GPIO_1     ALT4: PWM2_OUT
L20     SD1_DAT3   ALT3: PWM1_OUT

On the SBC not all of them are availble in hardware.

For the 4 iMX6 PWMs there is a driver in Yocto:
    i.MX PWM support (CONFIG_PWM_IMX)
however the latter one was not tested by Digi (might not work out of the box).
Last updated: Aug 08, 2017

Recently Viewed Articles

No recently viewed articles