Post Created date
can't program attiny424
Well, adding the tiny424 requires just minimal effort, I'm sure those free tools will be updated shortly. I mean, I already updated jtag2updi a couple of months ago to support the...
Saturday, 31 July 2021 - 09:14
How to achieve square root caculation in mega128
Newton's method is easy to implement, even in assembly. I didn't check, but probably most code already mentioned in this thread uses it.   As initial guess, you can use a...
Monday, 26 July 2021 - 09:48
Huge ADC offset error
I think what is implied there, is that slow moving signals don't need to be sampled often. The user would then take an ADC measurement at a low sampling rate, allowing the ...
Saturday, 17 July 2021 - 18:01
Huge ADC offset error
The datasheet is clear:   The ADC is optimized for analog signals with an output impedance of approximately 10kΩ or less. If such a source is used, the sampling time will be...
Saturday, 17 July 2021 - 17:03
Pointers and arrays in C
jgmdesign wrote:Knew I should have locked this.........   Why? Fortunately the amount of language lawyers in this forum is way below critical mass. I don't think an unhealthy...
Saturday, 17 July 2021 - 09:33
Random numbers using SRAM
Some time ago, we were discussing random number generation (one of my favorite recurring themes in the forum, another one is division by 10...) and I did a SRAM dump for an...
Tuesday, 6 July 2021 - 21:21
What is wrong with my timer pwm sketch s for atmega4809
clawson wrote:so basically you have the choice of dealing with TCB0.CCMPL and TCB0.CCMPH separately or you can just set it as a complete 16 bit value TCB0.CCMP.   Usually...
Wednesday, 30 June 2021 - 19:56
Accurate timing with Nano Every
I just want to add that the AVR-DA/DB have upgraded TCBs with (much demanded by users) overflow interrupt. I'd consider those for the project instead of the mega 4809. If you like...
Monday, 28 June 2021 - 17:43
Basic Soldering tips
  There is already good advice here, but I'll add something: don't be afraid to use extra flux. The amount of flux that comes inside solder wire is enough only for soldering...
Saturday, 26 June 2021 - 09:28
Timer/Counter D bug on AVR128DA32?
Yeah, it's a known bug mentioned in the errata:  
Saturday, 26 June 2021 - 00:31
What is wrong with my timer blink sketch for atmega4809 {SOLVED}
Remember that the xtiny don't clear interrupt flags automatically like classic AVR. You need to clear the overflow flag before exiting the ISR, or it will be called constantly So...
Wednesday, 16 June 2021 - 00:55
Question about programmers
  GRIMMJOWG21 wrote:i want to know the low-level to write my own or can understand an existing code and change for my needs.I want just understand first the basic idea...
Monday, 14 June 2021 - 20:51