> -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of Tom=E1s =D3 h=C9ilidhe > Sent: 17 June 2008 17:56 > To: Microcontroller discussion list - Public. > Subject: [PIC] Max speed from 887 > = > = > I'm used to using the 16F684, and I had the following macro for getting > the greatest speed out of it: > = > #define CrankTheSpeed() ((void)(OSCCON |=3D 0b1110000,OSCTUNE =3D 0b1= 111)) > = > I got myself a "Pickit2 Debug Express" today though, and from now on > I'll be working with the 16F887. > = > I took a quick glance at the datasheet for the 887 and it tells me that > the max speed I'll get is 8 MHz if I choose to use internal oscillators. > = > I want the absolute maximum speed though (so I think that means I use an > RC circuit to tell it what speed I want). > = > Could someone please explain to me what pin I put the RC on, what RC > values to use, what registers to set, etc.? Using an external RC oscillator for high speeds is going to give you an unp= redictable frequency that will be very prone to drifting with temperature a= nd hand capacitance effects. Don't do it. Regards Mike =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist