void in_pin_handler (nrf_drv_gpiote_pin_t pin, nrf_gpiote_polarity_t action)
{
nrf_drv_gpiote_out_toggle(PIN_OUT);
}
This function work with interupt event (push...
here I have a very strange problem. I m trying to send the data(1 byte) from slave to master,and I have to use the multilink demo because I will have 2 slave devices.
The...
I'd like to erase all the pages managed by FDS as part of a "Hard Reset" operation. fds.c has a hint of a "FRESH_INSTALL" directive (part of an enum defined in fds_internal_defs...
nrf51822
SDK v10
SD S110 v8
hello!
My pj is about ANCS+nus+hid mouse sevices.
If my borad had bonded with an iPhone,then download new hex from mdk ,and run.
...
Hello.
I would like to develop FW for the nRF52832, using Eclipse IDE + ARM GCC + Segger JLink OB.
I've seen on the segger webpage that the nRF52832 is a Cortex M4 processor...
When using app_timer through scheduler, a break and go will overflow the event queue if a timer is a repeat timer. The effect is that it's not possible to debug.
To work...
I need to be able to actively set the value being incremented in the Timer2 register on the nrf52 (what I believe would be it's main register). It seems that this might be...
Hi, and thanks for reading this.
I attached additional LED to nRF51822 p0.24
however I can not find how to handle it .
if I want to use this function
nrf_gpio_pin_set...
Hey.
Hope this was not asked before. At least I did not find it.
I'm trying the ble_app_hrs_c on s120. Got it to build with gcc (d'oh) and got the serial logging to...
I want to make a robot that can track the direction of the transmitter that is controlling it, for example to aim a camera at the transmitter. The robot vehicle will be controlled...
Hi!
I use nrf51-pwm-library ( github.com/.../) to control brightness of LED RGB light source and it works ok till I don't want to adjust brightness slowly (dimming function...
Hi!
Maybe I'm doing something wrong (very possible), but for example, when I want to store array of 3 uint8_t values I use:
uint8_t dataToStore[3];
dataToStore[0] ...
Device: nRF51822 Rev G0
SDK: v5.2.0
Code: raw.githubusercontent.com/.../twi_hw_master.c
Basically, the TWI driver which uses PPI channels (sd_ppi_*) works perfectly...
Hello,
I am using a nrf51422 development kit with softdevice S310 and I have a problem in whatever pin I choose as output when I use the bluetooth.
I run the example...
I tried code like
static void on_ble_evt(ble_evt_t * p_ble_evt)
{
....
case BLE_GAP_EVT_TIMEOUT:
if (p_ble_evt->evt.gap_evt.params.timeout.src == BLE_GAP_TIMEOUT_SRC_ADVERTISEMENT...
hello,
are there any completed sample code of using pwm0, 1?
just 2 or 3 word can working like following? or need other config?
pwmcon=xx;
pwmdc0=xx;
pwmdc1=xx;
also...
I am unable to compile this to fit into the allocated bootloader space.
Has anyone been able to compile this patched version of the signlebankdfu-ble
with nrf sdk v6 so...
I'm using API 2.1.3, and after several connections/disconnections with a peer device, I'm seeing the API never returning from a DiscoverPipes() call. It appears to be waiting...
Hi,
I'm using nrf51 BLE driver with usb dongle to create test application on PC which simulates
the peripheral.
My problem is I cannot add 128-bit UUID for custom service...
After some pstorage_update calls I start to get error 9. From nrf_error.h it is called NRF_ERROR_INVALID_LENGTH but from SDK doc it looks like pstorage_update does not have...