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'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 ...
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)
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)
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)
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)
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 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)
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 trying to use ArrayList for EasyDMA along with PPI but I am not sure whether or not I am configuring it properly to be used with the SPI interface.
So far I have set it up as ... (more)
I would like to make use of an external ADC that is connected to my nRF52832 through SPI & easyDMA,minimizing the use of the CPU (or without using the CPU).
The sampling frequency, when nRF52832 will request a sample ... (more)
Hi, I have the D52QD2M4IA-A chip (from dynastream) that has inside nrf52832 chip. It has also builtin an onboard LIS2DH accelerometer. However when I am trying to connect to it through SPI interface this seems not to respond back. Can Anyone help?
I have successfully sampled my signal using SAADC example at a sampling frequency of 10 Hz. I am using a flag in the saadc_callback() function which I read from the main() function and accordingly instruct to write the sampled ... (more)
I am working on a project. The goal is to retrieve every seconds some acceleration data from the ADXL362 accelerometer.
I configured the spi in blocking mode by passing NULL as event handler nrf_drv_spi_init(_spi, &_spi_config, NULL);
This method ... (more)
I am trying to read a 1024 bytes FIFO buffer from an IMU (Bosh BMI160) using the SPI master driver on nrf52832 and sdk 12.2.
I know others had the same problem and I've read the ... (more)
I have a brief question regarding to SPI, I have two instances of SPI, SPI0 and SPI1, I was wondering whether or not changing the value of
SPIS_CSN_PIN to SPI0 would affect to SPI1 and viceversa.
Could you enlighten ... (more)
I am using SPI interface to communicate with a sensor BMI160, looking into the driver for BMI160 I can see how the low level functions for reading/writting are used like this
read(dev->id, reg_addr, data, len);
However ... (more)
I was wondering whether or not is advisable to use the same handler to handle transmission/reception of data over SPI0 and SPI1 interfaces.
I have two sensors connected each one to each SPI, let's say sensorA to ... (more)
Currently I am using the spis driver to send data through the SPI peripheral. On the event handler I want to capture the time in which the chip is selected, which in the case of my application, is when the ... (more)
I am attempting to interface a Winbond flash device with the NRF52. The datasheet does not specify the idle state of MOSI when reading from the device. However, I cannot make the flash chip work with the NRF52. In the ... (more)
I've got two Rigado development boards that I'm programming with KEIL uvision 5. I've tried a few examples, for example: blinky, which program and work fine. Now I'm trying out the SPI Master and ... (more)