Can I use a 4 pin oscillator instead of a 2 pin crystal when running off board?


I want to pre-program the u-chip and transfer it to a much smaller, less complicated board, for use. To supply the 16 MHz to the u-chip, normally you'd get a 2 pin crystal resonator and stick it between pins 8 and 9 (on the u-chip im using) with 2 caps to ground. However, i have a fully packaged 4 pin oscillator which requires i input a 5V source, and has a full square wave output between two other pins.
My question is: can i place the output of my 4 pin oscillator to pins 8 and 9 on the u-chip or is the chip expecting a crystal?

I wanted to ask before trying anything silly.

Set the CKSEL fuses for an external clock source instead of an external crystal. Note that it will require that 16mhz squarewave to be there, otherwise it won't work and you won't be able to program it to use a different clock source.

I would bootload it normally, then set the low fuses via avrdude from command line to change from crystal to external clock.