De_User (11.12.2007 20:29, просмотров: 309) ответил ~blackbit~ на ..это особая, для оверклокеров :)
В Tiny25 имеется хитрый умножитель частоты. Можно сделать 64МГц, которое черз прескалер :4 будет источником тактовой частоты. Internal PLL for Fast Peripheral Clock Generation - clkPCK
The internal PLL in ATtiny25/45/85 generates a clock frequency that is 8x multiplied from a source input. The source of the PLL input clock is the output of the internal RC oscillator having a frequency of 8.0 MHz. Thus the output of the PLL, the fast peripheral clock is 64 MHz. The fast peripheral clock, or a clock prescaled from that, can be selected as the clock source for Timer/Counterl. See the Figure 7-2 on page 23.
Since the ATtiny25/45/85 device is a migration path for ATtiny15, there is an ATtiny15 compatibility mode for supporting the backward compatibility with ATtiny15. The ATtiny15 compatibility mode is selected by programming the CKSEL fuses to '0011'. In the ATtiny15 compatibility mode the frequency of the internal RC oscillator is calibrated down to 6.4 MHz and the multiplication factor of the PLL is set to 4x. With these adjustments the clocking system is ATtiny15 compatible and the resulting fast peripheral clock has a frequency of 25.6 MHz (same as in ATtiny15).
The PLL is locked on the RC oscillator and adjusting the RC oscillator via OSCCAL register will adjust the fast peripheral clock at the same time. However, even if the RC oscillator is taken to a higher frequency than 8 MHz, the fast peripheral clock frequency saturates at 85 MHz (worst case) and remains oscillating at the maximum frequency. It should be noted that the PLL in this case is not locked any longer with the RC oscillator clock.
Let's come together right now !