I'm trying to configure a new Attiny816 project using START (should save time, right?).
CLK_TCD0 is already 20e6 Mhz / 8 so 2.5e6 MHz. An event should be generated at 10 KHz rate. So if CLK is 2.5e6, compare value should be 1e-4 / (1/2.5e6) = 250 (fixed to 249 in code).
At this point I'm not sure how to configure "Event control" A or B in order to generate an even upon compare match. If anyone can make sense of these definitions it would be great!
Please event mux settings below the TCD config. page.