Share the notes of debugging point-to-point communication of A7105 wireless module

Publisher:Jinyu521Latest update time:2015-07-03 Source: 51heiKeywords:A7105 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
     Compared with nRF2401 and nRF24L01, A7105 wireless module has more registers, 51 in total, which are difficult to understand at first. However, before writing a program, you need to look at some important registers and the provided test programs to understand the configuration of the related registers and the initialization configuration, as well as the six related modes, namely STBY, SLEEP, PLL TX, RX, TX FIFO, and RX FIFO mode configurations.

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.

Keywords:A7105 Reference address:Share the notes 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

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号