12.07.2015 Views

MCP3421 - Microchip

MCP3421 - Microchip

MCP3421 - Microchip

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>MCP3421</strong>5.6.5 ACKNOWLEDGE AND NON-ACKNOWLEDGEThe Master (microcontroller) and the slave (<strong>MCP3421</strong>)use an acknowledge pulse as a hand shake of communicationfor each byte. The ninth clock pulse of eachbyte is used for the acknowledgement. The clock pulseis always provided by the Master (microcontroller) andthe acknowledgement is issued by the receiving deviceof the byte (Note: The transmitting device must releasethe SDA line during the acknowledge pulse.). Theacknowledgement is achieved by pulling-down theSDA line “LOW” during the 9th clock pulse by thereceiving device.During reads, the Master (microcontroller) canterminate the current read operation by not providingan acknowledge bit (not Acknowledge (NAK)) on thelast byte. In this case, the <strong>MCP3421</strong> device releasesthe SDA line to allow the Master (microcontroller) togenerate a STOP or repeated START condition.The non-acknowledgement (NAK) is issued byproviding the SDA line to “HIGH” during the 9th clockpulse.SCL(A) (B) (D) (D) (C) (A)SDASTARTCONDITIONADDRESS OR DATAACKNOWLEDGE ALLOWEDVALID TO CHANGESTOPCONDITIONFIGURE 5-6:Data Transfer Sequence on I 2 C Serial Bus.© 2009 <strong>Microchip</strong> Technology Inc. DS22003E-page 23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!