BCM907 I2C Pheripheral

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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.

0 Likes
1 Solution
0 Likes
4 Replies
DaBa_2244756
Level 5
Level 5
25 likes received 10 likes received 10 likes given

》pin_sda                = &platform_gpio_pins[WICED_PERIPHERAL_PIN_9],

》.pin_scl                = &platform_gpio_pins[WICED_PERIPHERAL_PIN_9],

Your both pins  WICED_PERIPHERAL_PIN_9.

0 Likes
Anonymous
Not applicable

Sorry its

》pin_sda                = &platform_gpio_pins[WICED_PERIPHERAL_PIN_9],

》.pin_scl                = &platform_gpio_pins[WICED_PERIPHERAL_PIN_10], Actually

0 Likes
Anonymous
Not applicable

Sorry its

》pin_sda                = &platform_gpio_pins[WICED_PERIPHERAL_PIN_9],

》.pin_scl                = &platform_gpio_pins[WICED_PERIPHERAL_PIN_9],

0r

Sorry its

》pin_sda                = &platform_gpio_pins[WICED_PERIPHERAL_PIN_9],

》.pin_scl                = &platform_gpio_pins[WICED_PERIPHERAL_PIN_10],

or

Sorry its

》pin_sda                =NULL,

》.pin_scl                = NULL,

Whatever PIN I assign here  I get I2C Probe Successfull.

Is There any Bug With This

0 Likes

Refer to the following Blog

CYW43907 I2C Operation

0 Likes