Post Created date
help with ASM.
%0 is from this  register int  count=0;   It prefixed like so :     "=&r" (count)             ...
Sunday, 14 February 2021 - 15:18
help with ASM.
Did I do something wrong here? adiw %0,1   Ever since I added that if I add any more c code I get this "register r24,r26,r28,r30 required" error. If I remove the line above...
Sunday, 14 February 2021 - 02:51
help with ASM.
Damn, that's Intriguing . Yeah, going to have to check that one out. Taking this one set at a time here. Only issue I see with it is the timeout problem with timers. If the wave...
Sunday, 14 February 2021 - 00:57
help with ASM.
N.Winterbottom , That did help. I can now see my int value return the expect 64 bits + 1. So it acts just like the 8bit count did now. However when reading 32 bytes from this...
Sunday, 14 February 2021 - 00:17
Looking for help with i2c(TWI).
That talks about the AVR being a Slave - not a Master.   This is what I have been saying. Original post " I have set up a basic slave to talk to a known master " and I...
Wednesday, 3 February 2021 - 23:59
Looking for help with i2c(TWI).
it's the same wave as before, as I said I stretched the view more to see things better.     Again: are you sure it's open-drain? --  Isn't that part of the master?...
Wednesday, 3 February 2021 - 19:50
Looking for help with i2c(TWI).
Ok, lets do this. I set up a few harness to get this worked out.  Also stretched out my view so the wave is amplified a bit.   Here is a working set up, master and slave...
Tuesday, 2 February 2021 - 23:42
Looking for help with i2c(TWI).
Ok, removing the slave shows no change. Still very round. I have a pretty heavy pull up. 500 ohm at the moment. I'll try a higher value and see if I get a more square wave....
Tuesday, 2 February 2021 - 16:15
Looking for help with i2c(TWI).
Just to add here my scope was sampling at 3 MS/s If I only watch two lines I get 6.25 MS/s and the resolution helps a bit. but anything 1-2 us apart does not allow the line to get...
Tuesday, 2 February 2021 - 01:58
Looking for help with i2c(TWI).
Right but we are way passed that point? I have already learned no pull ups is unwise, I also used a level sifter to get things a bit easier to deal with. It has been pointed out...
Tuesday, 2 February 2021 - 01:39
Looking for help with i2c(TWI).
No, I'm not sure how to put a picture in the post when uploading form my system. That would be a helpful tip.   The bottom are the analogs, shows volatage like the image in...
Tuesday, 2 February 2021 - 00:59
Looking for help with i2c(TWI).
I'm still thinking the entire thing is code or twi related. For a simple test I did this.   DDRD = 0; if (PIND & 1) { PORTF |= 0x01; } else PORTF &= ~0x01;...
Monday, 1 February 2021 - 23:58

Pages