RSS
Sort by » date activity ▼ answers views votes

304 questions

Tagged
  • x
35
views
no
votes
1
answer
Last activity 2017-05-28 14:42:38 +0200 by pawan_v61

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
votes
no
answers
Last activity 2017-05-24 13:20:20 +0200 by gsalazar

[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
answer
Last activity 2017-05-23 08:39:30 +0200 by Torbjørn Øvrebekk

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
answer
Last activity 2017-05-22 11:02:10 +0200 by Petter Myhre flag of Norway

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
votes
1
answer
Last activity 2017-05-18 03:36:07 +0200 by RK flag of Singapore

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
votes
1
answer
Last activity 2017-05-15 11:05:36 +0200 by Turbo J

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
answer
Last activity 2017-05-14 15:40:12 +0200 by Vala

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
votes
no
answers
Last activity 2017-05-12 13:45:16 +0200 by LuckyLukas

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
votes
2
answers
Last activity 2017-05-11 09:23:15 +0200 by Jørn flag of Norway

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
votes
1
answer
Last activity 2017-05-10 16:02:15 +0200 by run_ar

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
votes
2
answers
Last activity 2017-05-05 11:03:11 +0200 by IlyaM

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
answer
Last activity 2017-05-04 22:44:24 +0200 by Turbo J

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
votes
no
answers
Last activity 2017-05-04 14:17:49 +0200 by DavidC

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
votes
no
answers
Last activity 2017-05-03 23:44:58 +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)

124
views
11
votes
1
answer
Last activity 2017-05-02 09:51:32 +0200 by TY

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
votes
1
answer
Last activity 2017-04-27 20:22:19 +0200 by Jakub Rzeszutko

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
answer
Last activity 2017-04-27 13:34:18 +0200 by Sigurd flag of Norway

[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
answers
Last activity 2017-04-27 00:53:56 +0200 by mfdevzone

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
votes
2
answers
Last activity 2017-04-27 00:51:29 +0200 by mfdevzone

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
answer
Last activity 2017-04-24 21:56:32 +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)

45
views
2
votes
1
answer
Last activity 2017-04-21 18:04:32 +0200 by Corey Bird

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
votes
1
answer
Last activity 2017-04-19 13:46:38 +0200 by Daniel Sullivan

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
answer
Last activity 2017-04-18 12:49:41 +0200 by Aryan flag of Norway

SPI: reading MISO status

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
votes
1
answer
Last activity 2017-04-13 19:28:01 +0200 by Renix

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
answer
Last activity 2017-04-11 08:31:07 +0200 by Jørgen Holmefjord flag of Norway

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
answer
Last activity 2017-04-06 09:03:04 +0200 by Jørn flag of Norway

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
votes
no
answers
Last activity 2017-04-05 13:27:16 +0200 by OPQ

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
votes
1
answer
Last activity 2017-04-04 08:38:21 +0200 by schef

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
votes
1
answer
Last activity 2017-04-03 17:41:16 +0200 by makerTim

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
answer
Last activity 2017-03-31 14:14:44 +0200 by Jørgen Holmefjord flag of Norway

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
  • Unanswered questions: 2680
  • Total questions: 22432

User menu

    or sign up

Recent questions