#avr Logs

Nov 30 2020

#avr Calendar

05:45 AM skz81: LeoNerd, "wasted many hours" ? As in, it was a failure at the end ?
05:53 AM skz81: LeoNerd, just read the 2 last lines...
05:53 AM skz81: I was a bit surprized because the design/firmware I'm working on used a tiny441, so USI, and I believe most i²c slave operation are working. Pretty sure it does multibyte reads...
05:53 AM skz81: Anyway I replaced it with an atmega88 because it was cheaper, and actually available on LCSC / JLCPCB
07:52 AM McDonaldsWiFi is now known as PublicWiFi
07:58 AM LeoNerd: skz81: Yah; mega88 is better for that.. Real I²C hardware
09:08 AM skz81: LeoNerd, but the code I linked, is supposed to run on anttiny441 ! Anyway :)
09:12 AM LeoNerd: skz81: https://github.com/Miceuz/i2c-moisture-sensor/blob/master/src/twi.c -- it's using real TWI hardware, not USI
10:43 AM skz81: LeoNerd, ha yes sorry, I remember now
10:44 AM skz81: That was that other part, potential drop in replacement as it was pin compatible with attiny441. But an older one
10:44 AM LeoNerd: Yah
10:44 AM skz81: And that potential replacement was using USI instead
10:45 AM skz81: So i'm glad the stock were low and I did not order my boards with that part, then...
10:46 AM skz81: I was a bit afraid of the change, but as it claimed it was OK for i²c slave... I saved myself from a "great" time :)
10:47 AM LeoNerd: Heh... I still kinda doubt that it is
10:47 AM LeoNerd: Maybe it is possible to use USI as an I²C slave, 100% correctly. But so far I have not seen proof.
10:47 AM LeoNerd: None of the Atmel or Microchip-published code actually works /properly/.
09:02 PM Synthead: I have a 32u4 arduino leonardo that takes a second for udev to apply root:uucp permissions for the usb serial device. I would like to add a delay between resetting the device and attempting to communicate with the port. I haven't found very good documentation on this... the closest I've found is https://www.nongnu.org/avrdude/user-manual/avrdude_13.html, which doesn't really describe anything. Is this possible?