Peet19
Member
Hello everyone!
I want to set the oscillator of a PIC18F24K22, but for some reason I can't set the OSTS bit
(OSTS: Oscillator Start-up Time-out Status bit) in the OSCCON register.
I would like to use an 8MHz crystal.
SCS = 00
HFIOFS = 0
OSTS = 1
IRCF = 000
IDLE = 0
MOVLW 0x08
MOVWF OSCCON
The configuration bits are in the picture. What could be the problem? Why can't the OSTS bit be set to 1?
Thank you in advance for your help!
I want to set the oscillator of a PIC18F24K22, but for some reason I can't set the OSTS bit
(OSTS: Oscillator Start-up Time-out Status bit) in the OSCCON register.
I would like to use an 8MHz crystal.
SCS = 00
HFIOFS = 0
OSTS = 1
IRCF = 000
IDLE = 0
MOVLW 0x08
MOVWF OSCCON
The configuration bits are in the picture. What could be the problem? Why can't the OSTS bit be set to 1?
Thank you in advance for your help!