| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
EVAL-ADF7023DB2Z bảng dữ liệu(PDF) 59 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
EVAL-ADF7023DB2Z bảng dữ liệu(HTML) 59 Page - Analog Devices |
|
59 / 112 page ![]() Data Sheet ADF7023 Rev. C | Page 59 of 112 Random Address Write MCR, BBRAM, and packet RAM memory locations can be written to in a nonsequential manner using the SPI_MEMR_WR command. The SPI_MEMR_WR command code is 00001xxxb, where xxxb represent Bits[10:8] of the 11-bit address. The lower eight bits of the address should follow this command and then the data byte to be written to the address. The lower eight bits of the next address are entered, followed by the data for that address until all required addresses within that block are written, as shown in Figure 94. Program RAM Write The program RAM can be written to only by using the memory block write, as illustrated in Figure 93. SPI_MEM_WR should be set to 0x1E. See the Downloadable Firmware Modules section for details on loading a firmware module to program RAM. Block Read MCR, BBRAM, and packet RAM memory locations can be read from in block format using the SPI_MEM_RD command. The SPI_MEM_RD command code is 00111xxxb, where xxxb represent Bits[10:8] of the first 11-bit address. This command is followed by the remaining eight bits of the address to be read and then two SPI_NOP commands (dummy byte). The first byte available after writing the address should be ignored, with the second byte constituting valid data. If more than one data byte is to be read, the write address is automatically incremented for subsequent SPI_NOP commands sent. See Figure 95 for more details. Random Address Read MCR, BBRAM, and packet RAM memory locations can be read from memory in a nonsequential manner using the SPI_MEMR_RD command. The SPI_MEMR_RD command code is 00101xxxb, where xxxb represent Bits[10:8] of the 11-bit address. This command is followed by the remaining eight bits of the address to be written. Each subsequent address byte is then written. The last address byte to be written should be followed by two SPI_NOP commands, as shown in Figure 96. The data bytes from memory, starting at the first address location, are available after the second status byte. Example Read the value stored in the ADC_CONFIG_HIGH register. • The first five bits of the SPI_MEM_RD command are 00111. • The 11-bit address of ADC_CONFIG_HIGH is 01101011010. • The first byte sent is 00111011 or 0x3B. • The second byte sent is 01011010 or 0x5A. • The third byte sent is 0xFF (SPI_NOP). • The fourth byte sent is 0xFF. Thus, 0x3B5AFFFF is written to the part. The value shifted out on the MISO line while the fourth byte is sent is the value stored in the ADC_CONFIG_HIGH register. Figure 93. Memory (MCR, BBRAM, or Packet RAM) Block Write Figure 94. Memory (MCR, BBRAM, or Packet RAM) Random Address Write Figure 95. Memory(MCR, BBRAM, or Packet RAM) Block Read MOSI MISO SPI_MEM_WR IGNORE ADDRESS STATUS DATA FOR [ADDRESS] STATUS DATA FOR [ADDRESS + 1] STATUS DATA FOR [ADDRESS + 2] STATUS DATA FOR [ADDRESS + N] STATUS CS MOSI MISO SPI_MEMR_WR IGNORE STATUS STATUS ADDRESS 2 ADDRESS 1 STATUS DATA FOR [ADDRESS 2] DATA FOR [ADDRESS 1] STATUS DATA FOR [ADDRESS N] STATUS CS MOSI MISO IGNORE SPI_MEM_RD ADDRESS SPI_NOP SPI_NOP SPI_NOP STATUS STATUS SPI_NOP MAX N = (256-INITIAL ADDRESS) CS DATA FROM ADDRESS DATA FROM ADDRESS + 1 DATA FROM ADDRESS + N |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |