Post Created date
Fine tuning a crystal in code
I have a side question back on the org. question.   If you just put a 32768 KHz crystal on a AVR that can measure temperature, then measure the speed, at let's say at 3...
Friday, 24 May 2019 - 12:28
Speeding up this SPI bit bang function in C?
I'm slow I updated #41 with numbers for a classic AVR (Mega328).   And yes I have one of the first AVR's from 1997.  (A AVR1200  E.S.)
Sunday, 19 May 2019 - 09:52
Speeding up this SPI bit bang function in C?
For #38 and #39 be very careful if PORTB is used for other things! If output changes happen in a ISR this code can change it back.     Add:   I just...
Sunday, 19 May 2019 - 05:40
What is the best wireless network architecture for 1000 nodes...?
So there was was nothing wrong with the chips from vendor 1. It was just the wrong chips that was ordered (the devil is in the last letters after the number)
Thursday, 16 May 2019 - 21:30
find dead code in code compiled in amtel studio
Some years back I was a place that used Klocwork and it can really analyze your code. 
Tuesday, 14 May 2019 - 21:32
Port Configuration Issue
If you don't need any of the new things then you use the VPORT'S for the DDR PORT and PIN the registers are also mapped to the normal place.
Monday, 13 May 2019 - 18:30
Solved: Attiny 85 ADC reads always 1023 irrespective of input
it'sDK you have to listen to what people say:   When a ADC is bipolar that means that it's ok with a input level below GND (like -3V) that it NOT legal on a AVR.   The...
Sunday, 12 May 2019 - 20:54
Compare and swap
I have not compiled it but on a normal AVR read and write (RAM), take the same time, so the extra check should cost time because then you need to read and then "perhaps" write,...
Saturday, 11 May 2019 - 17:32
What is the best wireless network architecture for 1000 nodes...?
Sound more like tolerance on the internal clk  from  1. was 10% chips and 2. was 2% chips.    
Friday, 10 May 2019 - 22:10
BREQ Instruction Bug
Driving the pin current to the limit, once the led is enabled.... (Which should never happen so.....) Yes you do for 1 us!   Swap the order of the two first instructions....
Friday, 10 May 2019 - 08:00
BREQ Instruction Bug
Perhaps the pull up resistor is undefined, try to disable it when you init the port.     does the LED lit bright? (perhaps it just the port pullup )   add: Forget...
Thursday, 9 May 2019 - 21:49
BREQ Instruction Bug
How big is the serial resistor on the LED? , sounds like it's not there ;)     Add: And I expect that you have a 100nF local capacitor between GND and Vcc ;) 
Thursday, 9 May 2019 - 21:37