RSS
Sort by » date activity ▼ answers views votes

603 questions

Tagged
  • x
22
views
no
votes
no
answers
Last activity 2017-11-17 02:03:32 +0200 by abhipray

UART HW flow control bugs

I have an nrf52832 connected to a UART-USB driver with RTS/CTS. CLI manages the UART connection. Using SDK 14.0.

When HWFC is enabled, if a serial connection is NOT established immediately, the scheduler library overflows with tasks causing ... (more)

220
views
4
votes
2
answers
Last activity 2017-11-16 11:42:33 +0200 by BCI

Read data from nRF51 to MATLAB

Hi all, i'm continuing the exploration of the possibilities offered by BLE. I tried the example ble_app_uart on my nRF51 DK, sending for example the number "1" from my phone to the DK (in future i will send sensor ... (more)

49
views
1
vote
1
answer
Last activity 2017-11-14 10:48:06 +0200 by Hung Bui

Is there any example of using nRF51 UART for iOS similar to for android?

I am developing a solution that needs to use nRF51 UART to send streaming data and I found a great example for android at GitHub, however the application is multiplatform and I need an example of how to do in ... (more)

28
views
1
vote
1
answer
Last activity 2017-11-10 14:44:40 +0100 by endnode

How to use UART in the nRF51822 Bluetooth Smart Beacon Kit?

The nRF51822 Bluetooth Smart Beacon Kit has P0.09 and P0.11 connected to the programming connector P2 (Pin 3 and Pin 6). From the User Guide:

Programming Connector P2

Can I use them as UART through the J-LINK debugger (but I probably ... (more)

38
views
no
votes
no
answers
Last activity 2017-11-06 10:19:16 +0200 by NY

How to Low power consumption UART

Hello,

I want to enable UART only when data transfer is necessary.

I am using nrf 52832 and sdk 14.0.0. I am using "ble_app_uart".

I could not find the answer I wanted. Thank you in advanced.

37
views
no
votes
no
answers
Last activity 2017-11-03 10:20:06 +0200 by Mattias

Sleep between bytes on nRF52832 UART

Hi, I am a bit confused about power consumption when using app_uart_fifo. To save power I put MCU to sleep in between each sent and received byte by using __WFE and __SEV instructions. This helps but not as much as ... (more)

40
views
no
votes
no
answers
Last activity 2017-11-02 21:57:36 +0200 by SRose

Serial library event handler example

Hi,

Does anyone have a complete example of using an event handler to read UART data set up with the serial library? This post is the only incomplete example I can find. The example program sets _ev_handler to NULL in ... (more)

68
views
no
votes
no
answers
Last activity 2017-11-02 02:42:37 +0200 by Andy

How to optimize power consumption when UART run?

Hello Nordic, My development environment: SDK>> NRF51822_SDK10, SoftDevice>> S130 Example>> ble_app_uart

    I am looking forward to your reply!

    Thanks.

Best Regards.

90
views
4
votes
2
answers
Last activity 2017-10-31 16:23:58 +0200 by Jakub Rzeszutko

NRF CLI cannot handle long arguments

I am trying to pass a base64 encoded string as an argument to a CLI command over UART. It seems like the longest length command I can send is 258 bytes long. How can I pass in longer strings (1024 ... (more)

62
views
no
votes
2
answers
Last activity 2017-10-23 21:55:47 +0200 by endnode

Flash NRF52 by UART

Hi everyone,

I would like to create my board like this one :

https://www.adafruit.com/product/3406

https://learn.adafruit.com/assets/39913

I know that Adafruit changed the bootloader in them NRF52, so I would like to know ... (more)

63
views
1
vote
no
answers
Last activity 2017-10-23 16:25:25 +0200 by purgoufr

how to use Simple UART driver?

From the SDK8 s110 device, I want to send the string("hello") to the other device via the uart, and in the meantime I want the battery voltage to come through uart.

I defined ;

void uart_event_handle(app_uart_evt_t * p_event)
{
    static uint8_t ...
(more)

64
views
no
votes
1
answer
Last activity 2017-10-23 10:35:37 +0200 by endnode

I'd like to change Characteristic UUID, not based service UUID.

Hello

I have some problem that I want to change Characteristic UUID different from Service UUID. Like,

Service UUID : 11111111 - 1111 -1111 -1111 -111111111111

Charcteristic UUID : 11111111 - 1111 -1111 -1111 -111111115555

I already read other question about chage characteristic UUID ... (more)

596
views
no
votes
2
answers
Last activity 2017-10-22 05:06:21 +0200 by Giang

Multiperipheral UART Example

I am using 3 nrf52 DKs with S132 and SDK13 to try and implement a combination of the multilink and UART examples. I started with the ble_app_uart_c example and added the relevant code from the ble_app_multilink_central example to connect to ... (more)

40
views
no
votes
no
answers
Last activity 2017-10-21 19:46:33 +0200 by phanhust

close buffer FIFO Rx uart

i use ble_uart example nrf51 in sdk1 with ic kline interface with mortorbike NRF51 Tx,RX connect to TX,RX MC33290 and Kline of MC32290 connect to motorbike
( you can Google MC33290)

specially,byte that NRF transmit in Tx,will ... (more)

91
views
no
votes
1
answer
Last activity 2017-10-19 14:06:22 +0200 by mantap

how to get data ADXL345 using nRF51822 via arduino IDE and mbed compiler

I've already tried before using ADXL345 using nRF51822 using mbed compiler this is the link.. https://os.mbed.com/users/asyrofi/cod...

but that program can't get ADXL345 data, just UART nRF51. I've tried using nrf51822 too ... (more)

42
views
no
votes
no
answers
Last activity 2017-10-19 06:40:51 +0200 by phanhust

disable uart RX FIFO

i have project with nRf51822 and uart. i use uart fifo in Uart_app_ble example sdk11. now i need disable or enable Rx, TX.i tried this function :

NRF_UART0->TASKS_STARTRX = 1; NRF_UART0->TASKS_STARTTX = 1; and NRF_UART0->TASKS_STOPRX = 1; NRF_UART0->TASKS_STOPTX = 1 ... (more)

33
views
no
votes
no
answers
Last activity 2017-10-18 18:06:46 +0200 by phanhust

uart_rx disable

i use nrf51822 and uart project i need disable only RX when tranmitsion and reuseable when tranmistion complete. i tried //NRF_UART0->ENABLE = UART_ENABLE_ENABLE_Disabled << UART_ENABLE_ENABLE_Pos;

but it turn off both Tx and Rx

and i tried
//NRF_UART0->TASKS_STOPRX = 1; to disalbe ...
(more)

107
views
no
votes
no
answers
Last activity 2017-10-17 15:18:18 +0200 by ASHISH

how to write a functions(program) for transmitting and receiving data over uart using nrf 51822?

Hi, there i am using nrf51822 to communicate with quectel ec25 .i want to send AT commands over uart and receive some response from quectel.for eg. i am sending a "AT" command i should get "ok" response in return ... (more)

49
views
no
votes
no
answers
Last activity 2017-10-16 09:19:43 +0200 by Jørn flag of Norway

can not disable Rx or TX

i need to disable RX when data was transmit and enable RX again when data transmit complete. i tried :

NRF_UART0->TASKS_STOPRX = 1;
NRF_UART0->TASKS_STARTRX=1;
NRF_UART0->TASKS_STOPTX=1;  
NRF_UART0->TASKS_STARTX=1;

( i use SDK11 pca10028) but nothing happend,i still ... (more)

104
views
3
votes
1
answer
Last activity 2017-10-13 02:59:38 +0200 by MANGO

Hello,Can anyone help me out by giving me complete details of this?

i would like to print register values of an external sensor on my screen using UART! I'm reading and writing into those registers using SPI! Printing a normal message using NRF_LOG_INFO function is fine, but how do i print ... (more)

47
views
no
votes
1
answer
Last activity 2017-10-12 15:44:38 +0200 by Sigurd flag of Norway

uart recive byte comming uart RX

i'm new in BLE, now i have project with nrf51822 and sdk 11.0. in chip arm like STM, MPS or PIC, avr. when byte come, we have a flag set 1 to notice that there is one byte ... (more)

41
views
no
votes
1
answer
Last activity 2017-10-12 10:09:24 +0200 by Jørgen Holmefjord flag of Norway

Hey folks! I have a problem here! I'm using "app_uart.h" but it throws an error saying no such file or directory

Makefile(/attachment/ca6852bdad7b5e54aaa4ce4388c4c410)Please find my code attached!!!

I have changed the makefile and the SDK config file accordingly! but the error remains constant!

61
views
1
vote
2
answers
Last activity 2017-10-11 14:35:05 +0200 by Martin Børs-Lind flag of Norway

Using S140 with nRF52840, UART example question

Hello, I have a problem.

For example, I am using UART, and I had trouble printing everything when I used "app_uart_put ()" continuously.

My source is simple.

int main (void)
{
   uart_init ();

   ...(syncopation)

   for (cnt = 0 ;; cnt ++)
   {
     app_uart_put ('A');
     app_uart_put (cnt);
     nrf_delay_ms ...
(more)

117
views
no
votes
1
answer
Last activity 2017-10-11 08:10:29 +0200 by martin.richter.supervag

UART not sending data to FTDI USB

I can't get my PCA10040 board to send serial data when connected to a FTDI USB dongle. When the FTDI dongle is disconnected, and I connect my logic analyzer to the tx and gnd pins assigned on to the ... (more)

55
views
no
votes
no
answers
Last activity 2017-10-10 13:08:06 +0200 by Martin Børs-Lind flag of Norway

UART CLOSED AND OPEN (nrf52832 with sdk12.1.0)

we need to open uart 30s and close it 30s.there is our code:

if(sec_cnt==30)
{
    //printf("sec_cnt=30 is now\r\n");//zzq
    nrf_delay_ms(100);
    nrf_drv_uart_uninit(&m_dtm_uart_driver);
}

if(sec_cnt==60)
{
    sec_cnt=0;
    uart_init();
}

but when the sec_cnt==30 ... (more)

50
views
no
votes
1
answer
Last activity 2017-10-06 08:40:27 +0200 by Anton

UART parity error and reading the byte

Hello,

Is it possible to read the received byte if the parity error occurs? Because I want to receive 9-bit data on UART and get the 9-th bit based of error?

72
views
no
votes
2
answers
Last activity 2017-10-04 14:55:00 +0200 by caram5555

NRF52 reboots constantly when I add UART

I am using the ble_app_uart example from SDK13 and something strange is happening. The code without UART part works nice and I can see in RTT that it can discover every beacon in the room and it seems it works ... (more)

34
views
no
votes
1
answer
Last activity 2017-10-03 11:34:59 +0200 by Jørn flag of Norway

nRF Radio default values on the uart example

Hi all,

I wanted to know the default values for the different NRF Radio paramateres in the ble_uart example.

I want to make some tests but not sure what is set as default on the FREQUENCY, TXPOWER and MODE of the NRF_RADIO_Type.

77
views
no
votes
2
answers
Last activity 2017-10-02 20:26:33 +0200 by wael

UART hits communication error [closed]

[nRF52840 + SDK13]

On the hardware that I have, the UART driver is hitting a communication error because the RX line is low. This only happens when the UART lines are disconnected from my computer. When there is a connection, everything ... (more)

543
views
1
vote
3
answers
Last activity 2017-09-28 17:27:54 +0200 by yclai

UART example not working

Hi

I have development kit nrf51 PCA 10028 and try to run uart example example with loopback (RX connected to TX, RTS connected to CTS). Unfortunately, after sending, I don't get anything from uart. Has anyone any idea why ... (more)

Statistics

  • Total users: 25341
  • Latest user: Felipe Nickel
  • Resolved questions: 10980
  • Unanswered questions: 3691
  • Total questions: 27082