#avr Logs

Sep 02 2020

#avr Calendar

12:22 AM ColdKeyboard: As soon as I2C module is enabled, after first transaction MCU is holding I2C lines low. Enabling/disabling interrupts, clearing interrupts manually... doesn't seem to do anything. Anyone have a clue what's going on?
01:03 AM rue_bed2: your not using flurrys software i2c libary are ya?
01:16 AM ColdKeyboard: rue_bed2 no I'm using built in HW TWI
01:16 AM ColdKeyboard: Or at least I'm trying to
05:12 AM vmt: studies show that 110% of i2c first times result in your device stalling the bus
05:23 AM polprog: parents-against-i2c.org
07:03 AM vmt: sooo i3c is a thing? wikipedia shows a pretty venn diagram where it sits between i2c and spi?
07:03 AM vmt: i4c the hypercube
07:04 AM vmt: coming to a 5g link tower near you
07:09 AM vmt: anyway, rue_bed2 is there a particular reason why you whisper in your videos?
07:09 AM vmt: asking for a friend
09:32 AM rue_mohr: ColdKeyboard, yea, flurrys library works, there might be 1 bug to do with speed but I dont know if what I ran into was something I did or not
09:33 AM rue_mohr: ColdKeyboard, also, the flurry software i2c library will probably take less codespace than a library that goes it by hardware, the hardware is that bad
09:33 AM rue_mohr: vmt, its a secret! :)
09:37 AM Rab: Flurry = Fleury?
09:37 AM Rab: This? http://www.peterfleury.epizy.com/avr-software.html
11:18 AM TechChristoph: i don't know who is peter fleury
11:19 AM TechChristoph: he is maybe from switzerland
11:38 AM cehteh_ is now known as cehteh
01:17 PM ColdKeyboard: rue_mohr Thanks for the flurry lib suggestion. I finally got the HW implementation to work. Resetting the interrupts AND also telling the TWI to go to unaddressed state (kind of) solves the issue of SDA+SCL being held low indefinitely
01:17 PM ColdKeyboard: Didn't know TWI is this much pain on AVR :)
03:23 PM Miyu is now known as hackkitten
05:33 PM LHLaurini2 is now known as LHLaurini
06:12 PM rue_mohr: so, try the flurry lib, look at the code size, tell me if it really is smaller with flurry software
09:26 PM ColdKeyboard: I'm running the I2C slave. Flurry is for master only, no?
10:27 PM aborazmeh_ is now known as aborazmeh
10:27 PM ColdKeyboard: Anyone had issue where TWI slave samples last bit as 0 instead of 1?
10:28 PM ColdKeyboard: For example sending 0xFF 0xFF 0xFF 0xFF 0xFF, on the receiver side I get 0xFE 0xFE 0XFE 0xFE 0xFE
11:28 PM rue_mohr: oh ok
11:28 PM rue_mohr: nobody does i2c slave
11:28 PM rue_mohr: I was working on a software library, but got distracted
11:36 PM day_ is now known as day