Post Created date
Is there a clever way to sync with an RTC chip?
I've already designed, received, and populated the board so it's too late for different choices. I've got two buttons (one shares with an ISP line), three to drive an LED driver,...
Sunday, 18 March 2012 - 03:28
Will this LED and Button arrangement damage the I/O pin?
Thanks all. I will probably use Bob's suggested circuit and connect a wire jumper from LED to a resistor and VCC. I suppose this acts as the pull-up for the switch. Once the...
Wednesday, 11 January 2012 - 14:58
Counting cycles in disassembly - am I doing it right?
I switched over to using SPI and it greatly simplifies my code. The only concern I have now is the blocking function recommended to wait for the SPI Interrupt Flag to be set:...
Sunday, 30 October 2011 - 03:36
74*165 / 74*595 and SPI
edit: sorry, responded to the wrong thread (two windows open) mods, please delete.
Saturday, 29 October 2011 - 18:20
Counting cycles in disassembly - am I doing it right?
@Sternst: You're right... here's my code repository (for future reference, here's a snapshot tag of it right at this moment). I haven't done any hand optimization, but your...
Saturday, 29 October 2011 - 00:43
Counting cycles in disassembly - am I doing it right?
Oooh... thank you! I get a lot more usable information from there. Below is the output (just the ISR portion) of "avr-objdump -h -S main.elf" for anyone interested. I'm going to...
Friday, 28 October 2011 - 23:54
avr-as string handling: strange stuff with null termination
sternst wrote:The gnu assembler is byte based. You need to insert an alignment after the string so the code after it starts at a word boundary. Thanks, that fixes it right up. For...
Monday, 18 July 2011 - 20:31
Assembler newbie: Can't understand IO address offset
Thanks Cliff, that was the missing piece of the puzzle. I had too small of scope since the diminutive chips I'm looking at (even the mega168) don't have enough SFRs to make sense...
Friday, 8 July 2011 - 12:43
Assembler newbie: Can't understand IO address offset
Amazingly enough, I think I now understand. But that understanding raises another question of why (it makes me feel like a child saying: why? why? why?). If I have this correct,...
Friday, 8 July 2011 - 00:36
Assembler newbie: Can't understand IO address offset
ka7ehk wrote:why do such a silly thing in a Tiny13? Well, first thing is that it has 64K of SRAM, and that takes two address bytes to access. Holy cow! I never noticed all that...
Friday, 8 July 2011 - 00:14
Assembler newbie: Can't understand IO address offset
Thanks to both Johan and js for your responses. This certainly does help to clear things up. It becomes much more clear when looking at the datasheet for a more full-featured chip...
Thursday, 7 July 2011 - 22:32
Assembler newbie: Can't understand IO address offset
js wrote:Remember that the original AVRs were pretty small, as they started to grow in size they run out of port addresses so some of the newer peripherals end up in memory space...
Thursday, 7 July 2011 - 20:35

Pages