First time here? Check out the Tour!
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)
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)
I am using SPI 2 (not SPIM) and just migrated my project to SDK14 from 13.1.
I kept getting "Wrong configuration" on compile, until I realized that on the nrf_srv_spi.c on the #defines you replicated SPI1_WITHOUT_DMA twice on ... (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)
Hello, I did used nrf_drv_spis.c (SDK SPI Slave) with nrf_drv_spi.c (SDK SPI Master). And I notice that both module configure SPI MISO line as input without any pull (neither up nor down). In datasheet for SPIS block is ... (more)
I am trying to interface an external ADC to NRF51-DK i am presently reading SPI ADC code values on BUTTON press event. I am able to read the values from ADC properly on button press.
I want to ... (more)
I'm working with a sensor that communicates over spi, but it uses a single wire for miso and miso. Is there any alternative to just bitbaning the protocol? Specific sensor (for reference) is the adns2620. Thanks!
I am working on a project which is using SPI and BLE together.
I wrote SPI code before without soft device. It has simple update function which is sending SPI data. And also i have an timer interrupt which ... (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)
I'm working on an application in which I have to dynamically switch between a TWI master peripheral and SPI master peripheral that use the same peripheral ID (our application requires this, since we need the extra buses). Is ... (more)
I am using nrf51422, SDK 12.0.0, an SPI OLED display 128x32, and an SD card.
I want to interface an OLED display and an SD card onto the nrf51422. Although my SD card and the OLED ... (more)
I am a beginner,Can you please explain me what is the role of this line?
APP_ERROR_CHECK(nrf_drv_spi_transfer(&spi, m_tx_buf, m_length, m_rx_buf, m_length));
I'm trying to connect to a ST LSM6DS3 via SPI on the Nordic chip. I have used SPI on Nordic with other peripherals but couldn't seem to get it to work with this ST chip. Eventually, after debugging ... (more)
I am trying to develop a custom board using NFR52832 which involves writing data to a NAND flash. To download data from NAND to the pc, a ftdi cable (C232hm) is used. The cable has a ftdi chip which ... (more)
I encountered issues with the formentioned setup. In my project I'm using latest SDK 13.1, softdevice S132 v.4.0.2. I'm compiling the project with latest GCC.
I have two tasks:
We have an external interrupt every 4ms that collects one 24-bit sample from an analog front end via SPI. After Collecting 6 samples (18 bytes) we send a notification with the data which should then be every 4ms * 6 = 24ms ... (more)
Hello, my project has 3 different devices (2 sensor and flash memory) on the same SPI bus all with their own CS. I ran across the following question, which has a response for a workaround for the NRF51. Upon jumping ... (more)
I have initialized SPI0 master by this code:
static const nrf_drv_spi_t spi = NRF_DRV_SPI_INSTANCE(0); ... nrf_drv_spi_config_t spi_config = NRF_DRV_SPI_DEFAULT_CONFIG; spi_config.ss_pin = SPIM0_SS_PIN; spi_config.miso_pin = SPIM0_MISO_PIN; spi_config.mosi_pin = SPIM0_MOSI_PIN; spi_config.sck_pin = SPIM0_SCK_PIN; spi_config.mode = NRF_DRV_SPI_MODE_1; APP_ERROR_CHECK(nrf_drv_spi_init(&spi, &spi_config, NULL));
Then I try ... (more)