570 questions

Tagged
• x
21
views
no
no

Usage of Nordic Semiconductors proprietary UART service for commercial products

As stated in the topic. We use BLE to simulate UART. As for now, we have defined our own UUIDs but there would be more straight forward to use the well defined and used one by Nordic. However, is it ... (more)

10
views
no
no

Implementing UART profile between NRF52832 (as central) and HM10 (as peripheral)

I am facing some issue, I am using HM10 ble module as peripheral and NRF52832 (Redbear NANO v2) as central device. I using SDK "nRF5_SDK_12.3.0_d7731ad" and example program "nRF5_SDK_12.3.0_d7731ad\nRF5_SDK_12.3.0_d7731ad\examples\ble_central\ble_app_uart_c". I ... (more)

40
views
1
vote
2

Serial communication with nRF52832

Hi!

I just bought a BLE Nano board featuring nRF52832 chip. I am using it with Arduino IDE, controlling some servos and motors onboard my autonomous device. I would like to communicate with it by bluetooth serial channel. Though all ... (more)

216
views
1
vote
no

APP_UART_COMMUNICATION_ERROR

Hello, I have problem when trying to use non default pins for uart.

This is what i got:

UART:WARNING:Function: nrf_drv_uart_init, error code: NRF_SUCCESS.
UART:INFO:Transfer rx_len: 1.
UART:INFO:Function: nrf_drv_uart_rx_for_uarte, error code: NRF_SUCCESS.
UART:INFO:Transfer ...
(more)

63
views
no
1

NRF52 Interfacing sensor with serial through UART

I have a sensor with serial protocol of 7 bits data, even parity, 2 stop bits. I wanted to use uart library to interface with this sensor. But I couldn't find the settings to change data bits, even/odd ... (more)

38
views
1
vote
1

Difficulty adding Nordic UART Service to App_Template

For longer than I'd like to admit, I've been trying to make an application on the NRF52832 that relays UART data to a phone. To date, I've:

• Gotten the BLE_APP_UART application working with the device, however that ...
(more)

85
views
no
1

NRF_LOG and UART not working simultaneously

Hi,

I am using experimental_ble_app_blinky example. In that NRF_LOG over UART was implemented. I Added some UART code for my use. But after flashing code was not working at all. Printf and NRF_LOG_INFO was not working simultaneously. Then i commented ... (more)

22
views
no
no

How to debug wrong rx length on successive calls to nrf_drv_uart_rx?

I am having trouble debugging code with several calls to nrf_drv_uart_rx.

The program is running the nrf SDK5 (12.1.0), Nordic's softdevice (s132_nrf52_4.0.2) and FreeRTOS (v8).

A nordic development kit is connected to an FTDI UART ... (more)

44
views
no
1

nRF8001 UART-over-BLE

I have seen at least one person here who has gotten Nordic's UART-over-BLE example app running on the nRF8001. How was that done? Where is it? This example app is not included in the 8001 developer kit. This is ... (more)

43
views
no
no

ISO 7816 using UART

I need to implement an ISO 7816 peripheral on my nRF52832. Preferably, I'd like to leverage the existing UART driver (maybe app_serial?) so that I don't have to bit-bang the entire thing. I found https://devzone.nordicsemi.com ... (more)

55
views
no
1

NRF52840 UART1 not working in SDK 14

I'm trying to run two UARTs out of my NRF52840. Do you have an example in which both SoftDevice UARTs are used? The Nordic Infocenter SDK 14.0.0 documentation lists one of the advantages of the new serial ... (more)

45
views
1
vote
1

loop in nrf_drv_uart_rx_for_uarte() after run uart_close()

Hi, now I'm using NRF52832 's UART with SD12 and it required to receive 40 bytes per 10ms.

In fact, it does not take 10ms to complete the reception.So my idea is to create a 10ms timer task ... (more)

32
views
no
1

NRF52 UART initialisation issue/crash due to low state on pin

Hi

First I wrote a post because the initialization was crashing, but now I found out it was because the RX line was low. How to initialize the uart if the RX line is low without modifying the hardware. Thing ... (more)

255
views
no
1

How to use 2 UARTS in nrf52840

I am having issues to use 2nd UART. When I run Keil in debug mode it shows me three UART registers. i) UART0 ii) UARTE0 iii) UARTE1

Is this UART0 and UARTE0 same thing?

define NRF_UARTE0_BASE 0x40002000UL ...

(more)

46
views
1
vote
1

Does APP_UART_FIFO_INIT overwrite the PIN_CNF register for the assigned tx_pin_no?

Each time we wake up our serial port we call APP_UART_FIFO_INIT because we want our buffers to be cleared when we wake the serial. Does this also overwrite the PIN_CNF register for the assigned tx_pin_no? I'd rather only configure ... (more)

90
views
1
vote
1

nRF52 app_uart_fifo not using hardware? Overflow errors.

Hi,

I posted recently about having used the app_uartdriver and having problems with an overflow breaking uart receive (https://devzone.nordicsemi.com/questi...)

I decided to try with app_uart_fifo and see if that was any better, but I'm ... (more)

49
views
no
1

Story and Official Code Test Passed

I am trying to integrate BLE into Smart-Lock and LoRa Terminal. So I build a custom board with off-the-thelf modules to evalute and integration. In both projects, nRF51822 may connect to a host micro ... (more)

1k
views
5
4

Wireless Printf using BLE UART

We are developing a custom ble service and profile however having printf makes our lives that much easier so we are trying to incorporate it purely for testing purposes.

The idea is to send debug messages to an Android device ... (more)

118
views
no
2

custom nRF52 UART communication

I am working on a nRF52328 present in the Taiyo Yuden EYSHJNZXZ module. I am using an FTDI module for UART communication. I followed the steps in the following tutorial: link text

80
views
no
1

Changing on_ble_evt interrupt priority

Working with: examples/ble_peripheral/ble_app_uart . I would like to change on_ble_evt priority level so that UART IRQ handler has lower priority then softdevice event dispatching routine.

So far I checked that there are following IRQ priority levels:

• UART = 6 (or ...
(more)

64
views
no
1

nrf51822 wired UART and USB to UART

Hi, I have some question about wiredUART and USB to UART

I'm using nrf51822+BLE400.

Is there any difference UART communication between using USB to UART

and wiring on the UART pins?

I'm using ble_app_uart(SDK 12).

I ... (more)

54
views
no
1

nRF52 UART locks up after OVERFLOW error

Hi!

I'm using an NRF52 with app_uart. As expected at 115200 baud rate, I occasionally get overflow errors which I can see in my event handler.

However, after these errors the UART no longer receives any characters and is ... (more)

28
views
no
no

Missing APP_UART_TX_EMPTY event

Hi!

I am working with an application were two nRF52832 shall communicate over UART in half-duplex 1-wire mode (similar to what is described here but I use different pins for Tx/Rx: https://devzone.nordicsemi.com/questi...). The FIFO version ... (more)

102
views
4
1

BLE_APP_UART Locks up with high datarate

I'm attempting to take a 115k baud stream of NMEA sentences from a GPS sensor, and outputting it to a phone based on the UART example. While I'm not sure if BLE is perfectly capable of handling it ... (more)

61
views
no
3

nrf52832 uart buffer size

hi, i have set the uart buffer size as 64. but when i am transmitting data,i found that the size might not enough(eg. there are 100 Bytes to send).how could i do except for expanding the size ... (more)

32
views
no
no

NRF52 piconet with Nordic UART Service Client

Hello, I have had luck in Keil making two NRF52 connect with NUS, central and peripheral. My goal is to have one central speak to multiple peripheral at same time via a piconet. The LED blink example works to talk ... (more)

20
views
no
1

Using the ble_app_uart example on the nRF52 PDK, I can easily send multiple packets per connection interval--if I send a long string using ble_nus_string_send(), the notification consists of multiple packets.

When I try to do the same on SDK 12 ... (more)

67
views
no
1

CLI UART + NUS

Hello,

I'm trying to make CLI working with UART and BLE (NUS) backend simultaneously. Starting point is CLI example from SDK 14. What should I enable in sdk_config.h and how shuould I intialize CLI with UART and NUS ... (more)

45
views
no
2

How to add NUS (Nordic UART Service) to a template ble peripheral project

Working on NRF5 SDK 13.1

72
views
no
no

nRF5 temperature example uart problem

I cannot get the output from the is the example the UART buffer gets filled but there is no output to the tty.

The interrupts seem to be set, but I don't see the interrupt routine so there is ... (more)

Statistics

• Total users: 24443
• Resolved questions: 10448
• Total questions: 25453

Recent blog posts

• 6 Things to Know about Bluetooth Beacons

Posted 2017-09-22 08:27:00 by Rose Martin
• Creating a Keil project for a Bluetooth Mesh example

Posted 2017-09-19 12:08:11 by Kristian Skordal
• Using millis() like in Arduino.

Posted 2017-09-18 11:58:04 by schef
• Flashing nRF5x firmware using any dumb terminal program via standard serial COM port

Posted 2017-09-18 03:53:40 by Nguyen Hoan Hoang
• How to Debug the nRF52 Interrupts — Useful Tips

Posted 2017-09-13 15:15:22 by Yaniv Nis

Recent questions

• Can I combine beacon code and HID keyboard code?

Posted 2017-09-22 23:35:41 by alikob
• how to enter "power down" mode in nrf52832

Posted 2017-09-22 21:21:04 by Ed