Post Created date
0.3 to 1.6KHz sinewave generator: DDS IC or PWM?
I would look up Jesper's mini DDS.  There's also a similar C /asm  6 bit version that might be interesting .    https://codeandlife.com/2012/03/13/...
Monday, 31 May 2021 - 01:41
Building a Cheap Field Programmer for $5
Brian Fairchild wrote:Odd, in all these years of using AVRs I've never once dealt with coding to do any Serial Programming. It's actually remarkably easy once you've got the...
Monday, 24 May 2021 - 00:05
Lowlevel UART communication problem with ATmega328P
Using an rs232serial to TTL converter and a terminal program to "listen" in on the serial communication lines saved my bacon a few times. I assume no one but myself uses...
Thursday, 15 April 2021 - 21:53
USART for PS/2. Why does loop-back mess with RX data?
  Does the open drain need a pullup?   Bit 3 – LBME Loop-back Mode Enable Writing a ‘1’ to this bit enables an internal connection between the TXD pin and the USART...
Thursday, 8 April 2021 - 02:41
How to increase memory address in AVR assembly language
another way is to set up a pointer reg pair/loop var: .byte 5 clr temp ldi count,5 ldi YL, LOW(var) ldi YH,High(var) putram: inc temp ; puts 1-5...
Sunday, 4 April 2021 - 21:44
How to increase memory address in AVR assembly language
add + 1 to var :       sts var +1, r22   or setup and use st also increase var :          var:  .byte 5   
Sunday, 4 April 2021 - 21:12
Attiny1616 UART working in echo mode for serial bootloader
The programmer that I built starts loading code @ 0x8000 on my tn1616 when writing to the UPDI. The bootend/append are set to zero though. Not sure how the Py handles...
Tuesday, 30 March 2021 - 19:48
Internal Eeprom reads 0xFF at Startup
N.Winterbottom wrote: I can't see anything obviously wrong with your code, but we haven't discussed fuses.   Can you decode ;-U lfuse:w:0xfd:m -U hfuse:w:0xd9:m -U efuse:w:...
Thursday, 18 March 2021 - 23:47
Internal Eeprom reads 0xFF at Startup
Just a Hail Mary, you might want to clear all regs 0 to 31 on startup for trouble shooting. I don't see any regs getting clobbered with the code you provided.
Thursday, 18 March 2021 - 22:51
ATTiny3216 suddently giving PDI physical timeout errors
DocJC wrote: If I can only remember...   I believe I used MPLab, (Not Studio). I selected an AVR chip. I did the SW update, force update, by shorting two pads together on the...
Wednesday, 17 March 2021 - 22:28
ATTiny3216 suddently giving PDI physical timeout errors
Hey Doc,   DocJC wrote:Once I got my SNAP SW upgraded and working with AVRs it has worked fine in both SPI mode, (Arduino Nano's, M328P), and in UPDI mode, (for a Tiny402)....
Wednesday, 17 March 2021 - 01:26
UPDI Linux prod programming solution? Pyupdi slowness
I recently got my tiny1616 respond to print the first 8 bytes if the SIB "utinyAVR" via UPDI through the standalone m328p with a 4 line lcd, still a LOOooong way to go, ...
Thursday, 25 February 2021 - 23:58

Pages