7,967 questions

344
views
1
vote
no

MPU6050 to nRF51 DK

New to embedded world. Trying to interface MPU6050 w/ nRF51 DK via TWI. I have included the external MPU6050 drivers and everything compiles in Keil (except for last few lines of code below). Just need gyro data for x, y ... (more)

10
views
no
no

discover services on s1xx-iot-prototype2_softdevice reports READ_NOT_PERMITTED

Hi,

I tried the nrf51_iot_sdk_0.8.0_f1f6187 and flashed the coap example (examples\iot\coap\ipv6\client\boards\pca10028\armgcc) with the s1xx-iot-prototype2_softdevice on my PCA10028. I could communicate with a linux bluetooth_6lowpan, so there should not be too much ... (more)

13
views
no
1

Programming NRF51822 with FTDI

Hi All:

I was wondering if it is possible to program this chip through UART->FTDI FT232?

Has anyone done this? I am looking for the cleanest solution for programming and since we will have USB comms in our project ... (more)

4
views
no
no

Maximizing Gazelle Data Throughput

I'm looking to maximize the throughput using Gazelle on the nRF51.

Assuming zero retransmissions, I believe the theoretical max should be (1/TimeslotPeriod)*PayloadSize which would be 35.5kBps (284kbps) for my current settings.

Setup:

• One nRF51 Dongle as ...
(more)

1
view
no
no

wireless mouse using an Interlink micro joystick

Working on a wireless mouse project using an Interlink micro joystick (http://www.interlinkelectronics.com/M...) and nrf51822 ble module. Movement of the interlink micro joystick is encoded by a pic18f14k50t microcontroller. The 18F14K50T encodes joystick movements and outputs to ... (more)

3
views
no
no

SPI master disable recieve

So I've been using the SPI master driver supplied via the SDK. I'm currently trying to use the nrf51822 to control an LCD screen so I can display some information. I don't need to read anything from ... (more)

6
views
no
no

Optional SMA Footprint

Hello,

I am basing a design on the reference design from the nRF-DK (pca10028?). I am trying to understand the implications of using an SMA connector footprint for testing purposes, but including a cuttable trace underneath the SMA connector making ... (more)

11
views
no
no

What can cause missed connection intervals.

Setup: Central app using serialized s120 (2.0.0) with connectivity app.

1) The connection interval is set to 10 ms. 2) Connect to a peripheral 3) From some sniffer data, the connection intervals are 10 / 10 / 10 / 10 / 60 ... (more)

22
views
no
2

data written flash is erased

Hi:

   i use SDK7.0 , i write data in flash (address:0x0003fc00)and the data is erased when SDK run.


and is there any way to protect the page that i want to write or other solution.thanks.

7
views
no
no

PIN0 is never high

Hi, we are using the chip nRF51822 CEAAE00. We want to use the pin 0 as output. It is configured as below

NRF_GPIO->PIN_CNF[0] = (GPIO_PIN_CNF_SENSE_Disabled << GPIO_PIN_CNF_SENSE_Pos)
| (GPIO_PIN_CNF_DRIVE_S0S1 << GPIO_PIN_CNF_DRIVE_Pos)
| (GPIO_PIN_CNF_PULL_Disabled << GPIO_PIN_CNF_PULL_Pos)
| (GPIO_PIN_CNF_INPUT_Disconnect << GPIO_PIN_CNF_INPUT_Pos)
| (GPIO_PIN_CNF_DIR_Output << GPIO_PIN_CNF_DIR_Pos);

nrf_gpio_pin_set(0);


But, the pin ... (more)

11
views
no
no

Device name showing as "n/a"

I've tried to set up my own BLE project as an exercise in understanding what's going on. It's going okay, with the exception that the device isn't advertising the data that I'd expect it to ... (more)

5
views
no
no

Gazell not functioning inside SoftDevice timeslots

I'm running BLE and Gazell host concurrently using the timeslot API. I also have 2 Gazell peripherals transmitting all the time. Everything works just fine when I run Gazell on its own, but when I try to put it ... (more)

3
views
no
no

dfu python script crashes

Hi,

I am trying to test a UART bootloader with the hci_dfu_send_hex.py from SDK6.1.0

Unfortunately the script seems to crash, below is the output on the windows command line:

python hci_dfu_send_hex.py --help

File "hci_dfu_send_hex.py", line ...
(more)

3
views
no
no

.\_build\nrf51422_xxaa.axf: Error: L6200E: Symbol SWI1_IRQHandler multiply defined (by app_timer_ble_gzll.o and ble_radio_notification.o).


It seems like I can't use those libraries together ... (more)

8
views
no
no

How to read timer's current count

Hi,

I am using nRF51822 and implemented timer-2 with 2 sec capture/compare interrupt rate. But if I want to read timer's current count before it generates interrupt or from out of ISR, how to read this count?? from ... (more)

3
views
no
no

Hi,all.i want to set same macaddress with my app in bootloader,and advertise it in bootloader,that my phone can know the device is the updating device.Can do it as this?Thanks a lot!

16
views
no
no

Low power current measurement tool

I am wondering how to precisely measure my power consumption. Till now, I have been using INA216 on PCA10004 board + labView for acquisition, but it is not precise enough (I can't get measurements lower than about 35microAmps, when i ... (more)

195
views
3
3

Why is RTEComponents.h not updated correctly?

I have enabled a gpiote module, it does not set gpiote_enabled to 1. I have tried deleting the file in the RTE folder with no success. I have tried disabling and enabling that component. I have also tried deleting rte_components ... (more)

39
views
no
1

Disconnected from iPhone error code 0x2a without LMP collision [closed]

The nRF51822 softdevice is generating the following disconnection event:

11:20:09.363365 : BLE_GAP_EVT_DISCONNECTED c=x05dd
11:20:09.365011 :   reason = x002a
11:20:09.366442 : DM_EVT_DISCONNECTION
11:20:09.368329 :    - SUCCESS


The above event is generated by the softdevice ... (more)

22
views
no
no

power regulator for nRF52 series

Any recommendations of power ic to be used in an nRF52 based system? I am thinking of using DC-DC converter from LTC3553 . Is DCDC converters a good choice for powering nRF52 chip? http://cds.linear.com/docs/en/datashe...

21
views
no
no

Device manager issues a DM_EVT_SECURITY_SETUP_REFRESH event even though link is not encrypted

Hello, I am using SDK 7.2 with SD110 7.3.0 and I am having a security issue when an attacker is able to steal the BD address of a previously bonded device.

The security issue I am seeing ... (more)

46
views
no
1

use s130-0.5.0 after a device joining in a picnet as a slave, why can't it advertise?

use s130-0.5.0

use s130-1.0.0

A1 connect B1 with BLE_GAP_ADV_TYPE_ADV_DIRECT_IND, after this, A1 is slave, B1 is ...

(more)

70
views
no
1

Random PWM dutycycle inversion in SoftDevice 8.0

I am using the PWM library in this repository for a nRF51822. I write the following code to generate a ~ 30% dutycycle 500 kHz PWM output:

#define V_CLK  5

static void v_clock_start(void)
{
// Init PWM
nrf_pwm_config_t pwm_config = PWM_DEFAULT_CONFIG;
pwm_config.mode ...
(more)

32
views
1
vote
1

'ARM.CMSIS.4.2.0' is not installed

I would like to load the blinky example on the nRF52 preview development kit. When I try to build the project I will get this error:

Error #541: 'ARM::CMSIS:CORE:3.40.0' component is missing, pack 'ARM.CMSIS ... (more)

59
views
1
vote
2

Are BLE health related profiles continua compliant?

The Health Device Profile is continua compliant. Are BLE health related profiles like Heart rate profile, thermometer profile continua compliant as well? Do these profiles follow the IEEE 11073 standard? Some customers are asking whether certain medical devices are continua compliant.

26
views
1
vote
1

nrf51 iot sdk Windows 8

Hi, I don't have a Rasp Pi. Can I have a workaround to make a Windows 8 PC acting as a border router?

20
views
no
1

Process for properly measuring transmit power at 1 meter

Hello, I was wondering what the proper process is to set the measured RSSI values at 1 meter is. RSSI at 1 meter is a part of the iBeacon standard, and is also useful for non iBeacon applications. The RSSI ... (more)

15
views
no
no

Best structure for BLE application

I was working my way through the app note nAN-36, where it says you should have a seperate source and header file for each service. However in many of the newer SDK examples the service is included in the source ... (more)

16
views
no
no

where did the APP_BUTTON_INIT go in SDK 8.1.0?

Hi

I was using SDK7.2.0 up till now, and am migrating to SDK8.1.0. I notice that the APP_BUTTON_INIT macro has gone, and also that the app_button_init has 1 argument less. Where did that functionality go?

Also ... (more)

26
views
no
1

What's the best solution for body area network

I am PHD student in china and doing research about gait retraining. I am designing wearable sensor that monitoring gait and giving vibration feedback to retrain the gait and I want it wireless. But I am not familar with wireless ... (more)

Statistics

• Total users: 5338
• Latest user: zoe na
• Resolved questions: 3706
• Total questions: 7967

Recent blog posts

• nRF52832-QFN Eagle Part/Footprint

Posted 2015-06-25 00:56:48 by ble_Man
• IoT Contest MINI ECG

Posted 2015-06-25 11:15:29 by ALKAM
• Start Up Extreme Norway

Posted 2015-06-22 14:20:56 by John Leonard
• Debugging using QtCreator on Mac

Posted 2015-06-12 10:06:29 by wim
• Trying OpenWRT Chaos Calmer (15.05 RC1) on Raspberry Pi 2

Posted 2015-06-11 08:01:41 by Jun Qing ZOU

Recent questions

• Maximizing Gazelle Data Throughput

Posted 2015-07-01 22:56:56 by jcondon
• wireless mouse using an Interlink micro joystick

Posted 2015-07-01 22:49:15 by jive talkin
• SPI master disable recieve

Posted 2015-07-01 22:19:01 by nsnyder
• Optional SMA Footprint

Posted 2015-07-01 21:07:43 by chalecampb
• What can cause missed connection intervals.

Posted 2015-07-01 19:20:18 by TBone