RSS
Sort by » date activity ▼ answers views votes

335 questions

Tagged
  • x
5
views
no
votes
no
answers
Last activity 2017-07-22 12:48:29 +0200 by Khan

Different master instances for two slaves in nrf51422

Hi All,

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)

45
views
2
votes
2
answers
Last activity 2017-07-22 10:59:35 +0200 by endnode

APP_ERROR_CHECK(nrf_drv_spi_transfer(&spi, m_tx_buf, m_length, m_rx_buf, m_length));

Hi All,

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));

515
views
1
vote
3
answers
Last activity 2017-07-22 00:51:03 +0200 by Ben

SPI Master MISO Noise Issue

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)

101
views
no
votes
1
answer
Last activity 2017-07-19 14:14:52 +0200 by bryanhsieh

SPI Slave Problem

Hi,

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)

57
views
2
votes
1
answer
Last activity 2017-07-18 09:35:54 +0200 by segFault

problem with nRF52832 BLE + SPI + FreeRTOS

Hi everybody.

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:

  • LCD driver communicating ...
(more)

51
views
no
votes
2
answers
Last activity 2017-07-15 05:50:13 +0200 by JD

Getting lots of NRF_ERROR_RESOURCES on notifications

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)

418
views
5
votes
2
answers
Last activity 2017-07-13 10:37:12 +0200 by Jørgen Holmefjord flag of Norway

NRF52 as SPI master with Multiple Slaves

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)

45
views
no
votes
no
answers
Last activity 2017-07-12 00:45:31 +0200 by Ivan Kolesnikov

NRF51822: nrf_drv_spi_transfer hangs

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)

20
views
no
votes
2
answers
Last activity 2017-07-11 11:36:28 +0200 by DJ

Using Nokia 5510 and nRF8001 at the same time

I am using Blend Micro with Nokia 5510 LCD. Before applying BLE SDK for Arduino, LCD works fine. After initializing BLE UART for nRF8100, send text through nRF8100 by UART to IOS app is successful, but no LCD display.

How ... (more)

24
views
1
vote
1
answer
Last activity 2017-07-06 23:26:13 +0200 by RK flag of Singapore

High Frequency Pin for Clocking External ADC [closed]

Hello,

I'm starting to work with a new ADC that I need to drive with an external 4MHz clock that I will need to drive with my MCU. Is there a way to set up a pin to passively ... (more)

63
views
no
votes
no
answers
Last activity 2017-07-05 21:44:14 +0200 by molly7

SPI slave read without debugger

I am using nRF52840 DK as a SPI slave with an external MCU configured as SPI master. The SPI clock frequency is set to 1 MHz. I am using the following pins for SPI:

P0.29 - SPIS_CS_PIN P0.28 - SPIS_MISO_PIN ... (more)

65
views
no
votes
no
answers
Last activity 2017-07-04 22:58:39 +0200 by Lars

How (if able) to add ethernet to nRF52832?

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)

49
views
no
votes
no
answers
Last activity 2017-06-28 18:22:51 +0200 by pawan_v61

ble and spi in nrf52

hello , I am working spi with softdevice(i.e., bluetooth). here spi master is nrf52 and spi slave is ad9837. the spi interface code works fine without soft device(i.e.,ble) but with softdevice and I am integrate that ... (more)

53
views
no
votes
no
answers
Last activity 2017-06-28 13:26:38 +0200 by Khan

map pins from nRF51422 to OLED spi

I am unable to map and code nRF51422 for my 128x32 spi OLED display. Please help.

26
views
3
votes
1
answer
Last activity 2017-06-28 12:51:01 +0200 by Steve H

SPI hangs within RTC CC callback [closed]

Hi all,

I'm transferring data to and from an Atmel AT25040 NVRAM using SPI, and it works perfectly when run within main(). However, if I run the same code from within an RTC CC callback, the blocking call to ... (more)

56
views
no
votes
1
answer
Last activity 2017-06-27 03:46:44 +0200 by Nguyen Hoan Hoang flag of Canada

Managing multiple SPI and TWI peripherals

Hello,

I'm working on an application where we have a number of sensors and a radio that each require a connection to the nRF52. Specifically, 4 of these peripherals need a SPI connection to the nRF52 and one needs ... (more)

37
views
no
votes
no
answers
Last activity 2017-06-22 12:41:10 +0200 by bryanhsieh

NFR52832 SPI Long Transfer Problem

To All,

From reading the datasheet I understand that nfr52832 spi can only send/receive up to 255 bytes at once. And to work around this a list method is used. Because I am writing/reading to a NAND flash ... (more)

46
views
no
votes
1
answer
Last activity 2017-06-21 23:41:29 +0200 by endnode

Difference in compiling from Keil or makefile

Hello everyone,

Currently we're writing a small program for the NRF52 (PCA10040), which has to communicate via SPI to an IMU (MPU-9250). The code is working correctly, because when my colleague compiles it using Keil everything is working as ... (more)

40
views
no
votes
no
answers
Last activity 2017-06-20 20:47:03 +0200 by Nick Bentzen

SPI MOSI default high? NRF SDK 12.2.0

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)

64
views
no
votes
no
answers
Last activity 2017-06-20 10:44:32 +0200 by kbb64

SPI problems sdk13 release [closed]

Just ported from nrf52 project using sd132 v 5.0 to sdk13 release sd132 v4.02

Changed the necessaries and changed to the new ret = nrf_drv_spi_init(&spi, &spi_config, NULL, NULL);

I can no longer get the spi to work. It ... (more)

59
views
no
votes
2
answers
Last activity 2017-06-19 09:59:05 +0200 by Jørgen Holmefjord flag of Norway

nRF52832 SPI tagging for multi-channel ADC?

Hi,

I have successfully connected an MCP3004 to the nRF52832 and can assign the ADC channel 0 output to a characteristic value. Works beautifully.

However, there are three other channels I want to use on the ADC for other sensors ... (more)

93
views
no
votes
2
answers
Last activity 2017-06-15 20:54:16 +0200 by Jørgen Holmefjord flag of Norway

Need a sample Eclipse SPI project for PCA10056/52840 board

I need to connect a FP sensor to this board. I have Blinky app Eclipse project for PCA10056 board. I copied the Makefile and main.c from examples into Eclipse project but it failed to compile. Is there a sample ... (more)

49
views
2
votes
2
answers
Last activity 2017-06-15 10:43:46 +0200 by bryanhsieh

NRF52832 Sharing SPI Lines with FTDI SPI-USB Bridge

Hi all,

I am making a device which involves using nfr52832(PCA10040) to communicate with a NAND flash through spi to store data acquired from the ADC. After all the data has been stored, the device is then plugged into ... (more)

25
views
no
votes
no
answers
Last activity 2017-06-15 10:40:31 +0200 by bryanhsieh

Nordic NFR52832 Two Masters with FTDI SPI-USB Bridge [closed]

Hi all,

I am making a device which involves using nfr52832(PCA10040) to communicate with a NAND flash through spi to store data acquired from the ADC. After all the data has been stored, the device is then plugged into ... (more)

59
views
1
vote
no
answers
Last activity 2017-06-15 00:38:30 +0200 by justPassingBy

NRF51 to NRF52 MPU-9250 problem

Hello everyone,

We're currently in the process of porting our code from the NRF51 to the NRF52 (both without any softdevices). Everything compiles and seems to be working fine, except for one part, which is that the connected MPU-9250 ... (more)

40
views
1
vote
1
answer
Last activity 2017-06-14 11:27:22 +0200 by Jørgen Holmefjord flag of Norway

Issue seen with nRF52840 and SPI (Master) Receving Bytes

Hi everyone,

I am seeing an issue where the SPI (master) ignores the first byte of RX buff and begins storing the received bytes from RxBuff[1] instead of RxBuff[0]. In addition to ignoring the first RX byte, the ... (more)

65
views
no
votes
no
answers
Last activity 2017-06-12 10:52:54 +0200 by vishal

SPI Flash write using DMA

Hi,

I have camera interfaced on GPIOs of nRF52832.. I am reading image data at the rate 80KHz. Is it possible to write the data to SPI Flash (Slave) by DMA or by any other way such that I won ... (more)

106
views
2
votes
2
answers
Last activity 2017-06-11 23:24:57 +0200 by Dima

Bootloader without SoftDevice

Hello

I am building bootloader. I do not use Softdevice and used example from this topic. Bootloader must read FW from uSD card, update flash and jump to application. uSD card is connected to SPI0 of nrf51. SPI1 is used ... (more)

70
views
1
vote
1
answer
Last activity 2017-06-09 13:10:32 +0200 by Bjørn Spockeli flag of Norway

Send more than 255 bytes on SPI slave on nrf52832

Is it possible to send more than 255 bytes on SPI when nrf52832 is used as slave. A few solutions use SPI Master with easyDMA and ArrayList to do this. Will the same solution work for SPI slave?

101
views
no
votes
no
answers
Last activity 2017-06-07 19:19:40 +0200 by kellac1

SPIS DMA Setup Slow

Upon testing I am seeing some slowness in setting up the SPIS DMA buffers for the next transaction. I perform a SPIS transaction, and then call nrf_drv_spis_buffers_set(). Setting the SPIS buffers takes somewhere around 20 us to complete. This seems ... (more)

Statistics

  • Total users: 23041
  • Latest user: Irvin Samuel
  • Resolved questions: 9858
  • Unanswered questions: 2925
  • Total questions: 23732