Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] CLKOUT function on OSC2 ?

Status
Not open for further replies.

leo123

Newbie level 4
Newbie level 4
Joined
Jul 2, 2014
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
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
Code:
OSCCON = 0b01110000;
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.
 

Hi,

Have you actually set your Config parameters correctly ?

_FOSC_INTIO7_1H ; Internal oscillator block, CLKOUT function on OSC2

;Setup CONFIG11H
CONFIG FOSC = INTIO7, PLLCFG = OFF
 

Hi,

Have you actually set your Config parameters correctly ?

_FOSC_INTIO7_1H ; Internal oscillator block, CLKOUT function on OSC2

;Setup CONFIG11H
CONFIG FOSC = INTIO7, PLLCFG = OFF

yeah I did that
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top