1 Reply Latest reply on Aug 7, 2015 5:23 PM by PabloM_Intel

    MCU-Atom I2C pin muxing

    Cooper132

      Hi all,

       

      I want to use an I2C device connected to I2C-6 from both the Atom via mraa, and the MCU via the provided API.

      The example program at [1] works fine by itself, however if I initialize an mraa connection to the device before accessing via MCU,

      the MCU program hangs itself, unable to read from the device. Also, destroying the mraa object again before using the MCU does not work either.

       

      Obviously, as is said in the API [2], the MCU muxes via I2C-8 and the Atom via I2C-6, but it also says there that it is possible to "program pin muxing".

      How can this be done?

      My goal would be something like to control the muxing from a program running on the Atom, muxing the I2C device to the MCU if needed, and switching back if not.

       

      The note in [2] "For details, see Getting debug messages from the MCU." does not seem to be relevant...?

       

      Furthermore, there is this relevant post from before the MCU software release: https://communities.intel.com/message/292993

      I am wondering if there is any update on that?

       

      Regards,

      Cooper

       

      [1] https://software.intel.com/en-us/node/557354#Reading_the_value_of_an_I2C_device_and_sending_it_back_to_the_host

      [2] https://software.intel.com/en-us/node/557355#APIs_to_access_I2C