-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple faderbanks on the same I2C bus #16
Comments
I don't think so. Disclaimer: I am not the I2C expert. Basically, in non-master mode - the default for Teletype - each device needs an address, and Teletype only knows one 16n address (for the device It might be more possible in MASTER mode, because it's multiple devices sending to endpoints, but even then, code modification would be required - setting custom addresses, possibly changing the fader data sent over I2C. So: for now, I'm paging Brendon (when he has time), but my gut says not without significant work. I also think that work would be largely user-unfriendly for an edge case. |
Thanks for your reply. |
I think multiple MASTERs may be a dead end; I am not sure what the expected behaviour is. |
You could have a one in normal mode and one in master mode, i think (but haven't tried it). Things get complicated with the Teletype as it isn't a fan of multiple masters at the moment. So, until that gets resolved (and scanner_darkly has a lead on that), you wouldn't have a stable multi-master configuration. If you want to have two that you READ from, we could enhance the firmware to support another set of addresses. It would work the same way that it was coded for the TXi. Basically, the Teletype knows that each device has N inputs and for queries outside of that index, it advances in the address space one and normalizes to the appropriate input on the device. For example, TI.PRM 5 = TI address #2; knob 1. That all means adding more sequential addresses for the 16n and updating the TT code to know about multiple 16n. At the bare minimum, the 16n firmware would need to be updated and compiled with the new address(es). It also could be modified to increment the ports that it sends to in Master mode - which would make sense. I decided not to do all this (even though I have the code from my TXi implementation) to keep things simple and easy to modify by others. Given the Teletype's script limitations, I've found creatively using all 16 sliders to be a challenge in and of itself. :) |
Thanks for these explanations @bpcmusic.
Yes, if the issue with the Teletype gets solved, this configuration would be perfect.
Absolutely, I understand that. |
@Elberstein I think this is effectively resolved? Before I close it, I think the best thing to do is convert @bpcmusic's response into some documentation. Is that OK? |
Yes, the work is on the Teletype side, I think we can close this issue :-) |
Is it technically possible to have multiple faderbanks on the same I2C bus ? I'm wondering if it has already been tested.
Out of curiosity I tried to add an offset here but of course, it doesn't work :-) And I realize that teletype/src/ops/fader.c would probably need a modification, too.
Thanks.
The text was updated successfully, but these errors were encountered: