Hello I've used the tiny26 in the past & generated a nice 50Khz PWM, though I was notoverly pleased with the relatively low resolution.. I have a new design all built up with the mega48 & was happy it has a lot more timer capabilites & many other features. I was glad to see it offers up to 16bit PWM resolution & was looking to use about 12 bits.
However, much to my surprise, it seems that using a 10bit PWM can give you only about 7KHz (with internal 8MHz clock). In 16 bit mode, the results are even much lower (about 122 Hz). Is there any way around this (have I missed something)??? I was looking to set up the internal PLL (what I set up on the tiny26), but couldn't figure out how to access it in the mega48.
Any thought comments, workarounds, or other parts that can give a high freq (>20khz) & decent resolution (10 bits or better) PWM.