Post Created date
Calibration of internal oscillator
I once had to adjust the calibration on a mega8 because it was off enough to inhibit UART comms at 19200 baud. It happened only once. I can't remember now, but think I just wrote...
Wednesday, 14 March 2012 - 11:10
mcu is continuously rebooting after flashing.
Experiment 1: copy hex from the good PC to the bad PC and program on the bad PC. Result: _______ Experiment 2: copy hex from the bad PC to the good PC, program on the good PC....
Tuesday, 13 March 2012 - 12:53
SPI Losing Random Bytes
In the future try containing one problem in one thread instead of adding new threads. How is this one different from https://www.avrfreaks.net/index.p... ?
Tuesday, 13 March 2012 - 12:48
'C' source code optimization techniques for atmega
If it's so bad that you don't have enough flash with -Os on, compiler optimizations may not be very useful. I would then try to identify pieces of your program that could be...
Monday, 12 March 2012 - 12:41
'C' source code optimization techniques for atmega
I would say that it's not worth it. The next minor version update of the compiler will have all your hand-made optimizations turned upside down.
Monday, 12 March 2012 - 08:43
best way to communicate between AVR's with SPI
You seem to be doing a lot of work in the interrupt handler. I would start by cleaning this up. You should not call parse_message() from within the interrupt vector. Instead, set...
Monday, 12 March 2012 - 08:36
Driving Nixie tube direct from Mega 8???
180V is the voltage on the anode, low-side voltage really depends on the low side and can be very low. A nixie passes around 2 to 10mA of current and AVR can easily sink that to...
Sunday, 11 March 2012 - 10:09
DC-DC 12V-1kV
@hugoboss: because I don't like dealing with stuff in the wall, I prefer it when it's dealt with by certified professionals in the area.
Friday, 9 March 2012 - 00:42
DC-DC 12V-1kV
In a boost converter straight to 1000, shouldn't the Vds of transistor also be >1000? I don't know, sounds weird to me.
Thursday, 8 March 2012 - 13:35
[solved] dying mega8, no reset or wdt
@Lee: you are absolutely right, shame on me. I guess I was lucky to use that pin as output in previous projects and this is how I never noticed this before.
Thursday, 8 March 2012 - 11:30
DC-DC 12V-1kV
@hugoboss: because I want to use store-bought 12V (or 9V, or something) wallwart. @dak664: lol @AgwanII: good to know that those appnotes are scalable and thanks for the...
Thursday, 8 March 2012 - 11:27
[solved] dying mega8, no reset or wdt
Quote:If some pins are unused, it is recommended to ensure that these pins have a defined level. Even though most of the digital inputs are disabled in the deep sleep modes as...
Thursday, 8 March 2012 - 01:35

Pages