CYW20819 I2C timeout

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

cross mob
ToKo_4602001
Level 4
Level 4
50 sign-ins 25 replies posted 25 sign-ins

i2cm_write(), i2cm_read() or wiced_hal_i2c_write(), wiced_hal_i2c_read() functions work well when SDA/SCL lines are correctly pulled up and a slave device is correctly connected.

But when these lines are not pulled up, these functions are not return forever.

In many case, with watchdog timer, system will reset.

I'd like to check if I2C line is OK and even if there are some problems, I want firmware to proceed to next process and to output warnings.

Please tell me a work around for this issue or how to set timeout.

Thanks

0 Likes
1 Solution

Hi ToKo_4602001 ,

If this serves your application requirement , please use  the same.

Regards,

Anjana

View solution in original post

0 Likes
4 Replies