RSS
Sort by » date activity ▼ answers views votes

674 questions

Tagged
  • x
22
views
no
votes
no
answers
Last activity 2017-05-23 16:25:06 +0200 by Martin Peters

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
votes
1
answer
Last activity 2017-05-23 16:04:20 +0200 by hberg

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
votes
2
answers
Last activity 2017-05-19 13:46:34 +0200 by Wojtek flag of Poland

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
votes
2
answers
Last activity 2017-05-19 11:49:31 +0200 by khosla

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
votes
1
answer
Last activity 2017-05-17 09:55:55 +0200 by chocol8

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: image description

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

50
views
no
votes
2
answers
Last activity 2017-05-14 11:30:36 +0200 by ofer

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
votes
1
answer
Last activity 2017-05-07 06:29:49 +0200 by RK flag of Singapore

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
votes
1
answer
Last activity 2017-05-05 08:19:19 +0200 by Kristin flag of Norway

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
answer
Last activity 2017-05-03 10:34:41 +0200 by Jørn flag of Norway

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
votes
1
answer
Last activity 2017-05-03 05:22:32 +0200 by RK flag of Singapore

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
answer
Last activity 2017-04-28 10:52:20 +0200 by Jørgen Holmefjord flag of Norway

ADC AIN0 -> P0.0?

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
answer
Last activity 2017-04-27 13:34:18 +0200 by Sigurd flag of Norway

[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
votes
1
answer
Last activity 2017-04-26 12:27:10 +0200 by Jørgen Holmefjord flag of Norway

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
votes
1
answer
Last activity 2017-04-25 12:29:00 +0200 by Jordi

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
answers
Last activity 2017-04-20 17:23:25 +0200 by Stian flag of Norway

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
answer
Last activity 2017-04-18 14:07:16 +0200 by Petter Myhre flag of Norway

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
votes
1
answer
Last activity 2017-04-14 16:32:09 +0200 by makerTim

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
votes
1
answer
Last activity 2017-04-13 17:13:48 +0200 by makerTim

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;

switch (p_ble_evt->header.evt_id)
        {
    case BLE_GAP_EVT_CONNECTED:
        err_code = bsp_indication_set ...
(more)

178
views
1
vote
2
answers
Last activity 2017-04-12 14:16:57 +0200 by Mostafa Berg

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
votes
2
answers
Last activity 2017-04-11 18:19:48 +0200 by makerTim

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
votes
1
answer
Last activity 2017-04-08 12:37:25 +0200 by endnode

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
answer
Last activity 2017-04-05 05:32:59 +0200 by Daniel T. Lee

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
votes
1
answer
Last activity 2017-04-03 17:41:16 +0200 by makerTim

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
answer
Last activity 2017-03-30 16:12:28 +0200 by Hung Bui

sd_ble_gattc_char_value_by_uuid_read - again [closed]

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)

128
views
2
votes
2
answers
Last activity 2017-03-28 20:21:43 +0200 by mert

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

image description(/attachment/a19553b9bc11b942e3ae7f600ceedda2)

image description

image description

27
views
no
votes
1
answer
Last activity 2017-03-27 15:47:07 +0200 by Sigurd flag of Norway

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
answers
Last activity 2017-03-27 09:16:31 +0200 by angel

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
answer
Last activity 2017-03-20 16:07:53 +0200 by Tgage

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
answer
Last activity 2017-03-20 11:31:16 +0200 by Turbo J

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
  • Unanswered questions: 2666
  • Total questions: 22333

User menu

    or sign up

Recent questions

Tags

Show all tags