| 数据搜索系统,热门电子元器件搜索 |
|
MCP48FVB21 数据表(PDF) 54 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP48FVB21 数据表(HTML) 54 Page - Microchip Technology |
|
54 / 84 page ![]() MCP48FVBXX DS20005466A-page 54 2015 Microchip Technology Inc. 7.1 Write Command Write commands are used to transfer data to the desired memory location (from the Host controller). Write commands can be structured as either Single or Continuous. The format of the command is shown in Figures 7-2 (Single) and 7-3 (Continuous). A write command to a volatile memory location changes that location after a properly formatted write command has been received. 7.1.1 SINGLE WRITE TO VOLATILE MEMORY The write operation requires that the CS pin be in the active state (VIL). Typically, the CS pin will be in the inactive state (VIH) and is driven to the active state (VIL). The 24-bit Write command (Command Byte and Data Bytes) is then clocked in on the SCK and SDI pins. Once all 24 bits have been received, the specified volatile address is updated. A write will not occur if the Write command is not exactly 24 clock pulses. This protects against system issues corrupting the volatile memory locations. Figures 7-4 and 7-5 show the waveforms for a single write (depending on SPI mode). 7.1.2 CONTINUOUS WRITES TO VOLATILE MEMORY A continuous write mode of operation is possible when writing to the device’s volatile memory registers (see Table 7-3). Figure 7-3 shows the sequence for three continuous writes. The writes do not need to be to the same volatile memory address. FIGURE 7-2: Write Command - SDI and SDO States. Note 1: During device communication, if the Device Address/Command combination is invalid or an unimplemented Device Address is specified, then the MCP48FVBXX will generate a Command Error state. To reset the SPI state machine, the CS pin must transition to the inactive state (VIH). TABLE 7-3: VOLATILE MEMORY ADDRESSES Address Single-Channel Dual-Channel 00h Yes Yes 01h No Yes 08h Yes Yes 09h Yes Yes 0Ah Yes Yes A D 4 A D 3 A D 2 A D 1 A D 0 00 C M D E R R D 1 5 D 1 4 D 1 3 D 1 2 D 1 1 D 1 0 D 0 9 D 0 8 D 0 7 D 0 6 D 0 5 D 0 4 D 0 3 D 0 2 D 0 1 D 0 0 111111111111111111111111 Valid (1) 1111111 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0Invalid (2, 3) Address Data bits (8, 10, or 12 bits) SDI SDO Command Note 1: If a valid Address/Command occurs, then the data bits are dependent on the resolution of the device. 12-bit = D11:D00, 10-bit = D09:D00, and 8-bit = D07:D00. Data is right justified for ease of Host Controller operation (i.e., no data manipulation before transmitting the desired value). 2: Unimplemented data bits (D15:D12 on 12-bit device, D15:D10 on 10-bit device, D15:D08 on 8-bit device) will be output as ‘1’. 3: If an Error condition occurs (CMDERR = L), all following SDO bits will be low until the CMDERR condition is cleared (the CS pin is forced to the inactive state). |
|
链接网址 |
| 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 |