logo elektroda
logo elektroda
X
logo elektroda
REKLAMA
REKLAMA
Adblock/uBlockOrigin/AdGuard mogą powodować znikanie niektórych postów z powodu nowej reguły.

Jakie fusebity ustawić dla ATmega16 w projekcie z Elektroda?

minde1 04 Cze 2015 11:36 960 11
REKLAMA
  • REKLAMA
  • #2 14744312
    excray
    Poziom 41  
    High - 0x4F, Low - 0x3F - external clock > 8MHz
  • #3 14747224
    minde1
    Poziom 9  
    Ale schemat używany 16MHz.
  • #4 14747313
    excray
    Poziom 41  
    minde1 napisał:
    ale schemat uzywany 16mhz

    That's no matter. 16MHz is greater than 8MHz so the condition has been fulfilled.
  • REKLAMA
  • #5 14747866
    minde1
    Poziom 9  
    excray napisał:
    minde1 napisał:
    ale schemat uzywany 16mhz

    That's no matter. 16MHz is greater than 8MHz so the condition has been fulfilled.

    But in default code
    #ifndef F_CPU
    #define F_CPU 16000000UL // 16 MHz clock speed
    #endif

    this example not for real project code
    But this meaning program not working if not 16mhz frenquency, or this fuse in latest post is for 16mhz ? what have online calculate timer value for fuse bit ?
  • #6 14748059
    Konto nie istnieje
    Poziom 1  
  • #7 14748626
    minde1
    Poziom 9  
    excray napisał:
    High - 0x4F, Low - 0x3F - external clock > 8MHz

    Or this fuse bit set pwm for PD4 PD5 ?
  • REKLAMA
  • #8 14748772
    Konto nie istnieje
    Poziom 1  
  • #9 14749829
    minde1
    Poziom 9  
    atom1477 napisał:
    The Fuse Bits has nothing to do with a PWM.

    but in this page write
    Cytat:
    Procesor taktowany jest kwarcem 16MHz. Odtwarzanie stereo obsługiwane jest za pomocą dwóch wyjść PWM od Timera1 czyli OC1A oraz OC1B. Na wyjściach pinów podłączyłem kondensatory 100uF.

    And whats meaning in this quote terms timer1 OC1A and OC1B, what is timer1 ?
  • #10 14749873
    Konto nie istnieje
    Poziom 1  
  • REKLAMA
  • #11 14749948
    minde1
    Poziom 9  
    atom1477 napisał:
    These are the Timer outputs working as PWM. They are connected to the pins PD4 and PD5. But they aren't set by Fuse Bits. They are set by software.

    Ok what is fuse for 16mhz atmega16 ?
  • #12 14750287
    Konto nie istnieje
    Poziom 1  
REKLAMA