This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Alert notification on nrf51822

Hi,
I need help with alert notification service. I am working on alert notification example provided in the SDK 12.3.0 with S130. I tried this example on nrf51422 development board and it is working. After changing to RAM ORIGIN = 0x20002080, LENGTH = 0x1F80 and Stack Size to 512 in gcc_startup_nrf51.s file, I am able to make this example work on nrf51822 evaluation board (pca10001) as well. But when I program this code on a PTR5518A module which is also nrf51822, my module is advertising and when I try to connect it is getting disconnected. The error log on MCP is as follows.

"Connected to E3BA04DDFDBD
Lost connection to device. Reason: BTLE_CONN_FAILED_TO_BE_ESTABLISHED
SERVER: Received packet HciEvent: eventCode=0x0A - HciEvent: eventCode=0x0A
SERVER: Received Link Loss "

  1. Is this due to any power failure, I am using 10uf and 0.1uf capacitors across VCC and GND.
  2. Is there any other configuration I am missing to make it work on nrf51822 (PTR5518A).
  3. I see there is a log uart initialized, is this only for debug or is it being used for anything else while connecting. I am using P0.8 and P0.9 for RX and TX and is left open.
  4. Any suggestions for power consumption will be helpful.

Thanks in advance.

Related