11945 views|0 replies

6062

Posts

4

Resources
The OP
 

【Development Kit for nRF52840】+ Evaluation of four Bluetooth serial port transparent transmission [Copy link]

This post was last edited by damiaa on 2018-12-18 10:10 [Development Kit for nRF52840] + Evaluation of Four Bluetooth Serial Port Transparent TransmissionLibrary Code: After comparative study and analysis, I learned that nRF52840 has many uses, such as Bluetooth 5.0 Bluetooth MESH, running thread and ZIGBEE, and so many other functions. The following is the source code downloaded from the Internet: Bluetooth S140+SDK: nRF5SDK15209412b96.zip s140nrf52611.zip Bluetooth MESH: nrf5SDKforMeshv220src.zip Bluetooth thread: nRF5SDKforThreadv011084a130f.zip Bluetooth thread+ZIGBEE: nRF5SDKforThreadandZigbee20029775ac.zip The nRF52840 development environment includes IAR, MDK, SEGGER Embedded Studio, GCC, etc., and some of NORDIC's own auxiliary debugging and downloading tools. Choose one to start: So many things make us at a loss, so let's choose a code project that we can play directly and is relatively easy to start with. Then let's start with serial port transparent transmission. Hehe. 1. Code 2, tool MDK serial port debugging putty computer desktop version nRF Connect mobile version nRF Connect Here is a little more, NORDIC separates the Bluetooth library code and application code. It consists of the following two parts, which need to be downloaded separately. nRF5SDK15209412b96.zip s140nrf52611.zip After unzipping s140nrf52611.zip, you will see s140_nrf52_6.1.1_softdevice.hex. Then download it to the chip. Unzip nRF5SDK15209412b96.zip There are many examples in the nRF5SDK15209412b96\nRF5_SDK_15.2.0_9412b96\examples directory. L:\nRF52840\Nordic official host software\Bluetooth S140+SDK\DeviceDownload\nRF5SDK15209412b96\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_uart\pca10056 This project is the serial port transparent transmission code suitable for our board. Burn code debugging: Before using the board, use the erase tool in the desktop version of nRF Connect to erase the chip content. Open it with MDK. MDK may require you to install NORDIC nRF52840 related application libraries. Just install it directly. The project is in nRF5SDK15209412b96\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_uart\pca10056\s140\arm5_no_packs Compile first. After passing, download s140_nrf52_6.1.1_softdevice.hex and then download the compiled nrf52840_xxaa.hex Now the board program is ready. You can start to test whether it is running. Test: Prepare the mobile version of nRF Connect, plug the Development Kit for nRF52840 into the computer, and connect it with PUTTY. Baud rate, etc.: 115200 N 8 1 The mobile version of nRF Connect can see the board and press Connect to connect. At this time, you need to select Notifications enabled. At this time, you can send characters and numbers through this software on the mobile phone, and the computer's PUTTY can see them. PUTTY sends characters, and this software can see the characters. The content of the experiment is completed. Continue later. This content is original by EEWORLD forum user damiaa. If you need to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source



This post is from MCU
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list