Datacom Systems D56 Especificações Página 36

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 108
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 35
Si5040
36 Rev. 1.3
10.2. SPI-Like Interface
When configured in SPI-like control mode (pin SPSEL tied high), the control interface to the Si5040 is a 3-wire
interface modeled close to commonly-available microcontrollers and bidirectional serial peripheral devices. The
interface consists of a clock input (SCK), slave select input (SS), and serial data input/output (SD). The SD pin may
be configured as a CMOS output or as an open drain output using Register 2, bit 4.
Data is transferred one byte at a time, with each register access consisting of a pair of byte transfers. Figure 7 and
Figure 8 on page 15 illustrate read and write/set address operations on the SPI bus, and Table 9 on page 14 gives
the timing requirements for the interface. Table 12 shows the SPI command format.
The first byte of the pair is the instruction byte. The "Set Address" command writes the 8-bit address value that will
be used for the subsequent read or write.
The "Write" command writes data into the device based on the address previously established, and the "Write/
Address Increment" command writes data into the device and automatically increments the register address for
use on the subsequent command. The "Read" command reads one byte of data from the device, and the
"Read/Address Increment" reads one byte and increments the register address automatically.
The second byte of the pair is the address or data byte. As shown in Figure 7 and Figure 8 on page 15, SS should
be held low during the entire two byte transfer. Raising SS resets the internal state machine; so, SS must be raised
between each two byte transfers to guarantee that the state machine will be reinitialized.
During a read operation, the SD becomes active on the falling edge of SCK, and the 8-bit contents of the register
are driven out MSB first. The SD is high-impedance on the rising edge of SS. During write operations, data is
driven into the Si5040 via the SD pin MSB first. Data always transitions with the falling edge of the clock and is
latched on the rising edge.
The clock should return to a logic high when no transfer is in progress. The Si5040 SPI-like interface supports
continuous clocking operation where SS is used to gate two byte transfers.
Table 12. SPI-Like Command Format
Instruction Address/Dat
00000000—Set Address AAAAAAAA
01000000—Write DDDDDDDD
01100000—Write/Address Increment DDDDDDDD
10000000—Read DDDDDDDD
10100000—Read/Address Increment DDDDDDDD
Vista de página 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 107 108

Comentários a estes Manuais

Sem comentários