The API wiced_i2c_write() are only supported for 4390x series. For STM based platforms please use wiced_i2c_transer() API. Take a look at the following blog post for an example of usage of these functions.