I'm trying to determine the best way to have 8 independent frequencies on 8 different pins using a V71 device. Not planning on doing anything special DC wise, just going to use a 50% DC on all channels. Just need them to operate at different frequencies.

I'm currently trying to set it up using the ASF 4/Atmel Start framework and I'm having issues determining if it's possible. I was setting up PWM0 to make use of PWMC0_PWMH0-3 to have independent frequencies but it would appear that all PWM0 ports all seem to be clocking out the same data (which I don't really understand the purpose of). Same story with PWM1.

What peripherals should I be using if I wanted to setup eight independent frequencies? Should I be using the TC timers instead (and can I set frequencies independently) or another peripheral?

I can probably figure out how to setup the peripherals in START once I know which peripherals I should be using but want to make sure I'm using the correct peripherals for the job. Any help you can give me would be greatly appreciated. Thanks!

Yeah, realistically, they're all going to be fairly similar frequencies (10kHz, 11 kHz, 12kHz, etc). The chip says it has 12 timers onboard, just trying to determine what that looks like from a hardware output perspective. It appears to have the following pins:

TIOA0-TIOA11
TIOB0-TIOB11
TCLK0-TCLK11

It looks like those are my 12 timers. If I can set the thresholds for each with the correct modes, it looks like that's my best bet. As much as I'd like to use the PWM channels, it doesn't look like they're setup in a way that can be used for 8 different frequencies. Based on this, I might want to expand from 8 frequencies to 12, potentially.

I'll have to poke around with it a bit more on Monday, figure out the best way to set all this up. Thanks for all your help, everyone! I should have more updates on Monday (though I'm up for any additional suggestions anyone wants to toss into the ring).

I just wanted to follow up on this in case someone else ends up reading this down the road looking to do something similar. I found a timer setup on page 1697 of the datasheet that looks like what I want to do:

Basically, if I setup RC to produce the frequency I want and set RA to be 50% of RC, I should get the waveform I want on TIOA. If I want 8 different frequencies, I'll have to do this on 8 different timers. Still need to poke around at the registers to determine how to set this up correctly but at least I found the concept I was looking for. Hopefully this helps someone else out!

If, for whatever reason, someone has seen some sample code on how to setup the registers for something like this, I wouldn't be opposed to checking it out!