Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 22nd January 2009, 04:32 PM   #1
Default help me plz... on PIC18f4331

hi friends,
i am a rookie users of PIC18f4331.. i am using c compiler, i am unable to enable internal clock of this device , i want to generate 8Mhz clock... what i have to do... plz reply in detail.... i wil be grateful to u...
chinusneha is offline  
Old 22nd January 2009, 04:50 PM   #2
Default

Set OSCCON to 0x72

PS please don't use txtspeak.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Old 22nd January 2009, 04:57 PM   #3
Default

what should be the "configuration bits" for oscillator in MPLAB??
chinusneha is offline  
Old 22nd January 2009, 05:01 PM   #4
Default

There's a handy way to find config bit info. Open up the 18F4331.INF file (it's in your MPLAB / MPASM Suite directory) and scroll to the config section.

You'll find there.
; OSC = IRCIO Internal RC, RA6 & RA7 are I/O
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Reply

Tags
pic, plz

Thread Tools
Display Modes




All times are GMT. The time now is 05:55 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker