# External oscillator into an ATTiny44A

**URL:** <https://forum.arduino.cc/t/external-oscillator-into-an-attiny44a/1391806>\
**Category:** 3rd Party Boards\
**Created:** [June 26, 2025, 2:04am UTC](https://forum.arduino.cc/t/external-oscillator-into-an-attiny44a/1391806 "2025-06-26T02:04:11Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![rotobob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/rotobob/32/1126393_2.png) [@rotobob](https://forum.arduino.cc/u/rotobob)\
**Post date:** [June 26, 2025, 2:04am UTC](https://forum.arduino.cc/t/external-oscillator-into-an-attiny44a/1391806/1 "2025-06-26T02:04:11Z")

</div>

I am using an arduino uno R4 minima as an isp to program an ATTiny44a. I've been able to create programs and run them on my breadboard. I decided that I wanted more accurate timing and so I'm trying to use an external 8Mhz crystal, but it doesn't seem to work. I have selected tools/clock/external 8MHz. I'm not sure how to specify it in my sketch. I have the following:

```arduino
#define PB0 10
#define PB1 9
const int XTAL1 = PB0;
const int XTAL2 = PB1;
pinMode(XTAL1, INPUT);
pinMode(XTAL2, OUTPUT);

```

I view the signals with an oscilloscope on both sides of the crystal and they are both just close to ground.

I have the crystal connected to physical pins 2 and 3 of the ATTiny44a with a 20pF cap from each side of the crystal going to ground.

Thanks

---

<div class="post-metadata">

**Author:** ![van\_der\_decken](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/van_der_decken/32/1006976_2.png) [@van\_der\_decken](https://forum.arduino.cc/u/van_der_decken)\
**Post date:** [June 26, 2025, 2:21am UTC](https://forum.arduino.cc/t/external-oscillator-into-an-attiny44a/1391806/2 "2025-06-26T02:21:57Z")

</div>

Have you done a Burn Bootloader operation to program the fuses? That's when your new clock choice takes affect.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [June 26, 2025, 2:22am UTC](https://forum.arduino.cc/t/external-oscillator-into-an-attiny44a/1391806/3 "2025-06-26T02:22:00Z")

</div>

Hi @rotobob.

@van_der_decken gave about the same response while I was writing this, but since the post I wrote has a bit more information I'll publish it anyway in case it might be of value.

> [@rotobob](#):
>
> it doesn't seem to work

Other than the oscilloscope, do you have other observations that led you to believe it is not working? If so, please provide a detailed description of those other observations.

> [@rotobob](#):
>
> I have selected tools/clock/external 8MHz.

Did you select **Tools \> Burn Bootloader** from the Arduino IDE menus after you did that?

In order to change the clock source, you must set the configuration fuses on the microcontroller. That is not done by an "Upload" or "Upload Using Programmer" operation. However, when you do a "Burn Bootloader operation, it actually performs two separate operations:

- Set the configuration fuses on the target according to the board configuration
- Flash the bootloader binary to the target

If you are using the [**ATTinyCore**](https://github.com/SpenceKonde/ATTinyCore) boards platform and have selected **Tools \> Board \> ATTinyCore \> ATtiny84/44/24 (No Bootloader)**, then you might have the impression that a "Burn Bootloader" operation is pointless, but it is still necessary after you make relevant changes to the board configuration solely to set the configuration fuses.

> [@rotobob](#):
>
> I view the signals with an oscilloscope on both sides of the crystal and they are both just close to ground.

I'm not knowledgeable in this area, but I'm not sure it is possible to use an oscilloscope to monitor the crystal. At least that was my own experience the one time I tried it, and when I asked someone who is knowledgeable in that area they told me it was probably expected.

---

<div class="post-metadata">

**Author:** ![van\_der\_decken](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/van_der_decken/32/1006976_2.png) [@van\_der\_decken](https://forum.arduino.cc/u/van_der_decken)\
**Post date:** [June 26, 2025, 2:39am UTC](https://forum.arduino.cc/t/external-oscillator-into-an-attiny44a/1391806/4 "2025-06-26T02:39:16Z")

</div>

> [@ptillisch](#):
>
> I'm not sure it is possible to use an oscilloscope to monitor the crystal

With a 10x probe you can, carefully, most of the time, but don't be too surprised if the extra loading makes the frequency a little wonky. I'd start with the output pin (XTAL2 on the 84). It works pretty well with a full swing crystal oscillator but I don't expect you'd have as much luck with a low power crystal oscillator (like you get on the 328PB). It wasn't obvious from a quick scan of the 84 datasheet which type it has.

---

<div class="post-metadata">

**Author:** ![rotobob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/rotobob/32/1126393_2.png) [@rotobob](https://forum.arduino.cc/u/rotobob)\
**Post date:** [June 26, 2025, 9:54pm UTC](https://forum.arduino.cc/t/external-oscillator-into-an-attiny44a/1391806/5 "2025-06-26T21:54:56Z")

</div>

When I use the burn bootloader command I get the following error:

avrdude: Yikes! Invalid device signature.  
Double check connections and try again, or use -F to override  
this check.

Failed chip erase: uploading error: exit status 1

Further more, after attempting the boot loader command, I can no longer upload the sketch on that chip.  
I get the following error:

avrdude: Expected signature for ATtiny44 is 1E 92 07  
Double check chip, or use -F to override this check.  
Failed programming: uploading error: exit status 1

---

<div class="post-metadata">

**Author:** ![van\_der\_decken](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/van_der_decken/32/1006976_2.png) [@van\_der\_decken](https://forum.arduino.cc/u/van_der_decken)\
**Post date:** [June 27, 2025, 12:55am UTC](https://forum.arduino.cc/t/external-oscillator-into-an-attiny44a/1391806/6 "2025-06-27T00:55:01Z")

</div>

And what is the received signature?

---

<div class="post-metadata">

**Author:** ![rotobob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/rotobob/32/1126393_2.png) [@rotobob](https://forum.arduino.cc/u/rotobob)\
**Post date:** [June 27, 2025, 2:51am UTC](https://forum.arduino.cc/t/external-oscillator-into-an-attiny44a/1391806/7 "2025-06-27T02:51:54Z")

</div>

It doesn’t tell me what the received signature is. How do I find out?

But it’s concerning that the burn bootloader command changed the signature so that the upload no longer works. Is the chip garbage now?

---

<div class="post-metadata">

**Author:** ![anon94801460](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@anon94801460](https://forum.arduino.cc/u/anon94801460)\
**Post date:** [June 27, 2025, 3:10am UTC](https://forum.arduino.cc/t/external-oscillator-into-an-attiny44a/1391806/8 "2025-06-27T03:10:14Z")

</div>

> [@rotobob](#):
>
> it’s concerning that the burn bootloader command changed the signature

It didn't. The signature is in read-only memory. More likely, one or more fuses got changed so that (perhaps) you need an external oscillator, and a more versatile programmer to set the fuses correctly.

I strongly recommend the [AVR ISP programmer V2.1](https://www.pololu.com/product/3172) from Pololu (best I've ever encountered), along with AVR Studio (now called Microchip Studio) to investigate, understand and fix the problem. Or start over with a new ATtiny44.

---

<div class="post-metadata">

**Author:** ![van\_der\_decken](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/van_der_decken/32/1006976_2.png) [@van\_der\_decken](https://forum.arduino.cc/u/van_der_decken)\
**Post date:** [June 27, 2025, 3:12am UTC](https://forum.arduino.cc/t/external-oscillator-into-an-attiny44a/1391806/9 "2025-06-27T03:12:41Z")

</div>

I will wager that your first burn bootloader attempt worked. And changed the fuses so that now the ATtiny needs an external crystal in order to function. And that you don't have one in your circuit. So everything you tried to do after that... won't work until there's a crystal (and a couple of caps) properly attached.

---

<div class="post-metadata">

**Author:** ![anon94801460](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@anon94801460](https://forum.arduino.cc/u/anon94801460)\
**Post date:** [June 27, 2025, 3:13am UTC](https://forum.arduino.cc/t/external-oscillator-into-an-attiny44a/1391806/10 "2025-06-27T03:13:57Z")

</div>

> [@van\_der\_decken](#):
>
> until there's a crystal (and a couple of caps) properly attached.

Or an external oscillator. I've even used an audio oscillator to fix problems like this. Programmer frequency must be set to 1/4 or less than the oscillator frequency.

The oscillator input on an AVR MCU is remarkably tolerant. For a laugh, check out how a complete, functional RFID tag can be realized using an antenna coil as the clock input to _and power source for_ an ATTiny, and **nothing else**.

> **[Using an AVR as an RFID tag – scanlime](https://scanlime.org/2008/09/using-an-avr-as-an-rfid-tag/)**

---

<div class="post-metadata">

**Author:** ![rotobob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/rotobob/32/1126393_2.png) [@rotobob](https://forum.arduino.cc/u/rotobob)\
**Post date:** [June 27, 2025, 2:22pm UTC](https://forum.arduino.cc/t/external-oscillator-into-an-attiny44a/1391806/11 "2025-06-27T14:22:28Z")

</div>

Yes. The problem was that I needed an external oscillator when I was programming the chip.

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [December 24, 2025, 2:22pm UTC](https://forum.arduino.cc/t/external-oscillator-into-an-attiny44a/1391806/12 "2025-12-24T14:22:54Z")

</div>

Closed on December 24, 2025, 2:22pm UTC

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