Zdravím všechny.
Mám problém nastavit na 18F46K22 interni oscilátor na 16Mhz a k tomu pustit PLL.
Nastavení procesoru
list p=18f46k22, R=DEC
include "p18f46k22.inc"
config FOSC = INTIO67, PLLCFG = OFF, PRICLKEN = ON, FCMEN = ON, IESO = OFF
config PWRTEN = ON, BOREN = ON, BORV = 285, WDTEN = OFF, PBADEN = ON, MCLRE = INTMCLR
config LVP = OFF, CCP3MX = PORTE0[/code]
INIT
[code] banksel OSCCON
movlw b'01110010'
movwf OSCCON
movlw b'00000000'
movwf OSCCON2
movlw b'01000000'
movwf OSCTUNE
Jede jen na 16Mhz a PLL 4x se nechce zapnout. Nevíte někdo z vás, jak na to?