Pages: 1 [2]   Go Down
Author Topic: ATmega328P-PU with Arduino as programmer + NRF24L01  (Read 1882 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 212
Posts: 13084
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I just uploaded some code that someone posted for me that output a 1MHz clock to Digital pin 13 which he told me to connect to XTAL1 on the atmega, and now it works! Does this mean my chip was setup to use an external clock...

Yes.

Quote
(though I thought fresh chips are setup to use their own 1MHz clock)?

They are.  Which means you or someone between you and the factory altered the fuses.

Quote
Can I set it to use its own clock?

Yes.  With no tuning, the internal oscillator is ±10% of the frequency.  With tuning you can expect ±1% (which is more than good enough for most applications).
Logged

Pages: 1 [2]   Go Up
Jump to: