leo123
Newbie level 4
- Joined
- Jul 2, 2014
- Messages
- 5
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 32
Hello ,
I have PIC18F46K22 and I am using the internal oscillator 16MHz no PLL.
I want to enable the CLKOUT function on OSC2 which is on RA6 pin.
I am using MikroC PRO for PIC From Edit project in oscillator selection I selected : internal oscillator block,CLKOUT function on OSC2 and in my code
I put
with this configuration the microcontroller work fine as expected but the CLKOUT function on OSC2 is not working !!!
can somebody help me please , maybe I did a mistake in the configurations ?
thanks.
I have PIC18F46K22 and I am using the internal oscillator 16MHz no PLL.
I want to enable the CLKOUT function on OSC2 which is on RA6 pin.
I am using MikroC PRO for PIC From Edit project in oscillator selection I selected : internal oscillator block,CLKOUT function on OSC2 and in my code
I put
Code:
OSCCON = 0b01110000;
can somebody help me please , maybe I did a mistake in the configurations ?
thanks.