| 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) 56 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
EVAL-ADF7023DB2Z bảng dữ liệu(HTML) 56 Page - Analog Devices |
|
56 / 112 page ![]() ADF7023 Data Sheet Rev. C | Page 56 of 112 SPI INTERFACE GENERAL CHARACTERISTICS The ADF7023 is equipped with a 4-wire SPI interface, using the SCLK, MISO, MOSI, and CS pins. The ADF7023 always acts as a slave to the host processor. Figure 87 shows an example connection diagram between the processor and the ADF7023. The diagram also shows the direction of the signal flow for each pin. The SPI interface is active, and the MISO outputs enabled, only while the CS input is low. The interface uses a word length of eight bits, which is compatible with the SPI hardware of most processors. The data transfer through the SPI interface occurs with the most significant bit first. The MOSI input is sampled at the rising edge of SCLK. As commands or data are shifted in from the MOSI input at the SCLK rising edge, the status word or data is shifted out at the MISO pin synchronous with the SCLK clock falling edge. If CS is brought low, the most significant bit of the status word appears on the MISO output without the need for a rising clock edge on the SCLK input. Figure 87. SPI Interface Connections COMMAND ACCESS The ADF7023 is controlled through commands. Command words are single octet instructions that control the state transitions of the communications processor and access to the registers and packet RAM. The complete list of valid commands is given in the Command Reference section. Commands that have a CMD prefix are handled by the communications processor. Memory access commands have an SPI prefix and are handled by an independent controller. Thus, SPI commands can be issued independent of the state of the communications processor. A command is initiated by bringing CS low and shifting in the command word over the SPI, as shown in Figure 88. All commands are executed on the last positive SCLK edge of the command. The CS input must be brought high again after a command has been shifted into the ADF7023 to enable the recognition of successive command words. This is because a single command can be issued only during a CS low period (with the exception of a double NOP command). Figure 88. Command Write (No Parameters) STATUS WORD The status word of the ADF7023 is automatically returned over the MISO each time a byte is transferred over the MOSI. Shifting in double SPI_NOP commands (see Table 27) causes the status word to be shifted out as shown in Figure 89. The meaning of the various bit fields is illustrated in Table 25. The FW_STATE variable can be used to read the current state of the communications processor and is described in Table 26. If it is busy performing an action or state transition, FW_STATE is busy. The FW_STATE variable also indicates the current state of the radio. The SPI_READY variable is used to indicate when the SPI is ready for access. The CMD_READY variable is used to indicate when the communications processor is ready to accept a new command. The status word should be polled and the CMD_READY bit examined before issuing a command to ensure that the communications processor is ready to accept a new command. It is not necessary to check the CMD_READY bit before issuing a SPI memory access command. It is possible to queue one command while the communications processor is busy. This is discussed in the Command Queuing section. The ADF7023 interrupt handler can be also be configured to generate an interrupt signal on IRQ_GP3 when the communi- cations processor is ready to accept a new command (CMD_ READY in the INTERRUPT_SOURCE_1 register (Address 0x337)) or when it has finished processing a command (CMD_FINISHED in the INTERRUPT_SOURCE_1 register (Address 0x337)). Figure 89. Reading the Status Word Using a Double SPI_NOP Command Table 25. Status Word Bit Name Description [7] SPI_READY 0: SPI is not ready for access. 1: SPI is ready for access. [6] IRQ_STATUS 0: no pending interrupt condition. 1: pending interrupt condition (mirrors the IRQ_GP3 pin). [5] CMD_READY 0: the radio controller is not ready to receive a radio controller command. 1: the radio controller is ready to receive a radio controller command. [4:0] FW_STATE Indicates the ADF7023 state (in Table 26). ADF7023 HOST PROCESSOR SCLK MOSI MISO IRQ_GP3 GPIO SCLK MOSI MISO IRQ CS CMD IGNORE CS MOSI MISO MOSI CS MISO SPI_NOP SPI_NOP IGNORE STATUS |
|
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 |