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…
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…
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…
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...
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…
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…
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…
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…
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 …
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…
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…
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…
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…
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…
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…
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…
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.
…
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…
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…
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…
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…
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…
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…