![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Im woundering how to determin wich configbits to use on a 18F4550.
Im using a SD card for storage (using mikroC compiler with libs for FAT16) ADC (three of them) and i got a 8 MHz Crystal Im also ud\sing a DS1302 for timestamp on the file I would be glad if someone could help me on how to choose the different config bits.
__________________
Simplicity rules Good enought - its perfect ?? 2 Gig of free online backup space Are you a Chemist? |
|
|
|
|
|
|
(permalink) |
|
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
I was going to prepare a summary of the 18F1320 CONFIG's for a project I am doing, saved me a job, IOU another beer. Regards
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ |
||
|
|
|
|
|
(permalink) | |
|
Quote:
__________________
http://www.it4um.com |
||
|
|
|
|
|
(permalink) |
|
Well i have looked in the datasheet and couldnt say i could find (a list) of config bits. All i did find was the OSC bit(s)
__________________
Simplicity rules Good enought - its perfect ?? 2 Gig of free online backup space Are you a Chemist? |
|
|
|
|
|
|
(permalink) | |
|
Quote:
I also understand your confusion as MikroC keep the name of the config register, not the bit itself, it has "config words" that are "trouble" .. I personally go trough doc, set up the value of every bit and then "turn on the appropriate combo" in MikroC ... In my prev post I wrote mikroC keep "bit's" .. that is not true .. it keep the name of registers, and offer some "config words" that I actually do not get at all .. I only look at the hex values. So again, the only way to do it properly is trough datasheet, the way mikroC offer those words IMHO only confuses people .. but, I read that they are now thinking about making cli compiler (linux version too) so this might change...
__________________
http://www.it4um.com |
||
|
|
|
|
|
(permalink) |
|
Ahh ok thanks for that (im a bit blushed here im sitting and checking out pages 288 trough 299 in the datasheet)
__________________
Simplicity rules Good enought - its perfect ?? 2 Gig of free online backup space Are you a Chemist? |
|
|
|
|
|
|
(permalink) | |
|
Quote:
__________________
http://www.it4um.com |
||
|
|
|
|
|
(permalink) |
|
You could always just look at:
"C:\Program Files\Microchip\MPASM Suite\P18F4550.INC" I usually look there for a listing... |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| help programming 18f4431 | thiru_electrifiers | Micro Controllers | 13 | 12th April 2008 06:11 AM |
| RS232 Converter | e.chain | Micro Controllers | 0 | 6th October 2007 06:19 PM |
| Easiest/Cheapest way to snoop I2C traffic? | toodles | Micro Controllers | 22 | 22nd August 2007 12:19 PM |
| need help modifying some pic ASM code | justDIY | Micro Controllers | 17 | 16th July 2007 11:41 AM |
| Using a PIC to emulate a PSX controller | toodles | Micro Controllers | 10 | 30th June 2007 08:17 AM |