# 304 questions

Tagged
• x
35
views
no
1

## is nrf52 dk support 3 wire spi interface

hello i am new to spi, i am doing project on 3 wire spi interface. I am using 3 wire interface as Sclk,ssn,MOSI pins only , I am not using MISO pin .I am tested spi example code but ... (more)

32
views
no
no

## [SD Card] Sharing SPI pins sdcard

Hi,

I'm trying to use the nrf52832 with a sdcard application in SDK_13. I based my code on the example provided and managed to get the sd card working without any problems.

However I am now trying to get ... (more)

36
views
1
vote
1

## Is there any advantage of using SPI interface over UART while connecting nBLE51822 to any MCU?

I have the option to connect nBLE51822 to MCU via SPI, UART or I2C. But is there any advantage of using SPI/ I2C interface over UART interface while connecting nBLE51822 to any MCU?

44
views
1
vote
1

## Join SPI and IPv6 over BLE

Hello!

I have the board PCA10040 (nRF52 DK).

I designed two different programs:

• SPI: I'm using the SPI communication to communicate with an external sensor (accelerometer). I used the latest SDK version: v13.0.0.
• MQTT publisher/subscriber: I ...
(more)

140
views
4
1

## Can nRF52 have four interfaces active: SPIM, SPIS, TWIM0, TWIM1 [closed]

It appears that we can use only three at a time. I would like to use SPIM, SPIS and two TWI masters. Is that possible with the nRF52?

30
views
no
1

## Is it possible to flash the nrf52832 through SPI?

I want to add the nrf52832 to my customized board and I am studing the possibilities for flashing it once that is located on the board. Is it possible to flash trhough the SPI interface? or it should be only ... (more)

102
views
1
vote
1

## nrf_drv_spi_transfer slow?

Hi,

When I call nrf_drv_spi_transfer to transfer 250 bytes in non-blocking mode, it takes 1.1ms. Is this normal? Any workaround? If it is normal then I have to split my state machine to more number of states so I ... (more)

55
views
no
no

## Using ADXL362 (FIFO) with NRF52

Hello

i am using the NRF52 EvalBoard and a ADXL362 EvalBoard. I am trying to read every 100ms the FIFO buffer of the ADXL362. Below you can see my register configuration:

• FIFO CONTROL REGISTER (0x28): 0x02
• FIFO SAMPLES REGISTER (0x29 ...
(more)

476
views
2
2

## SPI and TWI Error

I'm writing an nRF52 DK btle application using SDK 12. The DK comunicates with 2 external peripheral via SPI and I2C interfaces. Complilation fails with the error:

._build\spi_twi_example.axf: Error: L6200E: Symbol SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0_IRQHandler multiply defined (by nrf_drv_twi.o ... (more)

50
views
no
1

## Can I share SPI MISO pin for SPI peripheral and GPIO interrupt generating?

I got some SPI flash memory that is capable of generating interrupts in order to save some program/erase time and power consumption. The only drawback is that interrupt is generated on SPI MISO pin. I wonder if I can ... (more)

47
views
no
2

## How to send 1 byte via SPI from master to slave

Hello everyone, I'm trying to run my nrf51 with ADS1298 using SPI. nrf51 is master and ADS1298 is slave.

I configured SPI as

const nrf_drv_spi_config_t spi_config =
{
.sck_pin = 25,
.mosi_pin = 24,
.miso_pin = 23,
.ss_pin = 30,
//.irq_pin = 22,
.irq_priority = APP_IRQ_PRIORITY_HIGH,
.orc ...
(more)

31
views
1
vote
1

## Freeze/Halt the SPI SCK line while still sending data on MOSI?

Bit of an odd question but Im dealing with a rather wonky SPI peripheral and its got me trying to sort some interesting questions due to its strange data protocol. Im using an NRF52 and on SDK12.2 with the ... (more)

118
views
no
no

## How can I see the NFR_LOG_INFO [closed]

Hello to everyone in this community,

I am new with NordicSemi chips and I have the Development kit 52832. I opened the example folder from the SDK 13, SPI slave and i saw some code using NRF_LOG_INFO in order to ... (more)

45
views
no
no

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

124
views
11
1

## SPI behaviour is random depending on the previous code

Dear Nordic Team, Meanwhile, I've burned through a week finding a solution for this problem. Now I am out of ideas where to check for problems.

My application: I'm using an nRF52832-QFAABO 1639DE via SPI I am communication ...

(more)

66
views
no
1

## SPI manager queue limitations

Hi all,

Having a bit of an issue with the SPI manager scheduler. When sending small packets (<4 bytes), I seem to be able to queue as many requests as I want.

However, sending a larger packet - even without any ... (more)

55
views
1
vote
1

## [nrf51-dk] Can I use both twi instances as well as an SPI instance?

I have a project where I need both TWI instances as well as an SPI instance to be used with sdcard and fatfs libraries. When I try to compile I get the error: SPI1_TWI1_IRQHandler if I have SPI1_ENABLED or SPI0_TWI0_IRQHandler ... (more)

400
views
1
vote
2

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

148
views
3
2

## send more than 255 bytes by spi, nrf52

I'm communicating with N25 flash memory, the page size is 256 bytes. there is a page_program command which can write up to 256 bytes. there is no way to write in the middle of page (page @ + offset).

the issue ... (more)

73
views
1
vote
1

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)

45
views
2
1

## Does hardware control SPIS MISO Pin?

I've run into some interesting behaviour in my code and wanted to see if anyone can clarify for me. It seems as though the SPIS module doesn't set the MISO pin as high impedance when the CSN pin ... (more)

47
views
2
1

## Strange SPI clocking w/S140 (Update: S132 as well) enabled [closed]

I'm having a strange issue with getting SPI running through the transaction manager whilst running a S140 softdevice (SDK13 w/ nrf52840 5.0.0-2Alpha - I know there's a newer version but it's not being used just yet ... (more)

95
views
1
vote
1

Hi,

What is the status of a MISO pin of an SPI instance after issuing NRF_GPIO->IN? Does it reflect the real state of the pin? If no, what fast options do I have to read the status of MISO ... (more)

77
views
3
1

## Why does SPI not work with nrf_delay

Why does SPI not work with nrf_delay, from this previous question https://devzone.nordicsemi.com/questi...

Surely the SPI SCK is a PWM or other timer/interrupt driven clock?

Also, I comment out nrf_delay_ms(200); and then the clock runs ... (more)

35
views
1
vote
1

## Do I have any restriction with HW Pinout Peripheral when using s130?

if I use softdevice 130 Enabled, then do I have any restriction with using all of the pinout of NRF51xxx?

Or if I use Nrf-51 DK, Do I have any restriction with nrf 51xxx's full pinout functionality?

To Make ... (more)

40
views
1
vote
1

## Dynamic SPI Baut Rate

Hello,

Is it possible to change SPI baud rate whenever we want?

For example:

The initial SPI baud rate is set to 4M. We want to change the baud rate to "2M" to get some special data then set it ... (more)

38
views
no
no

## SDK9 spi_master_with_slave how to achieve low power

Hi, I wanna use spi_master_close() before __wfe() to achieve low power,but the power consumption is still 150uA.

26
views
3
1

## JLinkRTTClient wont show all debug prints?

I am using NRF52DK and trying to debug an SPI transfer, using SEGGER_RTT.h to print. However, printing of the logs are not consistent. Some debug lines do no appear in the JLinkRTTClient.

I have put SEGGER_RTT_printf(0,"SPI Tranfer ... (more)

47
views
no
1

## nRF51 MPU9255 SPI READ Failed [closed]

Hi all:

I wrote a code to directly read the register 0x43 (MPU_REG_GYRO_XOUT_H) But the GYRO data I got is wrong

Chip: nRF51422

Board: PCA10028

Firmware: S130_nRF51_2.0.1

nrf_drv_spi_config_t spi_config = NRF_DRV_SPI_DEFAULT_CONFIG(SPI_INSTANCE);
spi_config.ss_pin = 4;
spi_config.sck_pin = 1;
spi_config ...
(more)

140
views
1
vote
1

## Serialization S132 strange behavior

Hi,

I am currently using the NRF52 in a serialized application, with the SPI bus. I am using the SDK 12.1.0 and the softdevice S132 V3.0.0

My application is running well, as expected : We perform scanning ... (more)

#### Statistics

• Total users: 20224
• Latest user: Akilah Hardwicke
• Resolved questions: 9439
• Total questions: 22432

## Recent blog posts

• ### The complete tutorial for developing and debugging nRF52 applications on a Mac

Posted 2017-05-11 04:13:06 by Mohammad Afaneh
• ### Bluetooth 5 2Mbps Demo with nRF52 Series and Samsung Galaxy S8

Posted 2017-05-09 14:20:22 by John Leonard
• ### Setting up Segger on a mac or pc and debug - step by step for humans

Posted 2017-05-05 14:03:35 by Lola

Posted 2017-04-11 11:49:17 by Radosław Koppel
• ### Taking a deeper dive into Bluetooth 5

Posted 2017-04-07 14:53:51 by John Leonard

## Recent questions

• ### nrf52 sdk12 custom service full example

Posted 2017-05-28 19:34:43 by Remi
• ### Antenna for the beacon

Posted 2017-05-28 18:06:06 by Usman
• ### Gazell nRF51822

Posted 2017-05-28 00:40:13 by Andrew Kohlsmith
• ### Is Zephyr I2c Master Supported pca10040

Posted 2017-05-27 23:21:37 by gidjit
• ### Throughput of ble_app_uart

Posted 2017-05-27 19:14:00 by mansfield