Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Disconnecting from I2C bus possible ?

  1. #1
    Senior Member
    Join Date
    Jan 2013
    Posts
    966

    Disconnecting from I2C bus possible ?

    I am building a simple test rig for I2C controlled devices (LED drivers) that I can control from TouchOSC. The TouchOSC/WiFi/Bonjour and I2C parts are already working, but what I am wondering is whether I can safely disconnect a device from the I2C bus without having to power down the test rig.

    Is it enough not to transmit anything while connecting/disconnecting, or is there a way to temporarily disable the I2C hardware on Teensy boards ?

  2. #2
    Senior Member
    Join Date
    Jul 2014
    Posts
    2,222
    Quote Originally Posted by Headroom View Post
    I am building a simple test rig for I2C controlled devices (LED drivers) that I can control from TouchOSC. The TouchOSC/WiFi/Bonjour and I2C parts are already working, but what I am wondering is whether I can safely disconnect a device from the I2C bus without having to power down the test rig.

    Is it enough not to transmit anything while connecting/disconnecting, or is there a way to temporarily disable the I2C hardware on Teensy boards ?
    As long as you are not transmitting to the device, Teensy/device do not know that there exist a connection.
    Not exactly the same problem, but I switch ics0 from the 16/17 pair to the 33/34 pair to talk to two different devices, with possibly the same address.

  3. #3
    Senior Member
    Join Date
    Jan 2013
    Posts
    966
    Quote Originally Posted by WMXZ View Post
    As long as you are not transmitting to the device, Teensy/device do not know that there exist a connection.
    Not exactly the same problem, but I switch ics0 from the 16/17 pair to the 33/34 pair to talk to two different devices, with possibly the same address.
    Thanks for the quick reply! I'll see if I get this running and report back if successful.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •