# 674 questions

Tagged
• x
22
views
no
no

## SDK12.3. Secure Bootloader : UART and ld config

Hi all

I'm working on a custom board using gcc and eclipse.

My primary problem is I'm fighting with the ld settings for the secure bootloader. I activated the RTT which led to a slightly larger HEX debug ... (more)

43
views
4
1

## Use BLE without GAP/GATT

I'm currently writing my thesis, and my goal is to establish a network protocol like IP. We need to transmit about 200kB of data between 2 or more nodes once every 10-30 minutes.

My current approach is to use ... (more)

62
views
no
2

## Can nRF51422 or nRF51822 can be used as bluetooth device for Raspberry pi?

Can nRF51422 or nRF51822 can be used as bluetooth device for Raspberry pi?

As I can see on the terminal Linux, the hciconfig log says, raspberry pi 3's Bluetooth device is connected to board with UART Connection.

I'm ... (more)

52
views
no
2

## time synchronization across different nodes in a mesh network, single hop as well as multi hop.

I am working on time synchronizations between different nodes in a mesh network. I have earlier worked on the radio and the ppi examples given. I wish to generate time stamps at each send and receive events between two different ... (more)

17
views
no
1

## Unable to use Pstorage in my code

To @Hung Bui. Hello sir. I am new to NRF51 microcontrolers and I am trying to use Pstorage in my written code. I have noticed this post of your's:

I am using nrf51422 and and edited ble_app_uart example as ... (more)

50
views
no
2

## MSP430f169 SDK for nRF51422

I have a device the uses MSP430f169 and CC2500 RF controller for communication I need to replace the CC2500 RF controller with nRF51422 device. As I understand an nRF51422 SDK for MSP430 dows not exists. Can I get source of ... (more)

45
views
no
1

## How Can I limit Gatt Data bytes that I write? (Not With Zero-Fill)

I created an characteristic that has MAX_Length = 20 Bytes characteristic.

And When I'm trying to write less than 20bytes on this Characteristic, It Always send with 20Bytes with Zero filled data bytes.

For example, I'd like to write ... (more)

27
views
no
1

## How to enter directe test mode？

We use Nrf_studio to connect our board by uart to enter direct test mode. But an error occurs in serial connection.

I want to know， use our own project program is allowed ？ Or must program official dtm project can enter ... (more)

45
views
1
vote
1

## nRF51422 External Antenna Design

Issue: With my external antenna design, I get lower dbm than PCB antenna (nRF51DK) with same distance.

My external antenna design: -70dbm

nRF51DK: -40dbm

In this answer, you mentioned it's possible to use an external antenna for nRF51422.

I ... (more)

42
views
2
1

## In GATT Packet transfer, is there occurs any packet loss and retrial?

In GATT Packet transfer, is there occurs any packet loss and retrial?

I'm trying to connect about -90 Rssi dBm peripheral device with my nRF51-dk.

In this far range, does it may occur with packet loss in this far ... (more)

71
views
1
vote
1

We have done a custom PCB believing that we could use P0.0 as analog input. Now we kind of found out that we cannot, and will change the PCB design. Given that we already have some of them manufactured ... (more)

54
views
1
vote
1

## [nrf51-dk] Can I use both twi instances as well as an SPI instance?

I have a project where I need both TWI instances as well as an SPI instance to be used with sdcard and fatfs libraries. When I try to compile I get the error: SPI1_TWI1_IRQHandler if I have SPI1_ENABLED or SPI0_TWI0_IRQHandler ... (more)

80
views
no
1

## How to change the data type from integer to floating point so i can read floating ponit voltages on copper coap?

I have an iot/coap environment setup and i want to read input voltage connected to p0.01.I can read the input in terms of resolution(0-1023).I can convert this values to voltage(0-3).I want to read ... (more)

54
views
no
1

## Hardfault when using both UART and GPIOTE, how can I solve this problem?

Hello,

I feel like this question has an answer similar to this question, but I can't seem to get it working https://devzone.nordicsemi.com/questi...

I am using the nrf51422 chip on a board I designed myself and ... (more)

108
views
1
vote
2

## Is it physically possible to set UART RX and TX to same GPIO pin?

I'm trying to implement send && recieve through one wire. Handling of pin state, if it is input or output is done via SW. Also it is going to be half-duplex only.

Is it possible to do something like this ... (more)

22
views
1
vote
1

## Ant ACK retries

Hi Nordic,

I am now trying to use ANT acknowledged data type in reverse direction (from slave to master), and I have some questions:

• When sometimes, ack signal fails, internally, how many retries are configured? Can this number of retries ...

(more)

74
views
no
1

## A Dilemma about BSP_SIMPLE, How to Solve it? [closed]

Hi everybody:

Chip: nRF51422

Board: PCA10028

Firmware: S130_nRF51_2.0.1

My last post showed that if BSP_SIMPLE is defined, I can't use button event trigger function. Now I find that if BSP_SIMPLE is not defined, I can use button ... (more)

39
views
no
1

## bsp_button_is_pressed failed to detect the state [closed]

Chip: nRF51422

Board: PCA10028

Firmware: S130_nRF51_2.0.1

void timer_accel_update_handler(void * p_context){
bool p_state;
bsp_button_is_pressed(BUTTON_3, &p_state);
printf("%d",p_state);
if (p_state == true){
start_accel_update_flag = true;
}
}

static void on_ble_evt(ble_evt_t * p_ble_evt){
uint32_t err_code;

{
case BLE_GAP_EVT_CONNECTED:
err_code = bsp_indication_set ...
(more)

178
views
1
vote
2

## Broken NUS after iOS 10 upgrade

After upgrading to iOS 10, I have been unable to successfully interact with my device using the NUS. I used to use the NUS to communication with the device and retrieve stats. For example, I would send a "T" message ... (more)

112
views
2
2

## nRF51 MPU9255 TWI/I2C READ Failed [closed]

Hi all:

I used code from Github to read 9 axis data with TWI. But the example in TWI floder doesn't work.

Does somebody have the same issue?

Chip: nRF51422

Board: PCA10028

Firmware: S130_nRF51_2.0.1

I have checked ... (more)

219
views
2
1

## Can I get BLE Other Signal Indicator not just RSSI?

I'd like to collect other device's Signal information for more delicate communication.

For example, Some Peripheral device which is just next to Smartphone (which can interfere signal -> RSSI value changes capriciously) might be scanned by central, but it ... (more)

58
views
1
vote
1

## does UART is interrupted by BLE SEQUENCE?

Q0. What IRQ Priority does BLE Has? and also what IRQ Priority does UART can have?

I'm guessing that from s130's document P65, Exception Model, It says,
Softdevice Timing Critical has Cortex M0 priority 0,
Application Interrupt priority ...

(more)

47
views
no
1

## nRF51 MPU9255 SPI READ Failed [closed]

Hi all:

I wrote a code to directly read the register 0x43 (MPU_REG_GYRO_XOUT_H) But the GYRO data I got is wrong

Chip: nRF51422

Board: PCA10028

Firmware: S130_nRF51_2.0.1

nrf_drv_spi_config_t spi_config = NRF_DRV_SPI_DEFAULT_CONFIG(SPI_INSTANCE);
spi_config.ss_pin = 4;
spi_config.sck_pin = 1;
spi_config ...
(more)

60
views
1
vote
1

Hi

I'm fighting to read characteristics of my service with sd_ble_gattc_char_value_by_uuid_read. I'm using SD130 V2.0.1 and SDK11.

Here are some snippets from my central device. I register my custom 128bit UUID in the SD130 like so ... (more)

25
views
3
1

128
views
2
2

## I am trying to program nrf51422 with softdevice but it gives me this error. what should I do? Should I change this memory allocation?

(/attachment/a19553b9bc11b942e3ae7f600ceedda2)

27
views
no
1

## error: #20: identifier "NRF_SPIS0" is undefined

Hi,

After configuring the nRF51422 as a SPIS slave 0, we get the following error when trying to create the slave instance:

static const nrf_drv_spis_t spis = NRF_DRV_SPIS_INSTANCE(SPIS0_INSTANCE_INDEX); /**< SPI instance. */

......\m_SPI_MIDI.c(39): error: #20: identifier "NRF_SPIS0" is undefined static ... (more)

65
views
1
vote
2

## Lower power in sleep of GPIO as outputs?

Hi Nordic,

In my application, I want to consume as less power as I can. In the initialization I have this functions:

static void utils_setup(void)
{
APP_TIMER_INIT(APP_TIMER_PRESCALER, APP_TIMER_OP_QUEUE_SIZE, false);
}

static void softdevice_setup(void)
{
uint32_t err_code;

err_code = softdevice_ant_evt_handler_set(ant_evt_dispatch);
APP_ERROR_CHECK ...
(more)

35
views
1
vote
1

## ESB Peripheral Question

I have set up some code using the ESB example in SDK v12.2.0 I and am able to transmit and receive packets between two nrf51 dongles, with no issues. However, when I program a custom PCB that has ... (more)

40
views
1
vote
1

## ANT Slave events when master stops being present

Hi Nordic,

I am having problems knowing what exactly happens in the following situation:

I have a connection established between a master and a slave, and the master stops being present for whatever reason (channel is closed from master side ... (more)

#### Statistics

• Total users: 19675
• Latest user: Kenneth Lahey
• Resolved questions: 9408
• Total questions: 22333

## Recent blog posts

• ### The complete tutorial for developing and debugging nRF52 applications on a Mac

Posted 2017-05-11 04:13:06 by Mohammad Afaneh
• ### Bluetooth 5 2Mbps Demo with nRF52 Series and Samsung Galaxy S8

Posted 2017-05-09 14:20:22 by John Leonard
• ### Setting up Segger on a mac or pc and debug - step by step for humans

Posted 2017-05-05 14:03:35 by Lola

Posted 2017-04-11 11:49:17 by Radosław Koppel
• ### Taking a deeper dive into Bluetooth 5

Posted 2017-04-07 14:53:51 by John Leonard

## Recent questions

• ### nrfutil application version

Posted 2017-05-24 07:11:21 by goldwake
• ### spi master example code

Posted 2017-05-24 06:15:44 by pavanvulichi
• ### Pairing and Bonding Question

Posted 2017-05-24 05:48:46 by sara
• ### How to expand the flash memory address?

Posted 2017-05-24 04:51:42 by tovax
• ### code of protocol stack which part of the Protocol I can modify?

Posted 2017-05-24 04:37:17 by desongli