RSS
Sort by » date activity ▼ answers views votes

83 questions

Tagged
  • x
21
views
no
votes
no
answers
Last activity 2017-11-14 15:48:07 +0200 by kxJiang

MISO of SPI nand flash outputs no data When acts as both ESP32 and NRF52832's slave [closed]

Both NRF52832 and ESP32 have access to the same nand flash through their spi interface, either one can successfully reads the flash's id without the other's exits. If both exist on the same spi interface, neither can read ... (more)

36
views
no
votes
no
answers
Last activity 2017-11-13 04:18:39 +0200 by Samuel Zhang

SPI configuration on nRF52832

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)

51
views
no
votes
1
answer
Last activity 2017-11-04 02:00:35 +0200 by Ed

SPI master driver for nRF52832

Hello,

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)

55
views
no
votes
1
answer
Last activity 2017-10-31 09:05:04 +0200 by Jørgen Holmefjord flag of Norway

SPI Example Symbol cannot be resolved

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

It's saying

Symbol "NRF_SPI0" could not be resolved

Symbol "SPI0_TWI0_IRQn" could not ... (more)

86
views
no
votes
2
answers
Last activity 2017-10-30 11:03:52 +0200 by Amit

SPI handler callbacks not invoked with NRF_SDH_DISPATCH_MODEL_INTERRUPT

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)

78
views
1
vote
1
answer
Last activity 2017-10-27 11:30:59 +0200 by Jørgen Holmefjord flag of Norway

Problems to manage SPI pins to communicate with the slave.

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)

91
views
no
votes
1
answer
Last activity 2017-10-12 20:07:19 +0200 by Nguyen Hoan Hoang flag of Canada

Issue running TWI/SPI on nRF52832, works with Kiel but not GCC

Hi,

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)

92
views
no
votes
no
answers
Last activity 2017-10-11 12:30:36 +0200 by arjun

SPI External Flash Interface

Hi,

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)

30
views
no
votes
no
answers
Last activity 2017-10-10 15:03:20 +0200 by DaveyJones

How to receive information from pressure sensor over SPI using nRF52832 ?

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)

27
views
no
votes
1
answer
Last activity 2017-10-09 09:21:35 +0200 by Jørgen Holmefjord flag of Norway

Error Listing symbols

Hi All,

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 ...
(more)

165
views
1
vote
1
answer
Last activity 2017-10-04 10:38:43 +0200 by David Edwin

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)

79
views
1
vote
1
answer
Last activity 2017-09-21 13:49:13 +0200 by DerPMO

nRF52 SPI loops when waiting for NRF_SPI_EVENT_READY after initialisation [closed]

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)

53
views
no
votes
1
answer
Last activity 2017-09-15 16:15:13 +0200 by Bill Finger

nRF52832 SPIS PAN 109 Workaround Issue

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)

52
views
no
votes
1
answer
Last activity 2017-09-15 09:29:44 +0200 by Martin Børs-Lind flag of Norway

Why isn't my PPI/SPI channel triggered with GPIOTE?

Hello,

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)

82
views
no
votes
no
answers
Last activity 2017-09-11 10:39:24 +0200 by ndarkness

Why is not my Timer triggered when configured through PPI and SPI?

Hello,

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)

137
views
no
votes
1
answer
Last activity 2017-09-07 16:00:16 +0200 by Turbo J

Can I get data from an external ADC without using CPU time?

Hello,

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)

489
views
1
vote
1
answer
Last activity 2017-08-30 18:48:55 +0200 by Nestor Matas

nrf52832 SPI to builtin LIS2DH accelerometer

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?

53
views
no
votes
1
answer
Last activity 2017-08-30 09:38:06 +0200 by Martin Børs-Lind flag of Norway

Writing in SD card at fixed time-intervals by reading from ADC

Hi,

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)

698
views
1
vote
4
answers
Last activity 2017-08-23 16:08:53 +0200 by airshaven

nRF52832- why when using nrf_drv_spi with an ADXL362 I need to set the clock in high drive (H0H1)

Hello!

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)

1k
views
1
vote
4
answers
Last activity 2017-08-21 23:10:17 +0200 by ShannonPahl

Transfer more than 255 bytes with SPI master on nrf52

Hi everybody,

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)

35
views
no
votes
no
answers
Last activity 2017-08-21 16:20:22 +0200 by ndarkness

Does setting down SPIS_CSN_PIN for one SPI instance affect the other?

Hello,

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)

95
views
1
vote
1
answer
Last activity 2017-08-21 12:29:07 +0200 by Jørgen Holmefjord flag of Norway

How do I specify my register address for SPI driver interface?

Hello,

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)

56
views
1
vote
1
answer
Last activity 2017-08-18 11:52:50 +0200 by ndarkness

Can I use same handler for two different SPI's interfaces?

HEllo,

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)

39
views
no
votes
1
answer
Last activity 2017-08-18 11:03:08 +0200 by Jørn flag of Norway

Is there any spis event generated when the slave is selected?

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)

111
views
no
votes
1
answer
Last activity 2017-08-17 14:24:14 +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)

61
views
1
vote
1
answer
Last activity 2017-08-04 12:03:29 +0200 by Radiohead

SPI example programming Error

Hello All,

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)

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

261
views
2
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)

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

98
views
no
votes
no
answers
Last activity 2017-06-20 10:44:32 +0100 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)

Statistics

  • Total users: 25343
  • Latest user: Jayme Hawley
  • Resolved questions: 10981
  • Unanswered questions: 3697
  • Total questions: 27091

User menu

    or sign up

Recent questions