Post Created date
Problem converting small random Z80 code to AVR
I always used a 39-bit MLS with 5 registers as there are two taps 8 apart so you can do a byte-wide XOR and get 8 shifts at once.  
Friday, 17 February 2017 - 19:54
Problem converting small random Z80 code to AVR
I notice that these three instructions are not syntactically right and the assembler should have thrown them out:   adiw r26,1 //inc hl should be inc r26...
Friday, 17 February 2017 - 19:50
Include assembler files in c project
I presume you already wrote your assembler routines to expect arguments passed in regsiters as per C converntion?
Friday, 17 February 2017 - 19:40
Porting AVRStudio assembler to GNU assembler
I ahove the same issue. It would be nice if you could convert  ATMEL assembler to GNU assembler with a few REPLACE ALL edits.   Maybe some enterprising person can even...
Friday, 17 February 2017 - 19:36
Preemptive vs. Cooperative Multitasking
Very good thread. This is a very relevant discussion.  An ATMEGA1284 has 128k bytes (64k instructions) of program memory and 16k bytes of RAM. That is enough to do a whole...
Wednesday, 15 February 2017 - 19:22
I agree FORTAN for the AVR would be great. I hate C so much I tried to write own FORTRAN compiler for the AVR, running on the PC. It was written in Intel Visual FORTAN!   I...
Tuesday, 24 January 2017 - 23:18
UART Full Duplex Communication between two AVR's
I am having the same problem at 9600 bauds using the UART. I have full interrupt driven I/O in both directions from ATMEGA to a PC. If I send from the AVR to the PC, it works fine...
Friday, 28 October 2016 - 17:24
interupts in avr simulator
"This is a bug in Atmel Studio 6.0, where stepping over SEI overwrites the I flag (simulator and real hw). You can get rid of this bug by disabling the "Mask interrupts while...
Monday, 19 October 2015 - 17:06
endian issue
"the return addresses on the AVR's call-return stack are stored as big-endian values"   Thank you for pointing that out. It has been screwing me up bad. Who would have thunk...
Thursday, 15 October 2015 - 19:38
Interrupt driven SPI - is it worth programming it ?
I have a similar interest in using interrupt-driven SPI. I was hoping it works like a UART, but I am not getting a good feeling about the AVR SPI implementation. The problem is,...
Thursday, 8 October 2015 - 20:46
How is SPI supposed to work?
"Pick slaves that have a real SPI peripheral subsystem"   Can you suggest one that has at least 8 AtoD inputs?     I should add to my previous description of the...
Thursday, 8 October 2015 - 20:21
How is SPI supposed to work?
The task is to AtoD convert 16 analog signals simultaneously at the rate of 480 samples per second each. For about $2 and no board area.
Thursday, 8 October 2015 - 20:12