cancel
Showing results for 
Search instead for 
Did you mean: 

ICP ST7lite25 internal oscillator

tomas2
Associate II
Posted on October 26, 2005 at 12:01

ICP ST7lite25 internal oscillator

3 REPLIES 3
tomas2
Associate II
Posted on October 17, 2005 at 15:25

Hi all,

Have anyone tried to reprogram a ST7lite25 using ICP ?

With readout protection on and using the internal oscillator ?

Please tell me how !

I can't figure out how to do without loosing the factory calibrated values of the oscillator.

Thanks in advance.

BR

Tomas

laurent239955_stm1
Associate II
Posted on October 19, 2005 at 10:56

Hi,

You should use ICP option enable and have the option byte with the internal oscillator bit ON.

With ICP disable, you need to provide an external clock.

Option bytes doesn't contain any factory calibration value !

BR

Laurent

tomas2
Associate II
Posted on October 19, 2005 at 11:08

Hi Laurent,

The problem is how to store the oscillator calibration values ( RCCR0 in FFDEh and RCCR1 in FFDFh ) during erase and recall them when reprogram.

STVP in ''socket mode'' works fine, but I can't find my why when using ICP...

Perhaps I am just stupid.

Can you advise step-by-step ?

BR

Tomas

Quote:

On 19-10-2005 at 14:26, Anonymous wrote:

Hi,

You should use ICP option enable and have the option byte with the internal oscillator bit ON.

With ICP disable, you need to provide an external clock.

Option bytes doesn't contain any factory calibration value !

BR

Laurent