Post Created date
AN2565 / AVR311 TWI Slave in assembly?
My sequence is as follows:   First a 2 byte Message from the Master           {SLave Addr + W}, {Virtual Register Address}    ...
Monday, 22 June 2020 - 01:00
AN2565 / AVR311 TWI Slave in assembly?
Minor update.  The ATmega324 does not seem to like to be clock stretched at the start of of an address byte.  If my master timing is such that I don't need to clock...
Sunday, 21 June 2020 - 19:10
AN2565 / AVR311 TWI Slave in assembly?
Agreed. But, two points:   I don't know what the question is until the last byte of preceding write command.  The host just gives me a simple single byte register...
Sunday, 21 June 2020 - 14:27
AN2565 / AVR311 TWI Slave in assembly?
Took a peek at that one and unfortunately it is a bit banged implementation.  I've used bit banged Masters before but in this case I don't think this will fly.  My host...
Saturday, 20 June 2020 - 13:47
AN2565 / AVR311 TWI Slave in assembly?
Thanks!     Against all my general tendencies I thought this time, no I won't code this myself.  It's 2020 after all, there has to be an off the shelf driver...
Thursday, 18 June 2020 - 19:17
AN2565 / AVR311 TWI Slave in assembly?
Hi Jim,   For my application the the last thing the host sends me is a byte indicating what data it wants.  It then immediately sends me a byte read command and expects...
Thursday, 18 June 2020 - 17:01
AN2565 / AVR311 TWI Slave in assembly?
I only see an I2C master from him, but thanks for the suggestion.  Did I miss something?  Funny thing is that have done masters many times gong all the way back to the...
Thursday, 18 June 2020 - 15:31
AN2565 / AVR311 TWI Slave in assembly?
Following up on this.  I can't seem to make clock stretching work to hold off the master until I am ready with data.    AVR311 clearly states:  "If a Slave...
Thursday, 18 June 2020 - 15:13
How much distance can dc signal travel in cat6 cable?
Brian Fairchild wrote: lundquist wrote: Current loop doesn't use a ground reference at the far end...   Nor does RS422/RS485; it's the voltage difference between the two...
Sunday, 26 May 2019 - 14:21
How much distance can dc signal travel in cat6 cable?
The current loop advise is well reasoned.  Proven way to send logic signals over miles of copper.   One key thing to watch for, and a good argument for current loop is...
Sunday, 26 May 2019 - 11:52
[CODE][ASM][ATTINY] Bit-bang UART, number conversion, and debugging routines
Just a quick point for anyone using this.  It works fine, but I did find one minor but important issue.  The rxchar routine is really setup for 2 stop bits.  With...
Saturday, 1 September 2018 - 14:33
TinySafeBoot Baud Rates
As per joeymorin's comments clearly I can leave the CLKDIV8 fuse unprogrammed so the the bootloader runs at 8MHz.  I would just have to add an update to the CLKPR register in...
Saturday, 31 March 2018 - 14:01

Pages