sim- / tgy

tgy -- Open Source Firmware for ATmega-based Brushless ESCs
http://0x.ca/tgy/
689 stars 386 forks source link

PB6 & PB7 (OSC) use for XnFET & XpFET #119

Closed Jonny89 closed 7 years ago

Jonny89 commented 8 years ago

Hello Guys,

i want to build my own ESC with Simonk. Now i'am working on the layout around the Atmega8 and want to change some pinconfigurations for a better way out.

So is it possible to use PB6 and PB7 (normally used for the Oscillator) for the signals XnFET and XpFET? The ESC will run without external oscillator.

I hope to get a postive reply ;) Best regards Jonny

IHaveADrone commented 8 years ago

IIRC, you need the precision of an external crystal

sim- commented 8 years ago

Sure, but as noted, the ATmega8 internal RC oscillator is kind of awful. It is very temperature-sensitive. Otherwise, it should work without issue (the original tgy board, for example, is common and does not have an oscillator).