Nordic nRF8001 User Manual Download Page 8

Page 8

nRF8001 Development Kit User Guide v2.0

When you have the setup you want, you can generate source files containing the setup code as #defines. 
The files generated by nRFgo Studio are used by the application project examples in the SDK to configure 
nRF8001 before use. This allows you to focus on the application code rather than spending time ensuring 
the 

Bluetooth

 setup details are correct.

The GAP and GATT settings captured on the nRFgo studio are translated to nRF8001 Setup messages. These 
messages are generated as #defines in the services.h and services_lock.h. Include one of these header files 
in your build environment (services.h places the nRF8001 Setup in the RAM of the nRF8001 and 
services_lock.h places the Setup in the NVRAM of the nRF8001). Once the Setup messages are in your build 
environment you can send them over the SPI to the nRF8001 for configuration.

You can also conduct 

Bluetooth 

low energy tests and program the hardware from the 

Bluetooth

 menu in the 

nRFgo Studio:

• Testing the RF PHY using Direct Test Mode.

Please see the nRFgo Studio's online help for detailed instructions.

4.2

SDK

The SDK contains source code for developing applications on the application processor (Arduino). 
It includes working examples, and contains libraries that are portable to other microcontroller platforms. 
The examples are written in C and can be programmed on to the Arduino using the Arduino IDE. 

4.2.1

ACI modules

ACI is the interface for nRF8001. The SDK has two modules that handle the ACI communication. One handles 
the physical transport and the other implements the protocol.

4.2.1.1

ACI library (lib_aci)

This library implements the ACI protocol and lets you send commands, and receive events. Please refer to 
the nRF8001 Preliminary Product Specification for protocol details. The ACI library gives you:

• An API for ACI commands
• Decoding of ACI events

The ACI library does not have hardware dependencies, and can be used by any microcontroller with a C 
compiler. The ACI library requires the ACI Transport Layer, described in the following section.

4.2.1.2

ACI transport layer (hal_aci_tl)

The ACI Transport Layer module is a Hardware Abstraction Layer (HAL) for the ACI physical transport. It 
handles the SPI communication, and the hand-shake signals. Because of the hardware dependencies this 
module must be ported to your target microcontroller.

4.2.1.3

Hardware dependencies

The dependencies are related to power down mode. The code for entering power down mode is hardware 
dependent and must be ported when using a third-party application processor.

Summary of Contents for nRF8001

Page 1: ...right 2014 Nordic Semiconductor ASA All rights reserved Reproduction in whole or in part is prohibited without the prior written permission of the copyright holder nRF8001 Development Kit User Guide v...

Page 2: ...ent Kit Arduino UNO or an Arduino compatible board Computer with 2 USB ports Windows XP and Windows 7 1 1 1 Support for Linux and OS X The Arduino development environment supports development on OS X...

Page 3: ...K provides source code of examples and libraries forming the base of your application development The ble_sdk_arduino SDK includes Example code Bluetooth profile examples Drivers Libraries For more in...

Page 4: ...aries and example applications 2 1 Hardware components Figure 1 Hardware components For more information on the hardware modules see Chapter 6 Hardware description on page 11 nRF2740 SCC module PCB an...

Page 5: ...e content nRFgo Studio ble_sdk_arduino Software Development Kit SDK Precompiled HEX files Source code Keil ARM project files Master Control Panel nRF Sniffer 2 2 2 nRF8001 DK documentation nRF8001 Dev...

Page 6: ...rogram a test program for the Arduino board 4 Run the test program to verify that the Arduino board has been successfully programmed and is working 5 Download the ble_sdk_arduino SDK from https github...

Page 7: ...an also choose to use proprietary formats when your product only works with your application s and Bluetooth profile compliance is not required Setting the static parameters for nRF8001 Setup of GATT...

Page 8: ...e application processor Arduino It includes working examples and contains libraries that are portable to other microcontroller platforms The examples are written in C and can be programmed on to the A...

Page 9: ...he Master Control Panel Visual C 2008 Redistributables Files needed for the Master Control Panel unless Net v3 5 has already been installed Drivers for the master emulator Segger 4 4 Compiling for the...

Page 10: ...igned for use with Bluetooth test equipment If you don t have a Bluetooth tester you can access the interface using this Development Kit and using nRFgo Studio to run the tests The nRFgo Studio DTM re...

Page 11: ...2741 are identical except nRF2740 has an PCB antenna and nRF2741 has an SMA connector Figure 4 nRF2740 and nRF2741 radio modules 6 1 1 Solder bridge SB1 By default solder bridge SB1 is shorted Opening...

Page 12: ...for connector P1 6 1 3 Connector P2 This connector is used for the Direct Test Mode interface which is treated in more detail in Chapter 5 Testing the physical layer with Direct Test Mode on page 10 T...

Page 13: ...ule contains headers for the Arduino interface and a level translator circuit for the communication between a 5 V platform such as Arduino and the nRF8001 running at 3 3 V 6 2 1 Key features Arduino c...

Page 14: ...3 contains the ACI interface of nRF8001 and connects the SCC module either nRF2740 or nRF2741 to the application processor on the Arduino board For detailed signal descriptions please see the nRF8001P...

Page 15: ...the current drawn by the nRF8001 device on the SCC module nRF2740 nRF2741 in any operating mode Details on the nRF8001 static and dynamic current consumption can be found in the nRF8001 Product Specif...

Page 16: ...uetooth application using the nRF8001 device It features an on board programming and debugging solution from SEGGER In addition to radio communication the nRF51822 device can communicate with a comput...

Page 17: ...ected to dedicated I Os on the nRF51822 chip The connections are shown in Table 4 Table 4 LED connection The LEDs are active low meaning that writing a logical zero 0 to the output pin will illuminate...

Page 18: ...the SEGGER chip The pins should only be used for UART In order to use the USB to UART bridge the software on the nRF51822 has to enable flow control For details on how to set up the UART with flow con...

Page 19: ...re using the SCC module nRF2740 and nRF2741 with a third party application processor development kit 7 1 1 hal_platform h This file gathers all includes and register access that are specific to the ha...

Page 20: ...ppened Verify that the jumper nRF current measurement on the PCA64105 is connected The drop down menu in the Master Control Panel displays no serial number What has happened Verify that the Master Con...

Page 21: ...such improper use or sale Contact details For your nearest distributor please visit www nordicsemi com Information regarding product updates downloads and technical support can be accessed through you...

Page 22: ...ate Version Description July 2014 2 0 Entire User Guide has been updated to reflect the new Development Kit for Arduino December 2011 1 1 Added chapter 7 on page 19 Removed section 8 1 3 Porting ACI T...

Page 23: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Nordic Semiconductor nRF8001 DK...

Reviews: