I2CHW master mode of CY8C24894 is not connected to slave

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

cross mob
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Hi,

We are considering I2C master of PSoC 1.

So using I2CHW module of CY8C24894 as I2C master.
We would like to initialize I2C communication by applying timeout when the slave device is not connected.

We confirmed API but the return value of "ERROR(No ACK/NACK)" is not in the table.

Even if you do a timer there is no API to initialize I2C.
Is it initialized by calling I2CHW_EnableMstr?

Do you have a way to initialize I2C master when I2C slave is not connected?

Regards,

0 Likes
1 Solution
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

Hello Masahi-san,

I2CHW does not support timeouts, since timeouts are not included in the I2C specification. The slave device has to be connected and must respond with an ACK or NACK.

Best regards,

Sampath

View solution in original post

0 Likes
1 Reply
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

Hello Masahi-san,

I2CHW does not support timeouts, since timeouts are not included in the I2C specification. The slave device has to be connected and must respond with an ACK or NACK.

Best regards,

Sampath

0 Likes