cancel
Showing results for 
Search instead for 
Did you mean: 

SWIM OFF mode.

leoren_tm
Associate II
Posted on October 20, 2010 at 09:10

SWIM OFF mode.

6 REPLIES 6
leoren_tm
Associate II
Posted on May 17, 2011 at 15:11

CFG->GCR =0x00; //----work, typo error at the datasheet?

leoren_tm
Associate II
Posted on May 17, 2011 at 15:11

Hi MCU Lüfter

   CFG->GCR =0x00;

using that value work, as I can use the port like toggle. but im not sure if the AL bit will be affected and also im still having problem using beep.

I think ill need some official statement on the SWIM bit.

Also one of my unit SWIM disable, as like could not use it anymore. Reference manual says, at start up SWIM will be ON, therefore I can still use SWIM with POR reset.

later ill try reading SWIM bit in a normal condition.......

leo

lowpowermcu
Associate II
Posted on May 17, 2011 at 15:11

Hi leo,

How are you checking this ?

Herzlich,

MCU Lüfter

leoren_tm
Associate II
Posted on May 17, 2011 at 15:11

Hi.

I got my Buzzer working, and GPIO on SWIM pin, with and without changing  SW bit

in that CFG->GCR =0x00; and CFG->GCR =0x01; will work., but observe on scope, CFG->GCR =0x01; take long to have a stable output, compared to CFG->GCR =0x00;

but using as GPIO, both work.

leo

lowpowermcu
Associate II
Posted on May 17, 2011 at 15:11

Hi leo,

Are you making these tests in standalone mode or in debug mode ?

MCU Lüfter

leoren_tm
Associate II
Posted on May 17, 2011 at 15:11

Hi MCU Lüfter

on standalone mode, I mean on my custom PCB. Oh I never even tried debug mode.

also im using RST pin sa GPIO, maybe it would have some effect.

leo