USB-device on ATMega8.
USB-device on ATMega8.
Prompt please, whether probably to make the USB-device on chip ATMega8, using the built in RC-generator?
Re: USB-device on ATMega8.
You can use the 12.8 MHz version on the Mega8 with the built-in RC oscillator.
Re: USB-device on ATMega8.
I try to use autocalibration algorythm for ATMega8 and it does not work. Maybe because ATMega8 with the built-in RC oscillator has initial frequency 8Mhz
Re: USB-device on ATMega8.
I was run hid-mouse example after set calibration register to 226 value (manually). But calibration algorythm calculate another value for 12Mhz non-crystal Atmega8 (I see it in EEPROM), and device does not recognize
Re: USB-device on ATMega8.
If you use the 12.8 MHz module (the 12 MHz module won't work because it requires an EXACT clock rate), you also need to add the oscillator calibration. There are two types, see the libs-device directory in the driver distribution. The calibration will tune the oscillator from 8 MHz to 12.8 MHz.
Re: USB-device on ATMega8.
I understand, but calibration does not work properly. OSCAL value is incorrect after calibration and device does not recognized