- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
》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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry its
》pin_sda = &platform_gpio_pins[WICED_PERIPHERAL_PIN_9],
》.pin_scl = &platform_gpio_pins[WICED_PERIPHERAL_PIN_10], Actually
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content