Skip to content

Commit ba02610

Browse files
Kamil Gaworcarlescufi
authored andcommitted
samples: nfc: Disable unused SPI instance
Disable unused SPI instance in samples which use ST25R3911B NFC shield to avoid interaction with not used pins on nrf52840 pca10056 which has enabled all SPI instance by default. Signed-off-by: Kamil Gawor <[email protected]>
1 parent 12ab277 commit ba02610

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

samples/nfc/tag_reader/prj.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ CONFIG_SPI_0=y
99
CONFIG_SPI=y
1010
CONFIG_SPI_0_NRF_SPI=y
1111

12+
#Disable unused SPI instance
13+
CONFIG_SPI_1=n
14+
CONFIG_SPI_2=n
15+
CONFIG_SPI_3=n
16+
1217
CONFIG_ST25R3911B_LIB=y
1318

1419
CONFIG_NFC_NDEF=y

samples/nfc/tnep_poller/prj.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ CONFIG_SPI_0=y
77
CONFIG_SPI=y
88
CONFIG_SPI_0_NRF_SPI=y
99

10+
#Disable unused SPI instance
11+
CONFIG_SPI_1=n
12+
CONFIG_SPI_2=n
13+
CONFIG_SPI_3=n
14+
1015
CONFIG_ST25R3911B_LIB=y
1116

1217
CONFIG_NFC_NDEF=y

0 commit comments

Comments
 (0)