Arduino 2560 clock output (16Mhz) which pin we can use?

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

I am new to Arduino mega 2560. am working on TMC429 Motion controller for the motors. Its require 16Mhz Clock, How can i provide from the 2560 micro-controller ? which pin i can use for the same? I can use Pin No 9((CLKO/ICP3/INT7) PE7)? If yes in arduino bord its not connected.  Kindly help me to do this.

 

Thanks in advance.

 

Regards,

Naveen

This topic has a solution.
Last Edited: Sat. Mar 18, 2017 - 05:53 AM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The answer is on the arduino forum you also posted on. Someone asked the same question many years ago. Short answer- you need to add a wire to clko.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for your advice.

 

Is it possible to connect to (Crystal) XTAL1/2 pin directly? If yes which pin i can use either XTAL1 or XTAL2 ? 

 

Thanks in advance

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In theory the XTAL2 side may be "tap-able". But seriously, modern AVRs have CKOUT and the CLKO so use that - it mimics F_CPU and is a driven TTL output.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

Thanks for your advice. I will solder a wire to clkout pin and i will use for the clock.