Initial configuration:
1. Reset chip
2. Write ID address (2 to 4 bytes, configurable, but generally use 4 bytes)
3. Configure related registers (except special ones)
Special registers that are not configured are:
// 0x00 mode register, for reset
// 0x05 fifo data register
// 0x06 id code register
// 0x23 IF calibration II, only read
// 0x32 filter test register
4. Check the chip.
5. Configure the channel. The difference between transmission and reception is one channel. For example, if the transmission uses channel 5, the reception must use channel 4.
6. Then enter STBY mode.
Sending data:
1. Write the transmitted data into TX FIFO.
2. Set the mode to TX
3. Wait for GDIO1 to change from high to low to determine whether the transmission is completed. After the transmission is completed, the chip will automatically enter STBY mode.
Receiving data:
1. Connect GDIO1 to the external interrupt pin, set it to falling edge interrupt, and turn on the interrupt at the same time.
2. In the main program, check whether the interrupt flag IE0 is 1. If it is 1, it means that data has been received.
3. Read the CRC value of the register to see if it is correct. If it is correct, the data will be received. If it is incorrect, the data will be lost.
The above is some general process of debugging point-to-point communication of A7105 wireless module.
Previous article:CC1101 and MSP430F147 debugging experience sharing
Next article:NRF24L01 wireless module RF test preparation
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- I can't find any information about these two chips.
- [Project source code] Determine the correspondence between the dedicated clock input pin of the FPGA and the PLL
- MCU + I2C communication response signal is abnormal
- 【NUCLEO-L552ZE Review】- 7 : EXTI - One unexpected thing after another
- Issues that should be paid attention to when drawing PCB diagrams from the perspective of welding
- Can anyone help analyze the parameters of this DC-DC transformer?
- In the 5G era, IoT technology empowers smart healthcare
- 【TouchGFX Design】(2) Simple interface design
- Sony HT-Z9F speaker system disassembled with Rockchip RKNanoD chip
- [Rvb2601 Creative Application Development] lvgl Usage 2 - Drawing