18F26K22 Sigorta ayarları

Başlatan zeus48, 01 Temmuz 2015, 23:26:13

zeus48

Arkadaşlar mrb. Bu piki şeçmemin sebebi 1.8 v  kadar çalışması. Bu işlemciyi tanımıyorum. Datasheet 
baktım birşey anlayamadım. Bana bu konuda yardımcı olurmusunuz. Dahili osc kullanacağım. 8mhz bana yeter

Maxim

1.8v çalışabilen 18LF versiyonudur (o da 20mhz altındayken)
normalleri 2.3 volt minimum

zeus48

Benim sorunum sigorta ayarlarını yapamamak

Maxim

#3
bu dahili 8mhz osc için çalışan bir proton+ config ayarı


Device 18F26K22
Declare Xtal=8
   
OSCCON.6=1
OSCCON.5=1
OSCCON.4=0

OSCCON.1=1
OSCCON.0=1
;-------------------------------------------------------------------------------

Config_Start
  FOSC = INTIO67 ;Internal oscillator block
  PLLCFG = OFF ;Oscillator used directly
  PRICLKEN = On ;Primary clock enabled
  FCMEN = OFF ;Fail-Safe Clock Monitor disabled
  IESO = OFF ;Oscillator Switchover mode disabled
  PWRTEN = On ;Power up timer enabled
  BOREN = SBORDIS
  BORV = 190
  WDTEN = OFF ;Watch dog timer is always disabled. SWDTEN has no effect.
  WDTPS = 32768 ;1:32768
  CCP2MX = PORTC1 ;CCP2 input/output is multiplexed with RC1
  PBADEN = On
  CCP3MX = PORTC6 ;P3A/CCP3 input/output is mulitplexed with RC6
  HFOFST = On ;HFINTOSC output and ready status are not delayed by the oscillator stable status
  T3CMX = PORTC0 ;T3CKI is on RC0
  P2BMX = PORTC0 ;P2B is on RC0
  MCLRE = INTMCLR ;RE3 input pin enabled; MCLR disabled
  STVREN = OFF ;Stack full/underflow will not cause Reset
  LVP = OFF ;Single-Supply ICSP disabled
  XINST = OFF ;Instruction set extension and Indexed Addressing mode disabled (Legacy mode)
  Debug = OFF ;Disabled
  Cp0 = On ;Block 0 (000800-001FFFh) code-protected
  CP1 = On ;Block 1 (002000-003FFFh) code-protected
  CP2 = On ;Block 2 (004000-005FFFh) code-protected
  CP3 = On ;Block 3 (006000-007FFFh) code-protected
  CPB = On ;Boot block (000000-0007FFh) code-protected
  CPD = OFF ;Data EEPROM not code-protected
  WRT0 = OFF ;Block 0 (000800-001FFFh) not write-protected
  WRT1 = OFF ;Block 1 (002000-003FFFh) not write-protected
  WRT2 = OFF ;Block 2 (004000-005FFFh) not write-protected
  WRT3 = OFF ;Block 3 (006000-007FFFh) not write-protected
  WRTC = OFF ;Configuration registers (300000-3000FFh) not write-protected
  WRTB = OFF ;Boot Block (000000-0007FFh) not write-protected
  WRTD = OFF ;Data EEPROM not write-protected
  EBTR0 = OFF ;Block 0 (000800-001FFFh) not protected from table reads executed in other blocks
  EBTR1 = OFF ;Block 1 (002000-003FFFh) not protected from table reads executed in other blocks
  EBTR2 = OFF ;Block 2 (004000-005FFFh) not protected from table reads executed in other blocks
  EBTR3 = OFF ;Block 3 (006000-007FFFh) not protected from table reads executed in other blocks
  EBTRB = OFF ;Boot Block (000000-0007FFh) not protected from table reads executed in other blocks
Config_End

zeus48

Üstad ilgin için tşk  . Basıc olanı lazım

F®T

Zeuse48 bu iş pdf yi okuyarak ancak yapılır.
"Hakk" şerleri hayr eyler Zannetme ki gayr eyler Ârif anı seyreyler Mevlâ görelim neyler Neylerse güzel eyler.

Powered by EzPortal