RSS
Sort by » date activity ▼ answers views votes

452 questions

Tagged
  • x
22
views
no
votes
1
answer
Last activity 2017-03-23 10:36:17 +0100 by Kristin flag of Norway

UART not working in nRF52832 as an observer role only.

I am using a nRF52832 which act as an observer role only and what is observe it send observed data to another device over UART.

When i turn off scanning and just run UART it works properly but when scanning ... (more)

40
views
no
votes
1
answer
Last activity 2017-03-22 17:07:06 +0100 by Luccas

Using secure dfu without LOG (in release)

Hello,

I'm facing some problems when trying to migrate from secure dfu debug to release mode.

I set the nrf_log to use uart instead of rtt in both debug and release versions, when using debug, all process went ok ... (more)

82
views
no
votes
2
answers
Last activity 2017-03-22 13:07:10 +0100 by H4NNE5

nrf52 DK: UART problems

Hello,

I integrated the relevant code from the "uart" example into the "ble_app_uart" example(this is all the code in the main routine):

uint8_t cr;        
uart_init();
    printf("\r\nUART Start!\r\n");

  while (true){

    while (app_uart_get(&cr) != NRF_SUCCESS);
    while (app_uart_put ...
(more)

695
views
1
vote
2
answers
Last activity 2017-03-22 08:12:32 +0100 by mahesh

Problem using UART and radio in ESB mode on nRF24LE01.

Hi

for few days I seem to got stack in using together UART and radio on nRF21LE01 in ESB mode and I suspect irq_flags = hal_nrf_get_clear_irq_flags(); to be cause of my problem.

What I want to achieve is to communicate to ... (more)

35
views
1
vote
1
answer
Last activity 2017-03-21 14:16:23 +0100 by Hung Bui

How to use ble_app_uart_c for custom UUID service?

Hello!

We're using the SDK 12.1 ble_app_uart_c as an example for a nRF52 DK as Central application. Instead of using ble_app_uart example for peripheral device, we created a new custom service based on ble_app_template example for our peripheral ... (more)

68
views
1
vote
2
answers
Last activity 2017-03-21 13:55:29 +0100 by Kenneth

UART peripheral of nRF52832 not disabled in System OFF mode?

Hi all

According to chapter 50.2 of the nRF52832 product specification V1.2, the pins used for the UART peripheral should be configured before in the GPIO peripheral to ensure correct behavior when the System OFF mode is entered ... (more)

41
views
no
votes
1
answer
Last activity 2017-03-21 06:37:11 +0100 by copperface

ADC does not work when I disable UART

Here is my question.

I always disable uart after I send data.

NRF_UART0->TASKS_STOPTX = 1;
NRF_UART0->ENABLE = UART_ENABLE_ENABLE_Disabled;

this was write in the function of:

uart_event_handler

and in the case of APP_UART_TX_EMPTY evt->type.

Before I send data, I always ... (more)

30
views
1
vote
1
answer
Last activity 2017-03-20 18:02:03 +0100 by f.salvatore

nRF UART driver initialization

Hello, i'm trying to use nRF UART driver (nrf_drv_uart) to implement a high level UART manager. I followed indications on SDK documentation but it doesn't work and i think that is a problem of initialization.

Configuration: nRF52832 - SDK ... (more)

43
views
no
votes
1
answer
Last activity 2017-03-17 10:42:27 +0100 by Wojtek flag of Poland

How Can I Create Bluetooth Serial Port?

I connected a Classic Bluetooth Device on my PC through by Bluetooth.

1-)I saw this message:

image description That means "Bluetooth Services Configuring"

2-)I saw this in device manager:

image description

But, When I connected nRF52832 on my PC through by Bluetooth ... (more)

6
views
no
votes
1
answer
Last activity 2017-03-16 10:03:54 +0100 by dchaudet

No error information UART nrf52 sdk12.1 [closed]

Hi, I'm using the UART to talk to a radio module with sdk 12.1 on nrf52.

I'm seeing frequent UART errors, where the event handler is called with event type APP_UART_COMMUNICATION_ERROR. Debugging in the UART0_IRQHandler() with this ... (more)

25
views
1
vote
1
answer
Last activity 2017-03-15 18:23:11 +0100 by awneil

UART/Serial Port Emulation over BLE maximum baudrate

Hi,

I just found the following example: https://infocenter.nordicsemi.com/ind...

There the baudrate 115200 is set by default. If I calculate the bit rate (8 data bits one stop bit) I get 12.8 kbit/s. With the ... (more)

33
views
no
votes
1
answer
Last activity 2017-03-15 10:55:24 +0100 by Kristin flag of Norway

Adding UART breaks code's functionality

Hi, I'm learning to use the nrf52832 (PCA10040). I'm on SDK12.2.0 S132.

I've done those basic tutorials while merging codes from the examples. My code can currently read the die temperature and broadcast it via ... (more)

37
views
1
vote
1
answer
Last activity 2017-03-15 08:29:38 +0100 by tcchuin

nRF52 app_uart_fifo stops working after an overflow

I am trying to use UART with interrupts and fifo, by using nRF52 SDK 12.2.0 example. It works until the first overflow, after which I cannot any more receive characacters. The related code from SDK is:

    case NRF_DRV_UART_EVT_RX_DONE ...
(more)

40
views
3
votes
1
answer
Last activity 2017-03-14 13:46:32 +0100 by Wojtek flag of Poland

Is it possible to have a second UART on nrF52?

Hello,

I would be interested on knowing whether I may have a secondary UART on the nrF52 chip or not. I would like to communicate my nRF52 with a RN2483 and this is done through UART, however I see that ... (more)

561
views
3
votes
3
answers
Last activity 2017-03-13 07:52:07 +0100 by dc

Download firmware over BLE for another MCU

Hi,

I've a custom board which has NRF51822 SOC and STM32 SOC. These two are connected over UART. In past I've successfully performed DFU OTA (BLE) for nrf51822 MCU, and now I'd like to use the nrf51 ... (more)

30
views
1
vote
1
answer
Last activity 2017-03-12 06:45:53 +0100 by phob

Not able to connect nrf52 dk board with mobile app

Hi, I flashed softdevice and ble_app_UART_c code. But after searching bt device, i could not find bt nrf52 device in mobile. Do i need to something more..

32
views
no
votes
no
answers
Last activity 2017-03-10 12:35:17 +0100 by raju

nrfLogger: Reducing overhead in log files

We are currently trying to log our sensor data to a mobile phone through uart using nrfLogger app. We have nrf51 module and we are using SDK 12.

In nrfconnect, we select the APP logging, however for every data sample ... (more)

32
views
no
votes
no
answers
Last activity 2017-03-10 01:43:09 +0100 by chchoi

In nRF52832, GATT, unknown service is not executed except GAP in basic service program (GAP, GATT, unKnown service - uart)

BLE UART This is a problem that I have discovered while checking

the cause of the connection frequently due to communication error.

It is normal... In the nRF52832, three services are basically

executed such as GAP Peripheral, GATT Server and ... (more)

50
views
1
vote
1
answer
Last activity 2017-03-08 11:18:37 +0100 by manymany flag of Switzerland

Controlling GPIO via UART on BLE

Hello

I am looking to make a program on nrf52 in which i send various values from nrf UART app on a mobile, and each value controls a LED on a GPIO. For example, sending 1 turns on the LED ... (more)

24
views
no
votes
1
answer
Last activity 2017-03-07 21:25:17 +0100 by Tarik

connect nrf51822 board with NUS profile to windows 7 (serial)

Hi,

I have a running board with NUS service (serial profile). This boards starts advertising until a remote device (android nrf UART app) connects to it. then it starts sending some data to the remote device.

My goal now, is ... (more)

32
views
no
votes
1
answer
Last activity 2017-03-07 15:12:57 +0100 by Kristin flag of Norway

Uart sending process was interrupted

void uart_init(void){
uint32_t err_code;

const app_uart_comm_params_t comm_params =
  {
    .rx_pin_no    = RX_PIN_NUMBER,
    .tx_pin_no    = TX_PIN_NUMBER,
    .rts_pin_no   = RTS_PIN_NUMBER,
    .cts_pin_no   = CTS_PIN_NUMBER,
    .flow_control = APP_UART_FLOW_CONTROL_DISABLED,
    .use_parity   = false,
    .baud_rate    = UART_BAUDRATE_BAUDRATE_Baud9600
  };

APP_UART_FIFO_INIT(&comm_params,
                    UART_BUF_SIZE,
                    UART_BUF_SIZE,
                    uart_event_handler,
                    APP_IRQ_PRIORITY_LOW,
                    err_code);


APP_ERROR_CHECK(err_code);}

This is my uart initial function. When I send ... (more)

52
views
2
votes
1
answer
Last activity 2017-02-28 16:38:30 +0100 by John DeWitt flag of United States

nRF52832 UART to UART bridge

Hi Team,

I need to make an application that we receive a data from a chip through UART and need to send the data to Console through another UART. Is it possible to make in this chipset? I could see ... (more)

43
views
no
votes
1
answer
Last activity 2017-02-22 14:44:40 +0100 by Hung Bui

UART bootloader for nRF52840

Is there a UART bootloader available for nRF52840? Doesn't have to be secure. Already searched in SDK 12.2 and 13 alpha, with no success.

Thanks for your help!

50
views
1
vote
1
answer
Last activity 2017-02-17 16:28:40 +0100 by Jørgen Holmefjord flag of Norway

Concurrent Central/Peripheral UART

Hi,

I'am actually trying to develop a BLE based remote, with NRF52832, S132.

This remote must be configured by a smartphone (the remote act as peripheral) and be able to control one equipement (and act as Central).

As i ... (more)

42
views
no
votes
no
answers
Last activity 2017-02-16 15:50:33 +0100 by Jarmo

APP_UART_FIFO_INIT crashes

I am trying to set up fifo'ed uart. However, APP_UART_FIFO_INIT crashes with an error value 8. I traked back the reason into this nrf driver code fragment:

ret_code_t nrf_drv_uart_init(const nrf_drv_uart_t * p_instance, nrf_drv_uart_config_t const * p_config,
                             nrf_uart_event_handler_t event_handler)
{
    ASSERT(p_config ...
(more)

64
views
no
votes
no
answers
Last activity 2017-02-10 13:57:24 +0100 by Thomas

What might cause HardFault on sd_nvic_critical_region_enter

I have an nrf51822AC chip connected to another ARM based processor which provides a CAN interface. The two are connected via the UART and we are using the ble_connectivity software in connection with the S120 softdevice on the nrf51.

So ... (more)

44
views
2
votes
2
answers
Last activity 2017-02-04 14:17:44 +0100 by ninoq

ble_app_uart problem SDK12.2.0

Using nRF52DK and working through the getting started tutorial I could not get the ble_app_uart example in SDK 12.2.0 to work. It compiles without errors or warnings and appears to download without incident. However LED 1 does not ... (more)

44
views
no
votes
1
answer
Last activity 2017-02-03 14:24:33 +0100 by Kristin flag of Norway

NRF51DK disable transmission

I am using the ble_app_uart on the nrf51dk.RX is always enabled.I want to enable TX when data is to be transmitted and then disable it again.

I am using

NRF_UART0->TASKS_STOPTX = 1;

to disable transmission.

But when i ... (more)

46
views
no
votes
no
answers
Last activity 2017-02-02 09:12:31 +0100 by User1321

UART transmission Suspended

I am using the nrf52832 with its Development kit to transmit trough UART to the PC a frame with 20 bytes, I have configured the port to 1MBoudRate. I have enable the flow Control.

For the UART configuration I am ... (more)

54
views
no
votes
2
answers
Last activity 2017-01-30 15:20:44 +0100 by Alexander Schrab

nRF52 SDK 12.2 UART w/o flow control fails (works on 12.1)

I try to start uart like this:

  uartParams.baud_rate = UART_BAUDRATE_BAUDRATE_Baud115200;
  uartParams.tx_pin_no = tx;
  uartParams.rx_pin_no = rx;
  uartParams.use_parity = false;
  uartParams.flow_control = APP_UART_FLOW_CONTROL_DISABLED;

  uartBuffers.rx_buf = rxBuffer;
  uartBuffers.rx_buf_size = sizeof(rxBuffer);
  uartBuffers.tx_buf = txBuffer;
  uartBuffers.tx_buf_size = sizeof(txBuffer);

  auto error = app_uart_init(&uartParams ...
(more)

Statistics

  • Total users: 17051
  • Latest user: Jaxon Clement
  • Resolved questions: 8868
  • Unanswered questions: 2386
  • Total questions: 20786

User menu

    or sign up

Recent questions