• How to route clock derived signal to GPIO on NRF52810?

    Is it possible to route a signal derived from internal clock to an IO pin? I am new to NRF micro controller. My experience has been with Cypress PSOC and in the IDE it was easy to create a clock derived from the main clock and route it to a pin. What…
  • Setting gpio ports as outputs and setting them to Vdd

    I am trying to configure two ports as outputs, setting them to Vdd and toggling them. The two ports in question are Po.06 and Po.07. Here is my code to configure these ports as outputs, set them, then toggle each periodically. #include "nrf_gpio.h…
  • Starting timer disables gpiote button

    Hi, I am developing a code in which, among other things, when a button is pressed, a led turns on. In the same button handler, a timer is started to turn the led off a bit later. It works perfectly well in the beginning, but after pushing the button…
  • Is it possible to control the gpios of nrf52(nrf52840) using thread protocol from a cloud or Web app(website) ?

    I want to set up a thread network in the house and control the devices nrf52 (bulb,fan,tv,read temperature) from anywhere in the world using the internet(web app,cloud)? if yes where do i start? Thanks in advance...
  • Is Level trigger interrupt is available in nrf52 ?

    Hi , I am working on application in which I am using GPIO pin to detect interrupt. GPIO pin normally has logic low level. When it becomes high level I have to generate an interrupt to serve one application. After doing specific task for which interrupt…
  • Do the GPIO pins on the nrf52840 float during sleep? Or are they high/low?

    Like it says in the title. I'm working on an embedded application where lifetime is pretty important, so I'm trying to get power consumption down as low as possible. I don't want current leaking through my GPIO pins if they're connected to some source…
  • nRF52832 P0.10 GPIO Voltage drop

    Hi all, I try to control IC by nRF52832. [My Application] ・Supply 2.5V to nRF52832 and IC. ・Connect P0.10 to IRQ(IC) [I did these setting] ・Define "CONFIG_NFCT_PINS_AS_GPIOS" ・P0.10 : INPUT, PULL DOWN But, the IC's IRQ signal voltage…
  • open drain output to GPIO input pin with pullup

    Hi I have a charger IC for a lithium ion battery on a custom board with an nRF52832. It's this one, from ST Micro, an STBC08: www.st.com/.../stbc08.html The charger IC has two outputs, one to indicate that it has power from the USB bus, and another…
  • Parallel time-stamps of GPIO edges with PPI? (timer capture)

    Hi, all! Is it really possible to timestamp 4 GPIO edges in parallel with the nRF52? It would need to be as fast as possible and some edges might be simultaneous so PPI seems to be the trick. The documentations ( PPI , GPIOTE , GPIO , TIMER …
  • GPIOTE interrupt not working with softdevice s130

    I am using the template example for S130(works fine). I tried adding a simple Pin interrupt on the code but it didn't call the pin interrupt handler everytime I press the button. I believe I'm using some part of the peripherals that are restricted in…
  • zephyr gpio interrupt not fireing

    I just tried the Button example on the nrf52-dk development board, and the interrupt for the defined button GPIO does not seem to * trigger Zephyr 1.8.0 ( fcb9144dc git) make BOARD=nrf52_pca10040 and the example under samples/basic/button…
  • nrf52 GPIO sink & source current

    Hi, I'm contemplating ways to drive a small RGB LED matrix with the nrf52832 in a really space-tight project. Ideally without any external components. I'ts maybe around 40 RGBs (5x8 grid, 120 individual LEDs to drive). Charlieplexing would be best…
  • Change Pin from Input to Output in runtime?

    Hi, i have nrf52 and sdk13.1. Is this possible. I get NRF_ERROR_INVALID_STATE .
  • Enable pins 9 and 10 as GPIO on NRF52

    Hi All, I am developing a ble applications and am unable to get pins 9 or 10 to work as gpio. I understand that this is because, by default they are used by the NFC. I have tried the following solutions: 1) defining the CONFIG_NFCT_PINS_AS_GPIOS…
  • Will GPIOTE Interrupt be generated when CPU is halted?

    When performing flash operations, i.e. via FDS or FSTORAGE, etc. - will GPIOTE events be captured and 'queued' until the CPU is no longer halted? Said another way: Can I assume that a GPIO transition that occurs while CPU is halted will set the…
  • NFC Usage as GPIO Pins

    Hi all, I am trying to configure the NFC Pins for usage in an SPI application. However they do not even work for a simple nrf_gpio_pin_set after configuring them with nrf_gpio_cfg_output . Every other Pin seems to work, though. After some reading…
  • ADC with internal pull up

    This is for the nRF51822. I have done some tests where I configure a pin as input with pull up enabled and then reconfigure the pin for an adc measurement with 1/3 prescaler with band gap reference. It looks like the pull up is enabled when the…
  • Minimum pulse length to detect low level with GPIO SENSE for nRF52

    Hi all What is the minimum required length of a LOW pulse to be detected by the nRF52832 via GPIO SENSE mechanism? I couldn't find it in the product specification. I want to wakeup the nRF with a LOW pulse on a GPIO from the System OFF mode. …
  • What happens to nRF51822 if GPIO is set to source less current than required?

    I have a board with some LEDs that are driven in the same way as with the nRF51 DK board (i.e. there is a resistor in series with the LED and you drive the pin low to turn the LED on). However, the series resistor has a lower value. The datasheet for…
  • How to send 1 byte via SPI from master to slave

    Hello everyone, I'm trying to run my nrf51 with ADS1298 using SPI. nrf51 is master and ADS1298 is slave. I configured SPI as const nrf_drv_spi_config_t spi_config = { .sck_pin = 25, .mosi_pin = 24, .miso_pin = 23, .ss_pin = 30, //.irq_pin…
  • I want to digital high a gpio pin on nrf51dk, when I receive the text say "ON" from my android smartphone.How can I accomplish that using the nrf ble app uart example.I am not sure where I can compare the incoming ble data

    Toggling a gpio pin upon receiving a particular string from ble uart app
  • Hardfault when using both UART and GPIOTE, how can I solve this problem?

    Hello, I feel like this question has an answer similar to this question, but I can't seem to get it working devzone.nordicsemi.com/.../ I am using the nrf51422 chip on a board I designed myself and I'm using a UART and GPIO interrupt. The UART interrupt…
  • Is it physically possible to set UART RX and TX to same GPIO pin?

    I'm trying to implement send && recieve through one wire. Handling of pin state, if it is input or output is done via SW. Also it is going to be half-duplex only. Is it possible to do something like this: NRF_UART0->PSELTXD=PIN_TX_RX; NRF_UART0…
  • GPIO act incorrectly when building with GCC

    Hi, I connected 74CH595 shift registers to nRF52DK board. When I built and upload my code with Keil everything works just fine, but if I compliled it with GCC and upload with nrfjprog, the 74CH595 cannot act properly. I need to combine the code with…
  • High Drive mode downsides (nRF52)

    Hi, I just had a quick question - currently I'm using standard drive mode for everything, however in one case I'm driving an IR transmitter that could really do with a little more current. What are the downsides of using high drive mode? I can imagine…
1 2 3 4 5