I'm using an ATXMEGA16D4 in my project, where I would like to hqve a LED blinking.
This LED is connected to the pin PE2, and I'm using this code:
TCE0.CTRLA = TC_CLKSEL_DIV64_gc; TCE0.CTRLB = 0x40 | TC_WGMODE_FRQ_gc; TCE0.CCC = 31250; TCE0.CNT = 0;
But nothing out on the pin PE2.
If I use the CCA register instead it is working fine,