sama5d3 hlcdc pwm

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

lorenzocaste
Posts: 1
Joined: Wed Sep 19, 2018 2:02 pm

sama5d3 hlcdc pwm

Wed Sep 19, 2018 3:03 pm

on pwm-atmel-hlcdc.c I found this errata:

static const struct atmel_hlcdc_pwm_errata atmel_hlcdc_pwm_sama5d3_errata = {
.div1_clk_erratum = true,
};

but driver not work
I change the errata with
static const struct atmel_hlcdc_pwm_errata atmel_hlcdc_pwm_sama5d3_errata = {
.slow_clk_erratum = true,
};
and now driver work.

I have tested pwm output and it work also if ck divide by 1

I suppose that the errata on original pwm-atmel-hlcdc.c file is wrong

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 2 guests