| 数据搜索系统,热门电子元器件搜索 |
|
USB84604 数据表(PDF) 31 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
USB84604 数据表(HTML) 31 Page - Microchip Technology |
|
31 / 61 page ![]() 2014-2016 Microchip Technology Inc. DS60001295C-page 31 USB84604 7.0 DEVICE INTERFACES The USB84604 provides multiple interfaces for configuration and external memory access. This chapter details the var- ious device interfaces and their usage. 7.1 SPI Interface The device is capable of code execution from an external SPI ROM. On power up, the firmware looks for an external SPI flash device that contains a valid signature of 2DFU (device firmware upgrade) beginning at address 0xFFFA. If a valid signature is found, then the external ROM is enabled and the code execution begins at address 0x0000 in the external SPI device. If a valid signature is not found, then execution continues from internal ROM. The following sections describe the interface options to the external SPI ROM. The SPI interface is always enabled after reset. It can be disabled by setting the SPI_DISABLE bit in the UTIL_CON- FIG1 register. 7.1.1 OPERATION OF THE HI-SPEED READ SEQUENCE The SPI controller will automatically handle code reads going out to the SPI ROM address. When the controller detects a read, the controller drives SPI_CE_N low, and outputs 0x0B, followed by the 24-bit address. The SPI controller outputs a DUMMY byte. The next eight clocks will clock in the first byte. When the first byte is clocked-in, a ready signal is sent back to the processor, and the processor gets one byte. After the processor gets the first byte, its address will change. If the address is one more than the last address, the SPI controller will clock out one more byte. If the address is anything other than one more than the last address, the SPI controller will terminate the transaction by driving SPI_CE_N high. As long as the addresses are sequential, the SPI controller will continue clocking data in. 7.1.2 OPERATION OF THE DUAL HIGH SPEED READ SEQUENCE The SPI controller also supports dual data mode. When configured in dual mode, the SPI controller will automatically handle XDATA reads going out to the SPI ROM. When the controller detects a read, the controller drives SPI_CE_N low and outputs 0x3B (the value must be programmed into the SPI_ FR_OPCODE Register) followed by the 24-bit address. Bits 23 through Bit 17 are forced to zero, and address bits 16 through 0 are directly from the XDATA address bus. Because it is in fast read mode, the SPI controller then outputs a DUMMY byte. The next four clocks will clock in the first byte. The data appears two bits at a time on SPI_DO and SPI_DI. When the first byte is clocked in, a ready signal is sent back to the processor, and the processor gets one byte. Note: For information on device configuration, refer to Chapter 6.0 Device Configuration on page 27. Note: For SPI timing information, refer to Section 9.6.7, "SPI Timing," on page 49. FIGURE 7-1: SPI HI-SPEED READ SEQUENCE SPI_CE_N SPI_CLK SPI_DO SPI_DI 8 0B MSB HIGH IMPEDANCE 15 16 12 3 4 05 7 6 DOUT ADD. 23 24 ADD. ADD. X 39 40 31 32 47 48 55 56 63 64 71 72 80 DOUT NN+1 DOUT N+2 DOUT N+3 DOUT N+4 MSB MSB |
|
链接网址 |
| 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 |