Bonjour.
Is there any operation (interrupt ? ) associated with the brown out detector on the AVR's, so it would be possible to start some operations while the processor is still running (if possible), before voltage disappears completely ?
Thanks for any answer ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Direct programming or via the Serial bootloader? That would be the first thing to check. If using serial bootloader what are the switches set to ? Then, look at the datasheet.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Programming with the STK200, Mega8515. I found the fuses, but I am looking for support in GCB : I didn't find a corresponding interrupt in help ... "Voltage Fail" seems to be only for Microchip, and Voltage Regulator for ATmega16HVA only. So ... ?
Last edit: Bertrand BAROTH 2019-07-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem, and the solution :
1) I noticed with 90S8515 that during power down the turnouts on my railroad layout got random pulses, which caused erratic movements. And I saw that the 90S8515 has NO BUILT IN BOD at all.
2) So I moved to Mega8515 (resp 162, I have a stock of both of them), enabled BOD at 4v resp 4.3 v ... and the "clicks" disappeared !
Problem solved !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Bonjour.
Is there any operation (interrupt ? ) associated with the brown out detector on the AVR's, so it would be possible to start some operations while the processor is still running (if possible), before voltage disappears completely ?
Thanks for any answer ...
Direct programming or via the Serial bootloader? That would be the first thing to check. If using serial bootloader what are the switches set to ? Then, look at the datasheet.
Programming with the STK200, Mega8515. I found the fuses, but I am looking for support in GCB : I didn't find a corresponding interrupt in help ... "Voltage Fail" seems to be only for Microchip, and Voltage Regulator for ATmega16HVA only. So ... ?
Last edit: Bertrand BAROTH 2019-07-21
on a uno, if you run it at 3.3v the clock runs slower. So if drop from 5V wanted then maybe?? check clock.
Thanks Stan, but I use a "self-made-board", with a 6 MHz external crystal oscillator ...
Last edit: Bertrand BAROTH 2019-07-20
The problem, and the solution :
1) I noticed with 90S8515 that during power down the turnouts on my railroad layout got random pulses, which caused erratic movements. And I saw that the 90S8515 has NO BUILT IN BOD at all.
2) So I moved to Mega8515 (resp 162, I have a stock of both of them), enabled BOD at 4v resp 4.3 v ... and the "clicks" disappeared !
Problem solved !
No interrupts needed ...
Last edit: Bertrand BAROTH 2019-07-21