![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| I'm looking at the datasheet for the PIC16f54. it says "Maximum Operation Frequency - 20MHz" - does that mean I could use a 12MHz crystal to get somthing up and running? I'm trying to sub the 16f54 for the 16f84a in the inchworm "Hello World" jumpstart. He's uses a 4MHz crystal, but I don't have one (that I have found so far..) But I do have what I am pretty sure is a 12MHz. How critical are the decoupling cap values? | |
| |
| | (permalink) |
| Not sure what the Hello World program uses for it's output, but if it's an RS232 out then you'll have to recalculate the baud rate for the new crystal value. Basically three times the 4mhz value.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | (permalink) | |
| Quote:
As suggested you will have to recalculate anything that's time specific, and the tuning capacitors aren't at all critical - I just use anything to hand between 10pF and 33pF. | ||
| |
| | (permalink) |
| Cool! Thanks guys. Now as soon as my USB/Serial cable comes in the mail I should finally be able to flash my first LED via a PIC! | |
| |
| | (permalink) |
| Just make sure you select HS as the for the oscillator option. A config value of 0x0FFE should work for the 16F54 Code: _CONFIG 0x0FFE http://www.piclist.com/techref/microchip/osc.htm I like the old 54, it's a really simple PIC and really old now. Thankfully most modern PICs now have an internal osc option. | |
| |
| | (permalink) | |
| Quote:
My serial cable came in the mail today, so, with any luck, i'll have somthing up and running tonight. | ||
| |
| | (permalink) |
| If you can get your hands on a 16F88 you can play with the debugger, it is a complex chip compared with the 16F54. | |
| |
| | (permalink) |
| Well,..... its not working This is what I get Connecting to MPLAB ICD 2 ICD0021: Unable to connect with MPLAB ICD 2 MPLAB ICD 2 Ready I am using a USB to Serial RS232/DB9 9-PIN Converter Cable. I have COM PORT set to COM 1 - is this right? What is COM 1? I have 4 USB ports on my computer, are they all the same or will only a certin one work? I hope I'm just making a simple mistake on somthing and I didn't solder somthing in wrong on the inchworm. Anyone have any ideas? ........ | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| I have it set to auto download the correct OS. Is there a way to make sure its working/manually do it? I did turn off FIFO buffer. Any other ideas? | |
| |
| | (permalink) |
| It seems like no matter what I try it can't connect.... ICD0021: Unable to connect with MPLAB ICD When I try to select Download ICD2 Operating System from the Programer menu, the only file that shows up is ICD07010400.hex, and when I try it, it can't connect and fails | |
| |
| | (permalink) |
| What brand of USB to RS232 adapter is it? Can you tell if it uses the PL2303 chipset? (If so look on my download section for a working PL2303 driver) | |
| |
| | (permalink) |
| I can't find any info on the chipset. I can't get any drivers to install either...... After downloading the one off your site, should the windows hardware wizard find it and install it? I can't get it to, and can't get it to manually install either I appreciate your help though! Inchworm tech suppoert is top notch | |
| |
| | (permalink) |
| There is usually a driver cd with the adapter. What brand is it? Right click on my computer / properties / hardware look for the comm adapter and it will tell you the chipset. The PL2303 is only for a PL2303 USB / Serial bridge. | |
| |
| | (permalink) |
| A hello world program for a PIC? Wouldn't that be quite complicated, as you'd need a dot matrix LED display? I would think you probably mean the PIC equivalent to a hello world program, i.e. a simple tes program to show it's working. I suppose this would be something simple like flashing an LED.
__________________ I also post at the following sites: http://www.stop-microsoft.org http://www.heated-debates.com Screen name: Aloone_Jonez And http://www.silicontronics.com, same screen name as here. | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Variable capacitor circuits | walters | General Electronics Chat | 83 | 11th March 2008 03:59 PM |
| 555 maximum frequency | electroicarus | General Electronics Chat | 3 | 19th May 2006 03:18 PM |
| Optimal quench frequency | mstechca | General Electronics Chat | 1 | 1st July 2005 06:13 AM |
| Massive ERRORS in program. URGENT HELP NEEDED. | davepusey | Micro Controllers | 8 | 18th May 2004 05:13 AM |