4 Replies Latest reply on Mar 1, 2018 2:38 AM by VinayakS_26

    BCM907  I2C Pheripheral

      I am Using BCM43907WCD2 platform of WICED SDK for my device BCM43907 device.

      In WICEDSDK4.0 =>43xx_WiFi=>Platforms=>BCM43907=>Platform.c file =>

       

      const platform_i2c_t platform_i2c_peripherals[] =

      {

          [WICED_I2C_1] =

          {

              .port                    = BCM4390X_I2C_0,

              .pin_sda                 = &platform_gpio_pins[WICED_GPIO_28],

              .pin_scl                 = &platform_gpio_pins[WICED_GPIO_29],

              .driver                  = &i2c_gsio_driver,

          },

       

       

          [WICED_I2C_2] =

          {

              .port                    = BCM4390X_I2C_1,

              .pin_sda                 = NULL,

              .pin_scl                 = NULL,

              .driver                  = &i2c_gsio_driver,

          },

      };

       

      in platform_i2c_peripherals[] array => WICED_I2C_2 port has both sda and sclk pins are assigned to NULL ? Is this Correct.

      I have a I2C slave on this I2C Pheripheral on PINS C1 and B2 which correspond to WICED_PERIPHERAL_PIN_9,WICED_PERIPHERAL_PIN_10

       

      const platform_i2c_t platform_i2c_peripherals[] =

      {

          [WICED_I2C_1] =

          {

              .port                    = BCM4390X_I2C_0,

              .pin_sda                 = &platform_gpio_pins[WICED_GPIO_28],

              .pin_scl                 = &platform_gpio_pins[WICED_GPIO_29],

              .driver                  = &i2c_gsio_driver,

          },

          [WICED_I2C_2] =

          {

              .port                    = BCM4390X_I2C_1,

              .pin_sda                 = &platform_gpio_pins[WICED_PERIPHERAL_PIN_9],

              .pin_scl                 = &platform_gpio_pins[WICED_PERIPHERAL_PIN_10],

              .driver                  = &i2c_gsio_driver,

          },

      };

       

      Still I am Not able To Probe On This Device . Can anyone Help me on this.