| 数据搜索系统,热门电子元器件搜索 |
|
MCP48FVB21 数据表(PDF) 57 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP48FVB21 数据表(HTML) 57 Page - Microchip Technology |
|
57 / 84 page ![]() 2015 Microchip Technology Inc. DS20005466A-page 57 MCP48FVBXX 7.2 Read Command The Read command is a 24-bit command and is used to transfer data from the specified memory location to the Host controller. The Read command can be issued to the volatile memory locations. The format of the command as well as an example SDI and SDO data is shown in Figure 7-6. The first 7-bits of the Read command determine the address and the command. The 8th clock will output the CMDERR bit on the SDO pin. By means of the remaining 16 clocks, the device will transmit the data bits of the specified address (AD4:AD0). The Read command formats include: • Single Read • Continuous Reads 7.2.1 LAT PIN INTERACTION During a Read command of the DACx Registers, if the LAT pin transitions from VIH to VIL, then the read data may be corrupted. This is due to the fact that the data being read is the output value and not the DAC register value. The LAT pin transition causes an update of the output value. Based on the DAC output value, the DACx register value, and the Command bit where the LAT pin transitions, the value being read could be corrupted. If LAT pin transitions occur during a read of the DACx register, it is recommended that sequential reads be performed until the two most recent read values match. Then the most recent read data is good. 7.2.2 SINGLE READ The Read command 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 Read command (Command Byte and Data Byte) is then clocked in on the SCK and SDI pins. The SDO pin starts driving data on the 8th bit (CMDERR bit), and the addressed data comes out on the 9th through 24th clocks. FIGURE 7-6: Read Command - SDI and SDO States. Note 1: During device communication, if the Device Address/Command combination is invalid or an unimplemented Address is specified, then the MCP48FVBXX will command error that byte. To reset the SPI state machine, the CS pin must be driven to the VIH state. 2: If the LAT pin is High (VIH), reads of the volatile DAC Register address returns that DAC’s output value, not the internal register. 3: Read commands ignore any High Volt- age Command levels that are present on the HVC pin. A D 4 A D 3 A D 2 A D 1 A D 0 11 C M D E R R X X X X X X X XXXXXXXXX 11111111 1 1 1 1 d d d ddddddddd Valid (1) 1111111 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0Invalid (2, 3) SDI SDO 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). Address Data bits (8, 10, or 12 bits) Command |
|
链接网址 |
| 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 |