PWM on pins, i.MX6, UDOO Quad, UDOObuntu?

Discussion in 'General Programming Discussion' started by udooquestions, Jul 8, 2014.

  1. s00500

    s00500 New Member

    Joined:
    May 2, 2015
    Messages:
    4
    Likes Received:
    0
    Hi all,
    I just wanted to add the other muxing registers here so you don't have to search for them in the large pdf like I had to...


    IOMUXC_SW_MUX_CTL_PAD_GPIO_9 // gpio 9 for pwm 1 (4 for pwm, 5 normal)
    IOMUXC_SW_MUX_CTL_PAD_SD1_DAT3 // gpio 21 for pwm 1 (3 for pwm, 5 normal)

    IOMUXC_SW_MUX_CTL_PAD_GPIO_1 // gpio 1 for pwm 2 (4 for pwm, 5 normal)
    IOMUXC_SW_MUX_CTL_PAD_SD1_DAT2 // gpio 19 for pwm 2 (3 for pwm, 5 )

    IOMUXC_SW_MUX_CTL_PAD_SD1_DAT1 // gpio 17 for pwm 3 (2 for pwm, 5 normal)
    IOMUXC_SW_MUX_CTL_PAD_SD4_DAT1 // gpio 41 for pwm 4 (2 for pwm, 5 normal)

    IOMUXC_SW_MUX_CTL_PAD_SD4_DAT2 // gpio 42 for pwm 4 (2 for pwm, 5 normal)
    IOMUXC_SW_MUX_CTL_PAD_SD1_CMD // gpio 18 for pwm 4 (2 for pwm, 5 normal)
     
  2. Karthikeyan Jaganathan

    Karthikeyan Jaganathan New Member

    Joined:
    May 23, 2015
    Messages:
    3
    Likes Received:
    0
    To change the frequency of the PWM signals we have to have access to the pre scalar values of the Timers. My doubt is which timer corresponds to what pins and how to access their pre scalar values.So, that I can increase my maximum 'duty cycle'.
     

Share This Page