Timer Interrupt Formula

Hi all I am using SAMD21 (ATSAMD21 Xpro) development board

I am trying to Blink LED using Timer interrupt . I Have used Atmel Studio 7.0 . I have used 8Mhz Crystal . I have used TCC2 With Prescallar 64 . I could able to blink LED using Configurator tool.
I wanted to Confirm Calculated and Configured are getting proper waveform.
I wanted to formula involve in calculation . What setting to Be change for Make it work On 4Mhz Crystal

This is your second topic about "interrupt formula". But things does not become clearer. What is your problem, exactly?
If you have a code, please show it

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.