Post Created date
SPI Slave Select confusion
I haven't thought about that, for me it just seemed natural to keep everything succinct, when you're going to transmit then pull SS low and high when you're done. But indeed, you...
Tuesday, 19 June 2018 - 11:26
SPI Slave Select confusion
I actually bought a book recently that refused to say SPI Master/Slave but insisted on Leader/Follower :D Poor enslaved piece of inanimate object. Political correctness has gone...
Tuesday, 19 June 2018 - 10:58
SPI Slave Select confusion
A problem you had in the first piece of code you copied directly from the datasheet was the "DDR_SPI", which is a placeholder name, it doesn't exist in the real hardware. But you...
Tuesday, 19 June 2018 - 10:55
SPI on m328P using assembler
david.prentice wrote:p.s.   I would also suggest that your valuable time is better spent with learning C, C++ or even Arduino-ese.Yeah I think so too, this is really...
Monday, 26 June 2017 - 12:55
SPI on m328P using assembler
Sternst correction seems to have worked.
Monday, 26 June 2017 - 12:23
SPI on m328P using assembler
clawson wrote: TIM1_OVF: ; Service Routine cli reti ; return back and enable interrupts Don't mess with I in an ISR. When the AVR jumps to the ISR it already clears the I bit...
Monday, 26 June 2017 - 12:06
Starting with AVR assembly
I lost my flow a bit when the simulator didn't work. Maybe I should download AS7 and hope it works there. Which assembler is used in AS?
Sunday, 18 June 2017 - 12:48
Starting with AVR assembly
So thus far; An endless loop sooner or later in the program, just like we do when writing in C for the AVR. Gotcha.   Hm yes the simulator. I think I tried to use it but...
Thursday, 15 June 2017 - 20:47
Starting with AVR assembly
Haha okay, in my defense there are many levels of noobness 
Thursday, 15 June 2017 - 20:32
Starting with AVR assembly
Thanks to both of you. Is a branch in the end of the program a must? What happens if the AVR reaches the last line of code and it's not a branch backwards? Is it the same as a "...
Thursday, 15 June 2017 - 20:25
Starting with AVR assembly
Thanks for the heads up. I guess that's my first line, yay! *edit, oh, seems it was unnecessary after all in AS6
Thursday, 15 June 2017 - 20:21
SPI on mega8
js wrote: DDRB2 can be switched as long as PB2 is Hi. And what useful purpose does this give you? In master mode the pin can either be an input and stay high AT ALL TIMES or it...
Sunday, 11 June 2017 - 11:20

Pages