I2C, slave mode: wrong address #12
Comments
|
New test: Faderbank directly connected to the TT busboard via i2C, removed all the other devices on the bus. |
|
Thanks for this clear and detailed bug report, it's a really good one. I'm 99%+ certain it's not the diodes. All the diodes are doing is acting as clamping diodes - they protect against >3.3V and <0V on the I2C line. Given such simple functionality, I don't think the different spec'd 1N4148s will be the issue at all. Beyond that I'm going to have to page @bpcmusic here for the I2C issues, I'm afraid; he both implemented it, knows the most about it, and has a Teletype to test against. I'd also flag now that he may be busy/unavailable, but he would be the best bet here. |
|
Thanks for your reply. New tests:
I have to say that all the tests have been done with two 16nFaderbank successively, I built two.
|
|
In Master mode this time, the serial monitor is full of i2c messages, the 16n is connected to the ER-301
The new address is 0x31 I'm opening a new issue for that.
I fixed the address in the code and I can confirm that I2C works in MASTER mode, not in Slave mode yet :-) |
|
OK, the issue is now fixed @infovore and @bpcmusic , it's also an issue related to the I2C address. The address should be 0x34 and not 0x80 according to https://github.com/monome/libavr32/blob/master/src/ii.h
|
|
Looks like there was some drift since the initial versions on both sides (TT and ER-301). I've been so neck-deep in my build that I haven't kept up. Thanks for catching it! |
|
Yes, for me the changes you've made are OK @infovore |
|
|

I'm experiencing issues with the I2C connection. I'm testing the connection with a Teletype, when polled, it always returns 0. (See "Context" below). According to the Serial Monitor, the 16n doesn’t receive anything.
I'm not sure wether it's related to hardware or software. If it's related to the hardware, the only change I made is replacing the 1N4148W-7-F diodes by 1N4148WQ-7-F diodes. The specs are nearly identical but the Q-7-F have a reverse current of 50uF instead of 1uF for the 7-F.
Could this be the cause of the issue ?
Context:
Other I2C devices on the bus:
Backpack header 1: ER-301
Backpack header 2: Two TXo + one 16n connected in series.
(Also tested with the 16n directly connected to the TT busboard)
Situation:
FB 1, the result is always 0, same thing for each fader.Thanks.
The text was updated successfully, but these errors were encountered: