| 数据搜索系统,热门电子元器件搜索 |
|
MCP48FVB21 数据表(PDF) 50 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP48FVB21 数据表(HTML) 50 Page - Microchip Technology |
|
50 / 84 page ![]() MCP48FVBXX DS20005466A-page 50 2015 Microchip Technology Inc. 6.5 Interface Pins (CS, SCK, SDI, SDO, and LAT/HVC) The operation of the five interface pins is discussed in this section. These pins are: • SDI (Serial Data In) • SDO (Serial Data Out) • SCK (Serial Clock) •CS (Chip Select) •LAT/HVC (High Voltage command) The serial interface works on a 24-bit boundary. The Chip Select (CS) pin frames the SPI commands. 6.5.1 SERIAL DATA IN (SDI) The Serial Data In (SDI) signal is the data signal into the device. The value on this pin is latched on the rising edge of the SCK signal. 6.5.2 SERIAL DATA OUT (SDO) The Serial Data Out (SDO) signal is the data signal out of the device. The value on this pin is driven on the falling edge of the SCK signal. Once the CS pin is forced to the active level (VIL), the SDO pin will be driven. The state of the SDO pin is determined by the serial bit’s position in the command, the command selected, and if there is a command error state (CMDERR). 6.5.3 SERIAL CLOCK (SCK) (SPI FREQUENCY OF OPERATION) The SPI interface is specified to operate up to 20 MHz. The actual clock rate depends on the configuration of the system and the serial command used. Table 6-1 shows the SCK frequency for different configurations. TABLE 6-1: SCK FREQUENCY 6.5.4 THE CS SIGNAL The Chip Select (CS) signal is used to select the device and frame a command sequence. To start a command, or sequence of commands, the CS signal must transition from the inactive state (VIH) to the active state (VIL). After the CS signal has gone active, the SDO pin is driven and the clock bit counter is reset. If an error condition occurs for an SPI command, then the command byte’s Command Error (CMDERR) bit (on the SDO pin) will be driven low (VIL). To exit the error condition, the user must take the CS pin to the VIH level. When the CS pin returns to the inactive state (VIH), the SPI module resets (including the address pointer). While the CS pin is in the inactive state (VIH), the serial interface is ignored. This allows the Host Controller to interface to other SPI devices using the same SDI, SDO, and SCK signals. 6.5.5 THE HVC SIGNAL The HVC pin is compatible with High Voltage com- mands levels (used with MCP48FEBXX devices). 6.6 The SPI Modes The SPI module supports two (of the four) standard SPI modes. These are Mode 0,0 and 1,1. The SPI mode is determined by the state of the SCK pin (VIH or VIL) when the CS pin transitions from inactive (VIH) to active (VIL). 6.6.1 MODE 0,0 In Mode 0,0: • SCK idle state = low (VIL) • Data is clocked in on the SDI pin on the rising edge of SCK • Data is clocked out on the SDO pin on the falling edge of SCK 6.6.2 MODE 1,1 In Mode 1,1: • SCK idle state = high (VIH) • Data is clocked in on the SDI pin on the rising edge of SCK • Data is clocked out on the SDO pin on the falling edge of SCK Memory Type Access Command Read Write Volatile Memory SDI, SDO 10 MHz 20 MHz (1) Note 1: Write interface speed is faster than read interface speed due to read access times. Note: There is a required delay after the CS pin goes active to the 1st edge of the SCK pin. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |