Page 1 of 1

Different Oscilator on Felix2.0 electronics

Posted: Fri May 03, 2013 4:59 pm
by wmeertens
Hi,

I wonder if it's possible to change the 16Mhz oscillator to a 18.4320MHz or a 14.7456MHz one.
I think this will give better support in Linux, as this would enable all standard ANSI baudrates.
Which are needed by the Serial I/O layer in MoNo (which is used by the Repetier software)

I'm absolutely no expert at this point so correct me if I'm wrong ;)

As to my understanding this will give full support for all baudrates from 9k6 to 230K4 with a 0% error.
Perhaps it will give errors elsewehere in the firmware, due to too many or too less interupts.
Or perhaps it's not necessary because of the used protocol, though I couldn't communicate with the printer correctly at 230K4.

Regards,
Wouter Meertens

Re: Different Oscilator on Felix2.0 electronics

Posted: Sat May 04, 2013 12:22 am
by satoer
I'm almost sure that will give you a lot of timing problems elsewhere. Every used timer uses interupts. Why don't you just adjust the preferred baudrate in the firmware? This is just readable arduino C code.

Re: Different Oscilator on Felix2.0 electronics

Posted: Sat May 04, 2013 3:13 pm
by wmeertens
Yes that's what I did. I changed the baudrate to 115K2. With the 16Mhz oscillator this is the ANSI baudrate with the smallest error rating.
230K4 just didn't work properly.

I haven't tested if it actually matters if the printer is on 115K2 or 250K. For now 115K2 works fine and I didn't yet have any communication errors.

The change of the oscillator was just a brain fart ;)