Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PWM off TCD on 14-pin DD series #541

Open
fijam opened this issue Aug 4, 2024 · 1 comment
Open

PWM off TCD on 14-pin DD series #541

fijam opened this issue Aug 4, 2024 · 1 comment
Labels
Bug Behavior of core does not match API or reasonable expectations

Comments

@fijam
Copy link

fijam commented Aug 4, 2024

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
Copy link

Wow, thanks a lot! This helped a lot, thanks to this PWM works on my AVR32DD14 now.

@SpenceKonde SpenceKonde added the Bug Behavior of core does not match API or reasonable expectations label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Behavior of core does not match API or reasonable expectations
Projects
None yet
Development

No branches or pull requests

3 participants