Introduction
nRF24E1 transceiver Nordic VLSI is the introduction of system-level radio-frequency chips using advanced 0.18μm CMOS technology, 6mm × 6mm 36-pin QFN package in order to nRF240 RF chip based on the structure, radio frequency, 8051MCU, 9 input 10 ADC, 125-channel, UART, SPI, PWM, RTC, WDT all integrated into a single chip, is the world's first global common 2.4GHz, done low-cost RF system-on-chip.
NRF24E1 due to the on-chip integrated module RADIO, in use, only a
NRF24E1 tablets and a small number of external components will be able to complete the RF transceiver functions, greatly reducing the size of the system. NRF24E1 use, it is important to carry out the appropriate allocation of work. Next, a detailed account of the principle and the nRF24E1 to send and receive the programming method for readers as a reference design. NRF24E1 related to the introduction in 2004 set out in paragraph 6.
1 RADIO mouth
nRF24E1 transceiver to send and receive the mandate from the mouth RADIO control. RADIO I use the standard 8051 in the mouth of the P2 address. As the on-chip RF transceiver is built-in, two-way is not working. In order to meet the needs of the RF transceiver subsystem, RADIO mouth of the default values and standards of the 8051 default value is not the same as P2.
Transceiver by the special features of the gap RADIO (0A0H) and SPI_CTRL (0B3H) control. SPI_CTRL = 00B when, SPI useless; SPI_CTRL = 01B when, SPI connected to the P1 port; SPI_CTRL = 10B when, SPI connected to the first nRF2401 channels; SPI_CTRL = 11B when, SPI connected to the second channel nRF2401. RADIO gap in various places as shown in Figure 1. NRF24E1 in the first document, as defined in various places with names like Figure 1.
(1) with SPI port to send and receive control of the embedded chips used in SPI port transceiver control of the operation is very convenient. RF, such as configuration and ShockBurst RX (receive) or TX (send).
(2) RADIO reset when I reset pin for the state's high time (no matter the validity of the clock), control sub-system transceiver nRF2401 the output RADIO-by default RADIO.3 (CS) = 0, RADIO.6 (CE) = 0, RADIO.7 (PWR_UP) = 1. After the run, keep the default value, RADIO register through the process until you change the value.
2 ways to send and receive
Through PWR_UP, CE and CS control of the three-pin, you can set up nRF2401 work. PWR_UP = 1, CE = 1, CS = 0 for ways to send and receive; PWR_UP = 1, CE = 0, CS = 1 for the allocation; PWR_UP = 1, CE = 0, CS = 0 for the idle mode; PWPWR_UP = 0 shutting Machine.
2.1 ShockBurst
nRF24E1 of nRF2401 transceiver subsystem only way to send and receive ShockBurst. ShockBurst the functions of a decision by the configuration word. ShockBurst-chip technology used in the FIFO (FIFO) stack. While the low-speed data access, but can send high-speed, so that the reduced energy consumption to a minimum.
(1) ShockBurst send pin CPU interface for the CE, CLK1, DATA, workflow is as follows: ① CPU has to send data, the CE to buy high, nRF2401 work. ② node to receive and effectively address data to be sent to the timing nRF2401 sub-system, through the application of the agreement or CPU settings, so that the rate of less than 1Mbps (such as 10kbps). ③ CPU to buy CE low activation ShockBurst sent. ④ ShockBurst. * RF front-end to the power supply; * completion of the deal with RF package (prefix plus, CRC check); * send high-speed data (250kbps or 1Mbps, the user can configure the decision); * Send completed, nRF2401 signal to return to idle.
(2) ShockBurst receive the CPU interface pin for the CE, DR1, CLK1, DATA, workflow is as follows: ① Check received the package RF address and want to receive the package RF effective length of the data. ② CE to buy high-activated RX. ③ after 200μs to deal with, nRF2401 surveillance system up and wait for the arrival of the signal. ④ Upon receiving a valid packet (correct address and CRC), nRF2401 subsystem prefix removed, and the CRC-bit address. ⑤ nRF2401 sub-system through the purchase of high DR1 to inform the CPU. ⑥ CPU to buy low-CE, as the RF front-end low-power mode. ⑦ CPU timing will be the appropriate speed (for example, 10kbps) to effectively remove the data. ⑧ When all the data are valid while stocks, nRF2401 sub-system once again home to low-DR1. If the CE to maintain a high in preparation for receiving the next packet; CE lower, to start receiving new. [Page]
2.2 DuoCeiver
ShockBurst way to send and receive nRF24E1 conveniently at the same time be able to receive two different frequency channels to send data, and can receive maximum speed. This means that:
* nRF24E1 through an antenna, can receive the difference between the two frequency 8MHz (8-channel frequency) of 1Mbps launchers (such as nRF24E1, nRF2401 or nRF2402) to send data.
* The two different data channels of data were sent to two different sets of interfaces - a data channel for CLK1, DATA and DR1, the data channel 2 CLK2, DOUT2 and DR2.
DuoCeiver technology provides two separate, dedicated channel to receive the data, rather than two separate receiver. The use of the second data channel must be met: the second data channel frequency than the first of at least one channel of high-frequency 8MHz. ShockBurst the use of technology, CPU took out one of the first data channel of data, another data channel to wait for the data processing CPU. Do not lose data; at the same time, it reduces the performance of the CPU.
nRF24E1 transceiver Nordic VLSI is the introduction of system-level radio-frequency chips using advanced 0.18μm CMOS technology, 6mm × 6mm 36-pin QFN package in order to nRF240 RF chip based on the structure, radio frequency, 8051MCU, 9 input 10 ADC, 125-channel, UART, SPI, PWM, RTC, WDT all integrated into a single chip, is the world's first global common 2.4GHz, done low-cost RF system-on-chip.
NRF24E1 due to the on-chip integrated module RADIO, in use, only a
NRF24E1 tablets and a small number of external components will be able to complete the RF transceiver functions, greatly reducing the size of the system. NRF24E1 use, it is important to carry out the appropriate allocation of work. Next, a detailed account of the principle and the nRF24E1 to send and receive the programming method for readers as a reference design. NRF24E1 related to the introduction in 2004 set out in paragraph 6.
1 RADIO mouth
nRF24E1 transceiver to send and receive the mandate from the mouth RADIO control. RADIO I use the standard 8051 in the mouth of the P2 address. As the on-chip RF transceiver is built-in, two-way is not working. In order to meet the needs of the RF transceiver subsystem, RADIO mouth of the default values and standards of the 8051 default value is not the same as P2.
Transceiver by the special features of the gap RADIO (0A0H) and SPI_CTRL (0B3H) control. SPI_CTRL = 00B when, SPI useless; SPI_CTRL = 01B when, SPI connected to the P1 port; SPI_CTRL = 10B when, SPI connected to the first nRF2401 channels; SPI_CTRL = 11B when, SPI connected to the second channel nRF2401. RADIO gap in various places as shown in Figure 1. NRF24E1 in the first document, as defined in various places with names like Figure 1.
(1) with SPI port to send and receive control of the embedded chips used in SPI port transceiver control of the operation is very convenient. RF, such as configuration and ShockBurst RX (receive) or TX (send).
(2) RADIO reset when I reset pin for the state's high time (no matter the validity of the clock), control sub-system transceiver nRF2401 the output RADIO-by default RADIO.3 (CS) = 0, RADIO.6 (CE) = 0, RADIO.7 (PWR_UP) = 1. After the run, keep the default value, RADIO register through the process until you change the value.
2 ways to send and receive
Through PWR_UP, CE and CS control of the three-pin, you can set up nRF2401 work. PWR_UP = 1, CE = 1, CS = 0 for ways to send and receive; PWR_UP = 1, CE = 0, CS = 1 for the allocation; PWR_UP = 1, CE = 0, CS = 0 for the idle mode; PWPWR_UP = 0 shutting Machine.
2.1 ShockBurst
nRF24E1 of nRF2401 transceiver subsystem only way to send and receive ShockBurst. ShockBurst the functions of a decision by the configuration word. ShockBurst-chip technology used in the FIFO (FIFO) stack. While the low-speed data access, but can send high-speed, so that the reduced energy consumption to a minimum.
(1) ShockBurst send pin CPU interface for the CE, CLK1, DATA, workflow is as follows: ① CPU has to send data, the CE to buy high, nRF2401 work. ② node to receive and effectively address data to be sent to the timing nRF2401 sub-system, through the application of the agreement or CPU settings, so that the rate of less than 1Mbps (such as 10kbps). ③ CPU to buy CE low activation ShockBurst sent. ④ ShockBurst. * RF front-end to the power supply; * completion of the deal with RF package (prefix plus, CRC check); * send high-speed data (250kbps or 1Mbps, the user can configure the decision); * Send completed, nRF2401 signal to return to idle.
(2) ShockBurst receive the CPU interface pin for the CE, DR1, CLK1, DATA, workflow is as follows: ① Check received the package RF address and want to receive the package RF effective length of the data. ② CE to buy high-activated RX. ③ after 200μs to deal with, nRF2401 surveillance system up and wait for the arrival of the signal. ④ Upon receiving a valid packet (correct address and CRC), nRF2401 subsystem prefix removed, and the CRC-bit address. ⑤ nRF2401 sub-system through the purchase of high DR1 to inform the CPU. ⑥ CPU to buy low-CE, as the RF front-end low-power mode. ⑦ CPU timing will be the appropriate speed (for example, 10kbps) to effectively remove the data. ⑧ When all the data are valid while stocks, nRF2401 sub-system once again home to low-DR1. If the CE to maintain a high in preparation for receiving the next packet; CE lower, to start receiving new. [Page]
2.2 DuoCeiver
ShockBurst way to send and receive nRF24E1 conveniently at the same time be able to receive two different frequency channels to send data, and can receive maximum speed. This means that:
* nRF24E1 through an antenna, can receive the difference between the two frequency 8MHz (8-channel frequency) of 1Mbps launchers (such as nRF24E1, nRF2401 or nRF2402) to send data.
* The two different data channels of data were sent to two different sets of interfaces - a data channel for CLK1, DATA and DR1, the data channel 2 CLK2, DOUT2 and DR2.
DuoCeiver technology provides two separate, dedicated channel to receive the data, rather than two separate receiver. The use of the second data channel must be met: the second data channel frequency than the first of at least one channel of high-frequency 8MHz. ShockBurst the use of technology, CPU took out one of the first data channel of data, another data channel to wait for the data processing CPU. Do not lose data; at the same time, it reduces the performance of the CPU.