LogomatIQ

7. jún 2019
LogomatIQ - Tymto nastavenim poistiek v attiny sa da pouzit interny RC oscilator na takt 16MHz, tym sa vyriesi problem s RPI3. Podstatne su poistky CKDIV8 a SUT_CKSEL

Tymto nastavenim poistiek v attiny sa da pouzit interny RC oscilator na takt 16MHz, tym sa vyriesi problem s RPI3. Podstatne su poistky CKDIV8 a SUT_CKSEL

  • supiiikHmm, toto som netusil. Myslel som si, ze interny oscilator na attiny ma limit 8MHz. Uz som to nasiel v manuale CKSEL na 0b0001
    • majkoj
      AUTOR
      @supiiik  on ma v podstate limit 8Mhz, ale tym nastavenim sa da zapnut PLLko ktore ho zvysi na 64MHz a potom sa to vydeli 4mi 🙂
      • supiiikLen to potom hod na osciloskop, ci ti to drzi stabilne tych 16MHz. Toto je z manualu:

        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. Therefore,
        it is recommended not to take the OSCCAL adjustments to a higher frequency than 8 MHz in order to keep the PLL
        in the correct operating range.
        • majkoj
          AUTOR
          @supiiik  ale RC oscilator bezi na 8Mhz, toto je o niecom inom