Echelon I/O Model Reference for Smart Transceivers and Neu Uživatelský manuál Strana 91

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 209
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 90
I/O Model Reference 81
Hardware Considerations
The Smart Transceiver is always the master, with IO8 as the serial clock (SCL)
signal and IO9 the serial data (SDA) signal. Alternatively, IO0 can be used as
the serial clock (SCL) and IO1 as the serial data (SDA). These I/O lines are
operated in the open-drain mode in order to accommodate the special
requirements of the I
2
C protocol. With the exception of two pull-up resistors, no
additional external components are necessary for interfacing a Smart
Transceiver to an I
2
C device.
Up to 255 bytes of data can be transferred at a time. At the start of all transfers,
a right-justified 7-bit I
2
C address argument is sent out on the bus immediately
after the I
2
C “start condition.” For more information about this protocol, refer to
UM10204: I
2
C-bus specification and user manual
from NXP Semiconductors.
Figure 29 shows the I
2
C I/O latency times. These are the times from the call to
the io_in() or io_out() function, until a value is returned. The direction of bit
ports can be changed between input and output dynamically by using the
io_set_direction() function.
Figure 29. I2C I/O and Timing
Table 32. I2C I/O Latency Values for Series 3100 Devices
Symbol Description Minimum Typical Maximum
t
f
I/O call to start condition
io_in()
io_out()
54.6 μs
43.4 μs
Zobrazit stránku 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 208 209

Komentáře k této Příručce

Žádné komentáře