nakedsensor
Member
I have a current project which piggy-backs one Teensy 3.1 or Teensy-LC directly on top of another. One will be configured for MIDI over USB, the other for Serial over USB. The intention is that the two boards communicate with each other through the 'Wire' interface, one a master and one a slave.
Since the connection between them is only millimeters long, and these lines don't go anywhere else, does anyone have an opinion on whether I can simply use "pinMode({slave SCL pin / slave SDA pin}, INPUT_PULLUP); to provide enough pullup current reliably on the bus ?
Also - SDA will be an input sometimes, and an output sometimes, so would "INPUT_PULLUP" be 'sticky' or would I need to confirm it again every time that a device dropped back to "listening mode" ?
Since the connection between them is only millimeters long, and these lines don't go anywhere else, does anyone have an opinion on whether I can simply use "pinMode({slave SCL pin / slave SDA pin}, INPUT_PULLUP); to provide enough pullup current reliably on the bus ?
Also - SDA will be an input sometimes, and an output sometimes, so would "INPUT_PULLUP" be 'sticky' or would I need to confirm it again every time that a device dropped back to "listening mode" ?
Last edited: