Log in

View Full Version : OOPs, Wiped Out BG0 BG1



Peter1960
- 24th March 2006, 02:01
Hi
I just realised what the BG0 and BG1 bits are for.
If you erase them, what should you set them to when
you reprogram the pic ?
pete

Darrel Taylor
- 24th March 2006, 02:12
BG0 BG1 bits?

What are those?
<br>

Edit: oops, found them, "Band Gap". Sounds like a Bruce question.

Peter1960
- 24th March 2006, 02:16
BG0 and BG1,

bits used in PIC12F675 for
BG1:BG0: Bandgap Calibration bits for BOD and POR voltage(1)
00 = Lowest bandgap voltage
11 = Highest bandgap voltage

factory set, must be read before erasing.

BOD = brown out detect
POR = Power on Reset

Peter

Darrel Taylor
- 24th March 2006, 02:35
Nope, it was a Melanie question.

http://www.picbasic.co.uk/forum/showthread.php?t=183&highlight=bandgap
<br>

Peter1960
- 24th March 2006, 02:47
Thanks Darryl,

All questions answered !!

Pete