PWM off TCD on 14-pin DD series
fijam opened this issue · 1 comments
fijam commented
DxCore 1.5.11
AVR32DD14
This works:
void setup() {
PORTMUX.TCAROUTEA = PORTMUX_TCA0_PORTD_gc;
}
void loop() {
analogWrite(PIN_PD5, 128);
}
This doesn't work:
void setup() {
PORTMUX.TCDROUTEA = PORTMUX_TCD0_ALT4_gc;
}
void loop() {
analogWrite(PIN_PD5, 128);
}
WeirdConstructor commented
Wow, thanks a lot! This helped a lot, thanks to this PWM works on my AVR32DD14 now.