First time here? Check out the Tour!
My environment is: SDK14.1 + SD132 V5.0 + NRF52832
2 sensors(MPU9250 + LPS22HB) 1 battery gas meter (LTC2942) are mounted on TWI ( +1mA)
SPI to spi flash. (+1mA) and UART for shell. (+1mA)
I used both manager. After putting all ... (more)
I'm using the SPI driver and experiencing a hang in the SPI driver because the SPI interrupt is not raised. The reason is in this code from the driver:
p_cb->bytes_transferred = 0; nrf_spi_int_disable(p_spi, NRF_SPI_INT_READY_MASK); nrf_spi_event_clear(p_spi, NRF_SPI_EVENT_READY); // Start ...
I am using nRF SDK 12.2.0 , with nRF52832 on pca10040 hardware, and working with the example in examples/peripheral/spi/main.c to develop a driver for LIS2DE12. When I write a hexadecimal value I find a ... (more)
I am writing drivers for external ADC and I need to write my own SPIM driver using
hal of NRF52 SPIM. However, after trying for a day I am not able to see my waveform in my Oscilloscope.
#define SPI_MODULE ...
I am trying to control a current measurement chip (DDC114) that works with a protocol that is close (enough) to SPI. It has 2 channels, s.t. it can be read out and integrating at the same time. The switch ... (more)
Well, I have question for this SPI connection problem. anyway,I have nRF51822 core board using adxl345 with SPI connection. that connect SDA to P5, SDO to P6, SCL to P7, CS to P8. this program works fine till connect ... (more)
We are using a nrf52832 in a serialized application with a STM32F4 and standard SPI as the transport layer. We are using the SDK V12 on the STM32 and softdevice S132 on the nordic.
We would like to add ... (more)
I'm using the LSM6DS3 IMU using SPI. I am able to read the WHO_AM_I register and retrieve the correct data with this code based on the spi example from the SDKv14.2.0 :
static uint8_t m_tx_buf; /**< TX ...
We currently have a SPI interface between MSP and the Nordic nRF52840. In the DTM documentation it indicates UART is used to command the tests. Is it possible to do this using SPI?j
Hi, Dear Nordic experts:
I encountered with a couple of queer issue while configuring SPI port on nRF52832 with PCA10040 demo board. Here I wrap up as below:
1) First, I tried to enable both TWI0 (master) and SPI0 based ... (more)
Forgive me if this is a stupid question, but I am new to programming microcontrollers other than Arduino and SPI in general.
I have a DAC that has a 16-bit register and I need to write to it using SPI ... (more)
Question regarding using the SPI master peripheral with DMA to communicate from the nRF52832 to the ads1296 device .
In order to use this device in the mode and sampling rate I need, with the number of channels, I have ... (more)
We are using nRF52840 as SPI slave and imx7 as SPI master.
Data sent by imx7(master) is received at nRF52840(slave) correctly, however the data sent by slave is not received at master (MISO) correctly. Two bytes of data ... (more)
I'm trying to set up SPI example from SDK12.3, but I get error at line 53 of main.c
static const nrf_drv_spi_t spi = NRF_DRV_SPI_INSTANCE(SPI_INSTANCE);
Symbol "NRF_SPI0" could not be resolved
Symbol "SPI0_TWI0_IRQn" could not ... (more)
I am working with SPI and SPIS examples ( sdk version 13). SPI of nrf52 is full duplex. In the example, I can send data from Master board to Slave board then Master board will receive response data from Slave board ... (more)
Hi, We are currently migrating our codebase from SDK 13 to SDK 14 for NRF52832 based board. One major difference we see is that SPI transfer completion callbacks are not invoked when transaction is started from within BLE context; based ... (more)
Hi to everyone!
I'm trying to use the nRF52832 board as master to use an external device (as slave) through SPI. I take the example peripheral/SPI to start to learn how to work with this. In the example ... (more)
After reading few posts about spi slave/master issues... I'm also challenging with one of them. I have following setup nrf51822, s130 2.0.1 and sdk 12.3.0… nrf51 (spi slave) is communicating with arm cortex ... (more)
I am using nRF52 with ADS1292, and i am trying to sample at 8kHz with data throughput of 72kB/s, but some data is being randomly shifted giving me random spikes. This occurs on all available clock speeds to ... (more)
Just curious to know if anyone else had this issue and how they solved it.
My colleagues and I are working on code based on the Nordic Uart Service, in SDK13.1.0 with SD132v4.0.2 on an ... (more)
I have a strange bug, that I do not have any good answer for.
In the software, I use either SPI1 or SPIS depending on current configuration, I have seen some rare cases where I see unexplained 0 values on ... (more)
I am trying to interface external flash with the nrf52. I am able to read the device id. After writing to the status - configuration - bank address registers, I am able to read the register values.
But when I am ... (more)
I am using nRF52 based NINA-112b EVK I saw the spi master example to send the data to slave. Do you have any idea what to do if I want to receive the data from the slave. and how to ... (more)
I am working on BLE+SD card Library, s132. Although i am getting certain errors which i am unable to counter.:-
*** Using Compiler 'V5.06 update 4 (build 422)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Build target 'nrf52832_xxaa ...
I got my developer kit and have been playing around with BLE. But I got my mind set on a solution with several nodes as sensors, and one "base" node connected with an API making http calls over ethernet.
I ... (more)
Hi, I am using NRF51822 and sdk12.2. I am using Softdevice s130 with peripheral experiment_ble_blinky example. I have merge UART example in this and it is working fine.
Yesterday i flashed and it was working perfectly. Even i connected ... (more)
So I switched from Bluemod+S (nRF51822) to Bluemod+S42 (nRF52832) on my custom board and am trying to adapt my existing code to work on the newer model. Apart from various obvious and some not so obvious changes I ... (more)
I've been using the nRF52832 chip for over a year and it works great. However, for a new project I designed a board so that the nRF52 chip was the slave on a SPI bus, and I immediately ran ... (more)
I would like to detect a change in a pin(
GPIO_IN_NUMBER) and depending on it I would like to trigger a SPI transaction, this should happen through PPI.
So far I have configured my PPI in this way, is ... (more)
I am writing code for nrf51822 with softdevice and an accelerometer is connected to the nrf chip. The accelerometer provides interrupt to nrf chip over GPIOTE whenever there is data available to read. Upon receiving the GPIOTE interrupt, I am ... (more)