Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Question about the behaviour of an I2C which is acting as a master

Status
Not open for further replies.

altair_06

Member level 1
Joined
Jul 10, 2006
Messages
38
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,533
Hi,

I have a doubt regrading the behaviour of an I2C which is acting as a master. Suppose an I2C Master with an APB interface has a slave address written which is not present, what would be the behaviour of the Master. Does it transmit the slave address once and on not seeing the ack will release the bus or will it keep on transmitting the same slave address.
 

i2c master behaviour

It should not transmit the slave address after finding the nack.
 

Re: i2c master behaviour

If the slave finds, the incoming address is not belongs to it, immediately it will respond with NACK. If master once find the NACK from the slave for address phase, master should not retransmit the address, or if the slave NACK is for the data phase, master can retransmit or abort the transaction. It depends on the design reqirements.
 

Re: i2c master behaviour

Hi

I Think there's no retransmission in I2C specifications.
you can check the specifications from Phillips website for more information

Salam
Hossam Alzomor
 

Re: i2c master behaviour

Hi,
It depend on the designer requirement. You can have I2C master retransmit slave address like 4/8 times, if still not ACK from the slave side, master should be send STOP.
 

Re: i2c master behaviour

As per the I2C designed by Philips, the Master after receiving the NACK should not send the slave address again and hold both its SDA and SCL lines high. But if you want to design with some other specification like check it certain number of times or check for famliar addresses, you can certainly desing it to be so.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top