1 2 3 Previous Next 33 Replies Latest reply on Apr 11, 2016 3:31 PM by CMata_Intel

    BlinkM on I2C with mini breakout

    Tomas0413

      Hi, guys,

       

       

      I'm trying to connect BlinkM via I2C to mini breakout board.

       

      I connected power (3.3V) to J19 - pin 3 (ground) and J20 - pin 2 (System 3.3 V output.)

      BlinkM is blinking in different colours - so power is fine.

       

      Then I connected I2C, control to J17 - pin 7 and data to J17 - pin 9.

       

      I also recompiled the kernel with CONFIG_I2C_DW_SPEED_MODE_DEBUG flag as suggested here:

      Changing the I2C Frequency

       

      So, I'm able to do this:

       

      echo "mode1" > /sys/kernel/debug/gpio_debug/gpio27/current_pinmux

      echo "mode1" > /sys/kernel/debug/gpio_debug/gpio28/current_pinmux

       

      And this:

       

      # find /sys -name i2c_dw_sysnode | awk '{print "echo std > "$1"/mode"}' | sh

      # find /sys -name i2c_dw_sysnode | awk '{print "cat "$1"/mode"}' | sh

      std

      std

      std

      std

      std

      std

      std

       

       

      However nothing helps.....

       

      I get this when I try i2cdetect:

       

       

      i2cdetect -y -r 6

           0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

      00:         

      Message from syslogd@ubilinux at Feb  9 21:13:05 ...

      kernel:[ 1536.103340] CPU: 1 PID: 2106 Comm: i2cdetect Tainted: G        W  O 3.10.17-poky-edison+ #5

       

       

      Message from syslogd@ubilinux at Feb  9 21:13:05 ...

      kernel:[ 1536.103345] Hardware name: Intel Corporation Merrifield/BODEGA BAY, BIOS 466 2014.06.23:19.20.05

       

       

      Message from syslogd@ubilinux at Feb  9 21:13:05 ...

      kernel:[ 1536.103353] task: f54c5370 ti: f646a000 task.ti: f646a000

       

       

      Message from syslogd@ubilinux at Feb  9 21:13:05 ...

      kernel:[ 1536.103415] Stack:

       

       

      Message from syslogd@ubilinux at Feb  9 21:13:05 ...

      kernel:[ 1536.103487] Call Trace:

       

       

      Message from syslogd@ubilinux at Feb  9 21:13:05 ...

      kernel:[ 1536.103969] Code: b3 ff ff 89 f8 09 d0 80 ce 04 83 ff 02 0f 44 c2 8b 15 54 8b b3 c1 89 82 00 b3 ff ff f7 c6 00 02 00 00 74 14 e8 67 f7 0a 00 56 9d <83> c4 04 5b 5e 5f 5d c3 90 8d 74 26 00 56 9d e8 51 f3 0a 00 83

       

       

      Message from syslogd@ubilinux at Feb  9 21:13:05 ...

      kernel:[ 1536.103995] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W  O 3.10.17-poky-edison+ #5

       

       

       

       

      So at this point, I ran out of options...... Any ideas what can I try next?

        1 2 3 Previous Next