creating i2c peripheral in platform.c file for in SDK 3.1.0

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

cross mob
Anonymous
Not applicable

Hi,

Initilaly I was using Wiced SDK 2.4.1 and created i2c mapping in Platforms/SN8000x/platform.c file as shown below

const platform_i2c_mapping_t i2c_mapping[] =

{

    [WICED_I2C_1] =

    {

          ........ 

    },

};

But when I changed the SDK to I couldn't find any platform_i2c_mapping_t declarations/definitions so I failed to create i2c peripheral list in Wiced SDK 3.1.0 .

How can I achieve this ? Is there any samples available..

Note:I'm using SN8000x

Please help....

0 Likes
1 Reply
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hi,

You may check out the I2C Interface Example with WICED SDK-3.x I2C implementation sample code for SDK-3.x?

Seyhan

0 Likes