Post Created date
"Better" method to load UBBRL suggestions...
Funny nobody have noticed that this :    #define BAUD2400 191 #define BAUD4800 95 #define BAUD9600 47 #define BAUD1440 31 #define BAUD1920 23 #define BAUD2880 15 #...
Monday, 25 November 2019 - 18:11
Fixing macroassembler problem for ATMega16A for Multiprog
First guess is that the AVR make some changes when the flash pass 8k. It have an other layout of ISR table (4 byte not 2) because then rjmp (and rcall) can't reach everywhere...
Saturday, 23 November 2019 - 22:20
Comparison 16bits ASM ATmega328
The problem with AVR bit commands is that the specific bit has to be known at compile time, (no instruction that do something like set the bit r16 point at)   In the past I...
Saturday, 16 November 2019 - 16:12
Amazing Mega 0-series
The problem is just that you can get a ARM with 32K Flash and 4KRAM for the same price.
Friday, 15 November 2019 - 18:44
Comparison 16bits ASM ATmega328
The point is that there a  NO SBR & CBR instructions , SBR is just a ORI with the bit(s) you want to set and  CBR do a ANDI with the complement of the mask...
Friday, 15 November 2019 - 17:58
variable sine wave generation
quick comments: you need to read more about DDS's :) 1) The code have an error in the lookup table, element 0 and 255 are both 0x80 (looks like you have a sine wave with a period...
Wednesday, 13 November 2019 - 21:09
Long Term Battery Standby via reed switch
Which voltage and power do you really need, and what else need power and when.   Perhaps use the watchdog clk (128KHz) as clk then the chip will need less than 100 uA...
Saturday, 26 October 2019 - 21:05
Sorting algorithm
if it's as numbers you need to sort them then, sort them as numbers not strings, else do as #2 
Thursday, 24 October 2019 - 20:30
AVR generated 12v pulse, just for fun
Perhaps they have an other name, it was a bead about 7 mm i diameter (I lived in US at that time so 1/4 inch I guess)made out of ferrite. It had a hole about 3mm, and...
Sunday, 29 September 2019 - 15:58
AVR generated 12v pulse, just for fun
Back 20 years ago I made 12V just for fun with a 8515 with a ferrit bead as a transformer, and I was surprised that I actually could make 12V 5ma with just 2 5V port pins....
Saturday, 28 September 2019 - 20:45
Oscillator calibration. Or decallibration
bluethooth If you have  Bluetooth I would expect it have a good clk can't you use that ?   Don't make jumps, rather make a "very" slow PLL(or PID), so if it's...
Friday, 27 September 2019 - 06:49
Oscillator calibration. Or decallibration
We are missing what you really want to do. If it's something like a UART where you need something like better that 3% (or 4% or 2% depends) it's fine to calibrate. But it's a...
Thursday, 26 September 2019 - 21:35