| Electronic Components Datasheet Search |
|
SAFC161PI Datasheet(PDF) 308 Page - Infineon Technologies AG |
|
|
|||||||||||||||||||||||||||||
SAFC161PI Datasheet(HTML) 308 Page - Infineon Technologies AG |
|
308 / 400 page ![]() &3, 7KH ,& %XV 0RGXOH User’s Manual 17-14 1999-08 17.5 Programming Example The sample program below illustrates an I 2C communication between the C161PI and an NVRAM (such as SDA2526 or SLA24C04). It uses 7-bit addressing with a slave address of 50 H which is concatenated with the Read/Write bit. This program does not use interrupts, but polls the corresponding I 2C interrupt request flags. The master (C161PI) starts in master transmitter mode and first sends the slave address (A0 H = 50H//0B) followed by the subaddress (00H) . The C161PI changes to master receiver mode, repeats the slave address (A1 H = 50H//1B) and then receives two bytes. The first byte is acknowledged (ACK=’0’) by the master, the second byte is not acknowledged (ACK=’1’). The transfer is finished with a STOP condition by the master. The following figure shows the waveforms for the described transfer. A programming example in “C” illustrates how the operation could be realized. Figure 17-5 I 2C Bus Programming Example Waveforms Legend: SDA: Data line SCL: Clock line ST: Start condition SP: Stop condition RS: Repeated Start cond. ACK: Acknow- ledge NACK: No acknow. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |