| 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) 58 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
EVAL-ADF7023DB2Z bảng dữ liệu(HTML) 58 Page - Analog Devices |
|
58 / 112 page ![]() ADF7023 Data Sheet Rev. C | Page 58 of 112 MEMORY ACCESS Memory locations are accessed by invoking the relevant SPI command. An 11-bit address is used to identify registers or locations in the memory space. The most significant three bits of the address are incorporated into the SPI command by appending them as the LSBs of the command word. Figure 92 illustrates command, address, and data partitioning. The various SPI memory access commands are different, depending on the memory location being accessed (see Table 27). An SPI command should be issued only if the SPI_READY bit in the INTERRUPT_SOURCE_1 register (Address 0x337) of the status word bit is high. The ADF7023 interrupt handler can be also be configured to generate an interrupt signal on IRQ_GP3 when the SPI_READY bit is high. An SPI command should not be issued while the communications processor is initializing (FW_STATE = 0x0F). SPI commands can be issued in any other communications processor state, including the busy state (FW_STATE = 0x00). This allows the ADF7023 memory to be accessed while the radio is transi- tioning between states. Block Write MCR, BBRAM, and packet RAM memory locations can be written to in block format using the SPI_MEM_WR command. The SPI_MEM_WR command code is 00011xxxb, where xxxb represent Bits[10:8] of the first 11-bit address. If more than one data byte is written, the write address is automatically incremented for every byte sent until CS is set high, which terminates the memory access command (see Figure 93 for more details). The maximum block write for the MCR, packet RAM, and BBRAM memories is 256 bytes, 256 bytes, and 64 bytes, respectively. These maximum block-write lengths should not be exceeded. Example Write 0x00 to the ADC_CONFIG_HIGH register (Address 0x35A). • The first five bits of the SPI_MEM_WR command are 00011. • The 11-bit address of ADC_CONFIG_HIGH is 01101011010. • The first byte sent is 00011011 or 0x1B. • The second byte sent is 01011010 or 0x5A. • The third byte sent is 0x00. Thus, 0x1B, 0x5A, 0x00 is written to the part. Figure 92. SPI Memory Access Command/Address Format Table 27. Summary of SPI Memory Access Commands SPI Command Command Value Description SPI_MEM_WR 0x18 (packet RAM) 0x19 (BBRAM) 0x1B (MCR) 0x1E (program RAM) Write data to BBRAM, MCR, or packet RAM sequentially. An 11-bit address is used to identify memory locations. The most significant three bits of the address are incorporated into the command (xxxb). This command is followed by the remaining eight bits of the address. SPI_MEM_RD 0x38 (packet RAM) 0x39 (BBRAM) 0x3B (MCR) Read data from BBRAM, MCR, or packet RAM sequentially. An 11-bit address is used to identify memory locations. The most significant three bits of the address are incorporated into the command (xxxb). This command is followed by the remaining eight bits of the address, which is subsequently followed by the appropriate number of SPI_NOP commands. SPI_MEMR_WR 0x08 (packet RAM) 0x09 (BBRAM) 0x0B (MCR) Write data to BBRAM, MCR, or packet RAM nonsequentially. SPI_MEMR_RD 0x28 (packet RAM) 0x29 (BBRAM) 0x2B (MCR) Read data from BBRAM, MCR, or packet RAM nonsequentially. SPI_NOP 0xFF No operation. Use for dummy writes when polling the status word. Also used as dummy data on the MOSI line when performing a memory read. CS MOSI SPI MEMORY ACCESS COMMAND MEMORY ADDRESS BITS[7:0] DATA BYTE 5 BITS MEMORY ADDRESS BITS[10:0] DATA n × 8 BITS |
|
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 |