| Electronic Components Datasheet Search |
|
SC18IM704 Datasheet(PDF) 5 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
SC18IM704 Datasheet(HTML) 5 Page - NXP Semiconductors |
|
5 / 28 page ![]() NXP Semiconductors SC18IM704 UART to I2C-bus bridge 7.1.2 Read N byte from target device The host issues the read command by sending an S character followed by an I2C-bus target device address, and the total number of bytes to be read from the addressed I2C- bus target. The frame is then terminated with a P character. Once the host issues this command, SC18IM704 will access the I2C-bus target device, get the correct number of bytes from the addressed I2C-bus target, and then return the data to the host. Note that the second byte sent is the I2C-bus device target address. The least significant bit (R) of this byte must be set to 1 to indicate this is an I2C-bus write command. 002aac049 NUMBER OF BYTES S CHAR. TARGET ADR. + R host sends 18IM responds P CHAR. DATA 0 DATA N Figure 4. Read N byte from target device 7.1.3 Write to 18IM internal register The host issues the internal register write command by sending a W character followed by the register and data pair. Each register to be written must be followed by the data byte. The frame is then terminated with a P character. 002aac050 W CHAR. REGISTER 0 DATA 0 REGISTER N DATA N P CHAR. Figure 5. Write to 18IM internal register Remark: Write and read from the internal 18IM register is processed immediately as soon as the intended register is determined by 18IM. 7.1.4 Read from 18IM internal register The host issues the internal register read command by sending an R character followed by the registers to be read. The frame is then terminated with a P character. Once the command is issued, SC18IM704 will access its internal registers and returns the contents of these registers to the host. 002aac051 R CHAR. REGISTER 0 REGISTER N P CHAR. 18IM responds DATA 0 DATA N Figure 6. Read from 18IM internal register 7.1.5 Write to GPIO port The host issues the output port write command by sending an O character followed by the data to be written to the output port. This command enables the host to quickly set SC18IM704 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved. Product data sheet Rev. 1.0 — 22 September 2021 5 / 28 |
|
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 |