On Wed, 2003-12-10 at 22:31, Steve Underwood wrote:
> Hi Celso,
> 
> The highest frequency you can get using the internal resistors is about 
> 4MHz. However, the devices are specified for operation up to 8MHz, and 
> you can achieve this by attaching an external resistor to P2.5. You need 
> to program this pin to be an oscillator control pin using the P2SEL 
> register. The documentation doesn't specify suitable resistor values 
> properly, so you need to experiment a little.
> 
> Regards,
> Steve
> 
summarizing all hints:

/* Connect a 100K resistor between VCC and P2.5  (Steve and Ralf hints)
added :) */
P2SEL |= BIT5;

/* using the same definitions but  with BCSCTL2 |= DCOR;*/
init_dco(8000000);

tks so much, it works for me !

best regards



-- 
Celso Providelo
cp...@gwyddion.com
Linux user #166906
Gwyddion - http://www.gwyddion.com 
GNUsp Project
LAMI-Laboratories of Microprocessors
Department of Electrical Engineering
University of Sao Paulo (USP - Sao Carlos) 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to