Type in the full discussion title or a part of it.
Discussion Title Created date
HWB confusion.
I have an atmega32u2 and use the HWB to flash firmware. Before I had my code written to it, all I had to do was bring it low and release. After flashing code that is not enough, I...
Sunday, 18 April 2021 - 01:39
use an atmega32_u2 to monitor a battery
Doing some reading I found that the u2 has analog comparators instead of Analog-to-digital converters that I have used before. In looking in to this I found that a comparator with...
Friday, 9 April 2021 - 01:36
Can ASM clobber a static varable in another file?
Still new to ASM here but learning faster then my brain wants to allow.   I have another strange situation were ASM from file X corrupts a variable in file Y.   In file...
Thursday, 25 February 2021 - 13:19
Losing data in ASM
Decided to just go back to solid code and start over, issue didn't come back, disregard all of this.         I know ASM needs to be thought out well and if...
Tuesday, 23 February 2021 - 15:20
Help with ASM, and compare and rol.
I'm missing something fundamental here, looking for some advice.   I have a byte where I need to check the last bit for 1 or 0 and choose a path, then shift that bit off....
Monday, 22 February 2021 - 19:51
Learing the wonderful art of ASM but still need help.
I'm learning but sometimes I hit a brick wall, here is one of those walls.   This does not work as expected. " dec r18 \n" "...
Friday, 19 February 2021 - 16:10
help with ASM.
I'm trying to understand and use a piece of code that reads a Wave form.   The wave form looks like so     It works fine for what it is but has a bit of an...
Saturday, 13 February 2021 - 21:35
Looking for help with i2c(TWI).
I have a good grasp on how i2c works but need help with detail to troubleshoot my application. I love hardware base protocols when they work but when they don't it's a pain to fix...
Thursday, 21 January 2021 - 22:13
spi always recived the same data I send out.
I wrote some simple SPI slave code a while back that has worked fine for some time. I use an atmega32u4 and have it wired to a harness. This Harness connects to a master SPI...
Tuesday, 5 January 2021 - 00:07
How can I catch a chip in if defined?
using AVR studio 7.   I thought I had this working but its not, I need to do the below here but it simple is not working.  How does the __AVR_xxxxxxxxxxx__ get set. My...
Monday, 21 December 2020 - 23:45
Need some help understanding how to move the interrupt vector
I'm trying to use this approach. https://www.raphnet.net/programm... If I use the normal ISR I'm good   Working method. ISR (INT2_vect ) { PORTF |= 0x01; PORTF &= ~0x01...
Saturday, 19 December 2020 - 20:10
What exactly does "AVR I/O clock to be present" mean?
I want to use the PE6 int6 on my atmega32u4 but read that the AVR I/O clock needs to be present. I always thought that meant the internal clock, thus implying its presence is...
Wednesday, 16 December 2020 - 22:23

Pages