20170716--debugging NRF51822 Bluetooth Module Summary

Source: Internet
Author: User

debugging Bluetooth module Two days, the summary of the debugging ideas and processes, although not mediation, but it is necessary to summarize ideas and procedures, the steps are not, almost will not be debugged, the process is summarized: (1) First is to build a development environment, install Keil software or Nrfgo Studio software. (2) After the environment is set up, download the program, 1. Construction of the development environment

The NRF51822 development environment can be Keil or Nrfgo Studio, if the Keil development environment is installed, Keil 4.54 or later must be, Nrfgo Studio software must be v1.14 or later. If you use the Keil development environment to install the appropriate SDK, you can download the program normally. Nrfgo Studio Software downloader can be either direct download or install Bluetooth protocol stack download, some programs may require Bluetooth protocol stack download mode. These are the installation aspects of the environment building software.
In addition, the environment to build hardware connection, hardware connection, the need to NRF51822 SW download mode to the JTAG download mode, will be NRF51822 Swdio, SWCLK, VCC, gnd several pins with the DuPont line connected to the corresponding pin of JTAG, besides, The NRF51822 also need to connect the power supply and the ground to the power supply. 2. Program Download

After the environment is set up, download the program to the Development Board, and then install the Nrftoolbox software on the phone, if it is an Android phone, the Bluetooth version is v4.0 or later, the Android system is v4.3 or later. Download the program, you can take the JTAG download first unplug, NRF51822 power is also unplugged, plug in the USB to TTL module, here need to note that the USB to TTL module TX connection nrf51822 module RX,RX Connection nrf51822 TX Here need to go to the program to find NRF51822 Rx and TX is which two pin, after looking, RX is the P0.11 pin, TX is the P0.09 PIN, specifically which pin, to see the configuration of the program, this step is a key step. After connecting the USB to TTL module, turn on the phone's Nrftoolbox software, follow the steps, and connect with Bluetooth, and turn on the computer's serial debugging assistant software, send the phone to the Bluetooth letter or digital display. However, do not know why, the phone and Bluetooth connection is not, and then see the program, there is probably a button to press, Bluetooth to get up, because there is no button on the hardware, I put the button that block program commented out, but the phone and Bluetooth is not connected, specifically where the problem, continue to study debugging behind.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.