Post Created date
using millis() function on atmel studio as uint64_t
hrn97ta wrote:Why is the original millis function used unsigned long instead of uint64_t? MrKendo wrote:Probably because it is a sensible compromise.  
Tuesday, 25 August 2020 - 15:01
Prescaler enable with ATtiny412
Waltteri wrote: That's true. In the code sample I do have the required unlock line: CPU_CCP = CCP_IOREG_gc;   Ah, I missed that in the OP.  You were fundamentally...
Tuesday, 25 August 2020 - 14:57
Prescaler enable with ATtiny412
El Tangas wrote:The reason it doesn't work, is that writing to protected registers must be done in a few cycles. The &= operation (and |=, ^= and so on) generates too much...
Tuesday, 25 August 2020 - 12:49
Using EEPROM to record running hours
This part looks like it could  be an interesting solution to this problem:
Tuesday, 18 August 2020 - 18:35
Do we need a driver to talk to atmega328p from a PC
There's 2 different lines in the sand.  Can we get 8 more?  (just kidding)
Sunday, 12 July 2020 - 13:16
Hijacked Terminology?
MarkThomas wrote:Was it possible to write to the windowed EPROMs without erasing them first.  Could you just overwrite, or would only the 1's get written so eventually you...
Friday, 26 June 2020 - 19:33
Atmega32L 8au and Atmega32L 8ai
So, to directly answer the OP's question, These two chips are of the same speed grade, temperature range, and package.  I suppose it's possible there is a difference in...
Friday, 26 June 2020 - 19:19
V-USB and Attiny85
How much bulk capacitance are you allowed to shove into a USB port?  I see two electrolytics on the photo of the breadboard but their values are not visible.
Thursday, 25 June 2020 - 00:11
Mega-0 Programming Connector?
doomstar wrote: As you can see the mark is in front of what you called pin 5.   Usually, this indicate pin 1. So I'm not sure of what to do !   For some unknown reason...
Monday, 22 June 2020 - 23:04
I/O states pre-POR
I've always put a pulldown (or pullup, if pChan) (10k) on the FET's gate when faced with this situation.  I've never seen any unwanted spurious behavior on power up of an AVR...
Monday, 22 June 2020 - 22:47
Handling Multiple Similar Internal Peripherals?
clawson wrote: Umm no. This is right from the start of all the Xmega-alikes   Which, I believe, was preceded by the much despised AVR32 UC3 family of devices.  These...
Thursday, 18 June 2020 - 23:20
Atmega328 20Mhz and noise
Noise on signal inputs where a motor and drive are involved is a problem I've been able to solve numerous times by inserting a filter (L for sure, plus maybe R and C depending on...
Saturday, 6 June 2020 - 18:36