文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 工程科技 > 信息与通信 > MAX3420EECJ+_3417509
侵权投诉

MAX3420EECJ+_3417509

MAX3420 -usb资料

USB Peripheral Controller

with SPI Interface

Figure 14. SPI Clocking Modes

In full-duplex mode (FDUPSPI = 1), the MOSI and MISOIf SSgoes high before a complete byte is clocked in,pins are separate, and the MISO pin drives only when SSthe byte-in-progress is discarded. The SPI master canis low. In this mode, the first eight SCLK edges (after SS=terminate an SPI cycle after clocking in the first 8 bits0) clock the command byte into the MAX3420E on MOSI,(the command byte). This feature can be used in a full-and eight USB status bits are clocked out of theduplex system to retrieve the USB status bits (Figure 5)MAX3420E on MISO. For an SPI write cycle, any byteswithout sending or receiving SPI data.

following the command byte are clocked into theMAX3420E on MOSI, and zeros are clocked out on MISO.Applications Information

For an SPI read cycle, any bytes following the commandSPI Interface

byte are clocked out of the MAX3420E on MISO and thedata on MOSI is ignored. At the conclusion of the SPIThe MAX3420E operates as an SPI slave device. A reg-cycle (SS= 1), the MISO output tri-states.

ister access consists of the SPI master first writing anSPI command byte, followed by reading or writing theIn half-duplex mode, the MOSI pin is a bidirectional pincontents of the addressed register (see the Registerand the MISO pin is tri-stated. This saves a pin in the SPIDescriptionsection for more details). All SPI transfersinterface. Because of the shared data pin, this modeare MSB first. The external SPI master provides a clockdoes not offer the eight USB status bits (Figure 5) as thesignal to the MAX3420E SCLK input. This clock fre-command byte is clocked into the MAX3420E. The MISOquency can be between DC and 26MHz. Bit transferspin can be left unconnected in half-duplex mode.

occur on the positive edge of SCLK. The MAX3420ESCLK (Serial Clock)

counts bits and divides them into bytes. If fewer than 8bits are clocked into the MAX3420E when SSgoesThe SPI master provides the MAX3420E SCLK signal tohigh, the MAX3420E discards the partial byte.

clock the SPI interface. SCLK has no low-frequency limit,and can be as high as 26MHz. The MAX3420E changesThe MAX3420E SPI interface operates without adjust-its output data (MISO) on the falling edge of SCLK andment in either SPI mode (CPOL = 0, CPHA = 0) orsamples input data (MOSI) on the rising edge of SCLK.(CPOL = 1, CPHA = 1). No mode bit is required toThe MAX3420E ignores SCLK transitions when SSisselect between the two modes since the interface useshigh. The inactive level of SCLK may be low or high,the rising edge of the clock in both modes. The twodepending on the SPI operating mode (Figure 14).

clocking modes are illustrated in Figure 14. Note thatthe inactive SCLK value is different for the two modes.SS(Slave Select)

Figure 14 illustrates the full-duplex mode, where data isThe MAX3420E SPI interface is active only when SSissimultaneously clocked into and out of the MAX3420E.

low. When SSis high, the MAX3420E tri-states the SPIoutput pin and resets the internal MAX3420E SPI logic.

______________________________________________________________________________________15

MAX3420EECJ+_3417509

MAX3420E

上一页第15页

TOP相关主题

你可能喜欢

热门文档

相关文档

  • MAX3420EECJ中文资料

    Connect load capacitors (20pF max) to ground on both XI and XO. XI can also be driven with an external 12MHz ±0.25% clock. If driving XI with...

  • MAX3420EECJ中文资料

    Connect load capacitors (20pF max) to ground on both XI and XO. XI can also be driven with an external 12MHz ±0.25% clock. If driving XI with...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email