<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65976/how-can-i-use-4-serial-peripheral-interface-on-nrf9160</link><description>I created a project on nrf9160, which connects many peripherals, including SPI,I2C,UART. According to the specification, nrf9160 can use up to 4 sets of serial peripherals at the same time because of address sharing. However, the actual situation is that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Nov 2020 12:21:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65976/how-can-i-use-4-serial-peripheral-interface-on-nrf9160" /><item><title>RE: How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/thread/279896?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 12:21:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e796f87-77bf-493f-8c60-f07c71b58c34</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;You have to manually disable the UART_0 in the prj.conf, if not the project will use the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/master/boards/arm/nrf9160dk_nrf9160" rel="noopener noreferrer" target="_blank"&gt;default board settings&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;But please try this on the latest NCS as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/thread/279840?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 05:57:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ce99c94-c917-4ae9-8842-f6bda1d4b1d0</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you for your reply. This is the content of my PRJ. Conf file, please check it：&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2019 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
#
# General config
CONFIG_NEWLIB_LIBC=y
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
CONFIG_ASSERT=y
CONFIG_REBOOT=y
CONFIG_GPIO=y
CONFIG_TRUSTED_EXECUTION_NONSECURE=y

# Log
CONFIG_PRINTK=n
CONFIG_LOG=y
CONFIG_LOG_IMMEDIATE=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=n
CONFIG_CONSOLE=y
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=n

# Modem info
CONFIG_MODEM_INFO=y

# BSD library
CONFIG_BSD_LIBRARY=y
CONFIG_BSD_LIBRARY_TRACE_ENABLED=n

# Flash
CONFIG_FLASH=y
CONFIG_IMG_ERASE_PROGRESSIVELY=y

# NVS
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_NVS=y
CONFIG_NVS_LOG_LEVEL_DBG=y
CONFIG_MPU_ALLOW_FLASH_WRITE=y

# GPS
CONFIG_AT_CMD=n
CONFIG_AT_NOTIF=n

# AT_CMD
CONFIG_AT_HOST_LIBRARY=n
CONFIG_UART_INTERRUPT_DRIVEN=n

# Console
CONFIG_CONSOLE_SUBSYS=y
CONFIG_CONSOLE_HANDLER=y
CONFIG_CONSOLE_GETCHAR=y

# Enable SUPL client support AGPS
CONFIG_SUPL_CLIENT_LIB=n

# Network
CONFIG_NETWORKING=y
CONFIG_NET_NATIVE=n
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_OFFLOAD=y
CONFIG_NET_SOCKETS_POSIX_NAMES=y
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y

# LTE link control
CONFIG_LTE_LINK_CONTROL=y
CONFIG_LTE_AUTO_INIT_AND_CONNECT=n
#add by liming
#CONFIG_POWER_OPTIMIZATION_ENABLE=n
CONFIG_LTE_NETWORK_MODE_LTE_M_GPS=n
#CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_DBG=y
CONFIG_LTE_NETWORK_MODE_NBIOT_GPS=y
CONFIG_LTE_LEGACY_PCO_MODE=y
#CONFIG_LTE_PSM_REQ_RPTAU=&amp;quot;00000110&amp;quot;
#CONFIG_LTE_PSM_REQ_RAT=&amp;quot;00000010&amp;quot;

# MQTT
CONFIG_MQTT_LIB=y
CONFIG_MQTT_LIB_TLS=y   
#add by liming
CONFIG_MQTT_CLIENT_ID=&amp;quot;devzone_client&amp;quot;
CONFIG_MQTT_BROKER_HOSTNAME=&amp;quot;test.mosquitto.org&amp;quot;
CONFIG_MQTT_BROKER_PORT=8884
CONFIG_SEC_TAG=51966
CONFIG_PEER_VERIFY=1

# Appliaction
#CONFIG_MQTT_PUB_TOPIC=&amp;quot;/my/publish/topic&amp;quot;
#CONFIG_MQTT_SUB_TOPIC=&amp;quot;/my/subscribe/topic&amp;quot;
#CONFIG_MQTT_CLIENT_ID=&amp;quot;my-client-id&amp;quot;
#CONFIG_MQTT_BROKER_HOSTNAME=&amp;quot;mqtt.eclipse.org&amp;quot;
#CONFIG_MQTT_BROKER_PORT=1883

# Library for buttons and LEDs
CONFIG_DK_LIBRARY=y
CONFIG_DK_LIBRARY_INVERT_LEDS=n

# Heap and stacks
CONFIG_HEAP_MEM_POOL_SIZE=16384
CONFIG_MAIN_STACK_SIZE=8192
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_HW_STACK_PROTECTION=y

# MCUBOOT
CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_IMG_MANAGER=y
CONFIG_MCUBOOT_IMG_MANAGER=y

# SPI
CONFIG_SPI=y
CONFIG_SPI_NRFX=y
CONFIG_SPI_2=y
CONFIG_SPI_2_NRF_SPIM=y
CONFIG_SPI_3=y
CONFIG_SPI_3_NRF_SPIM=y

# I2C
CONFIG_I2C=y
CONFIG_I2C_NRFX=y
CONFIG_I2C_0=y
CONFIG_I2C_0_NRF_TWIM=y
CONFIG_I2C_2=n
CONFIG_I2C_2_NRF_TWIM=n
CONFIG_I2C_INIT_PRIORITY=60

# UART
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_LINE_CTRL=y
#CONFIG_UART_0_NRF_UARTE=n
#CONFIG_UART_0_NRF_FLOW_CONTROL=n
CONFIG_UART_1_NRF_UARTE=y
CONFIG_UART_1_NRF_FLOW_CONTROL=n

# Use smaller buffers for net_buf as CANBUS packets are quite small.
CONFIG_NET_BUF_DATA_SIZE=64
CONFIG_NET_BUF_USER_DATA_SIZE=1

# Main thread
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_HEAP_MEM_POOL_SIZE=2048&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/thread/279762?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2020 14:27:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87d985aa-09ba-483a-80ea-52ca85dcde15</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;Could you share your latest prj.conf file?&lt;br /&gt;Also I would advice you to port your project to NCS 1.4.0 and do a re-test.&lt;br /&gt;&lt;br /&gt;I suspect that you are running on NCS1.2.0 and there was an issue with similar symptoms as you see in that version.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/thread/279624?ContentTypeID=1</link><pubDate>Thu, 12 Nov 2020 07:20:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5388f57a-c583-43b7-b1d4-43641fdce93e</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;&lt;span class="transSent"&gt;If so, can I turn off Console and Logging and use I2C_0 as 9160 to communicate with peripherals?&lt;/span&gt;&lt;span class="transSent"&gt;Now I have tried this and can also obtain binding, but in fact I2C cannot communicate, there is no corresponding message display peripheral, and it seems that the SCL and SDA pin&amp;nbsp;of I2C are occupied by other functions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/QQ_FE564772_20201112151814.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I used an oscilloscope to capture the waveform and found that the waveform could be normally seen using I2C_2, but the waveform could not be seen after using I2C_0. It seemed that the SCL was forcibly restricted to a high level by an application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/aab9dea025bd18b221c31f7645f2e7ea.mp4"&gt;devzone.nordicsemi.com/.../aab9dea025bd18b221c31f7645f2e7ea.mp4&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/921fbb696dda3f554c0378ce15dfc425.mp4"&gt;devzone.nordicsemi.com/.../921fbb696dda3f554c0378ce15dfc425.mp4&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/thread/278800?ContentTypeID=1</link><pubDate>Fri, 06 Nov 2020 14:04:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f23cdfcc-2ca9-4e56-935e-5a2bbdb314c2</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Correct, you would need to disable UART0.&lt;br /&gt;The console and logging messages uses uart0 as default.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/thread/278575?ContentTypeID=1</link><pubDate>Thu, 05 Nov 2020 11:22:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5207c40-3d3a-4b1f-9c21-7739d8d26ed1</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;&lt;span class="transSent"&gt;Now, I use UART1,SPI2,SPI3. When I open I2C0, the program cannot obtain binding. What is the reason?&lt;/span&gt;&lt;span class="transSent highlight"&gt;Is it because LOG needs to use UART0?&lt;/span&gt;&lt;span class="transSent"&gt;And when I blocked the LOG in pri.conf, my program crashed as soon as it started&lt;/span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG=n
CONFIG_LOG_IMMEDIATE=n

# SPI
CONFIG_SPI=y
CONFIG_SPI_NRFX=y
CONFIG_SPI_2=y
CONFIG_SPI_2_NRF_SPIM=y
CONFIG_SPI_3=y
CONFIG_SPI_3_NRF_SPIM=y

# I2C
CONFIG_I2C=y
CONFIG_I2C_NRFX=y
CONFIG_I2C_0=y
CONFIG_I2C_0_NRF_TWIM=y
CONFIG_I2C_2=n
CONFIG_I2C_2_NRF_TWIM=n
CONFIG_I2C_INIT_PRIORITY=60

# UART
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_LINE_CTRL=y
#CONFIG_UART_0_NRF_UARTE=y
#CONFIG_UART_0_NRF_FLOW_CONTROL=n
CONFIG_UART_1_NRF_UARTE=y
CONFIG_UART_1_NRF_FLOW_CONTROL=n&lt;/pre&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/QQ_FE564772_20201105192443.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/thread/270605?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 13:04:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ec2c216-8d63-49d0-ada1-47bc798c547a</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Please provide the error logs from when you compile your project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/thread/270514?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 09:22:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:300faa51-58a2-4bfd-8354-f45223762ce9</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;&lt;span&gt;Yes, when I tried this method, I found that my project crashed as soon as it started&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/thread/270051?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2020 11:20:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c805643c-2238-438c-a4be-3db3d4174faa</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi duxinglang,&lt;br /&gt;&lt;br /&gt;Maybe you have earlier configured some board files?&lt;/p&gt;
&lt;p&gt;anyway, try to set&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CONFIG_I2C_2=n&lt;br /&gt;CONFIG_I2C_2_NRF_TWIM=n&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/thread/269976?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2020 03:06:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:810cb1f9-2e1f-4fe2-b726-23352dfb15b9</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;&lt;span&gt;I did find I2C_1 and I2C_2 enabled in the&amp;nbsp;autoconf.h file, but in fact I only enabled I2C_1, not I2C_2. Who started I2C_2 automatically?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/thread/269963?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2020 01:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43edfc67-997c-443d-8ac1-988ed8b4cc23</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;&lt;span class="transSent"&gt;I&amp;#39;m using ncs v1.2.0, when I was testing, I did not turn on I2C1 and UART1 at the same time. As I said, when I turn on SPI2\SPI3\UART1, they are all ok.&lt;/span&gt;&lt;span class="transSent"&gt;When I turn on SPI2\SPI3\I2C1, I find that my SPI2 does not work.it can&amp;#39;t get the binding of SPI2.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/thread/269847?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 11:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03f8fafd-6de3-4f3a-b60d-a3f214d8e38f</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Which NCS version are you using?&lt;/p&gt;
&lt;p&gt;You do not need to enable the:&lt;/p&gt;
&lt;p&gt;CONFIG_I2C_&lt;strong&gt;NRFX&lt;/strong&gt;=y&lt;/p&gt;
&lt;p&gt;CONFIG_SPI_&lt;strong&gt;NRFX&lt;/strong&gt;=y&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Since you are not using the nrfxlib directly.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So you can remove those lines. (you also have some configs repeated several time.(e.g. config_flash))&lt;br /&gt;&lt;br /&gt;In this prj.conf file I see that you have enabled SPI&lt;strong&gt;2&lt;/strong&gt;,SPI&lt;strong&gt;3&lt;/strong&gt;,I2C&lt;strong&gt;1&lt;/strong&gt;,UART&lt;strong&gt;1&amp;nbsp;&lt;/strong&gt;so that won&amp;#39;t work per my statement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/thread/269823?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 10:42:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fde47d04-a1b9-478b-9b79-79a4109ba9fe</guid><dc:creator>duxinglang</dc:creator><description>&lt;p&gt;In fact, i just turned on different switches in the prj.conf file&amp;nbsp;and didn&amp;#39;t change to the address,&amp;nbsp;It has failed to get the binding, and it has not reached the location where the address is set, like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;void SPI_Flash_Init(void)
{
	spi_flash = device_get_binding(FLASH_DEVICE);
	if (!spi_flash) 
	{
		printk(&amp;quot;Could not get %s device\n&amp;quot;, FLASH_DEVICE);
		return;
	}

	spi_cfg.operation = SPI_OP_MODE_MASTER | SPI_WORD_SET(8);
	spi_cfg.frequency = 4000000;
	spi_cfg.slave = 0;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;My prj.conf file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#
# Copyright (c) 2019 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
#

# General config
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
CONFIG_NEWLIB_LIBC=y
CONFIG_ASSERT=y
CONFIG_REBOOT=y
CONFIG_GPIO=y
CONFIG_LOG=y
CONFIG_LOG_IMMEDIATE=y

# AT_CMD
CONFIG_AT_CMD=y
CONFIG_AT_NOTIF=y

# Network
CONFIG_NETWORKING=y
CONFIG_NET_NATIVE=n
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_OFFLOAD=y

# Modem info
CONFIG_MODEM_INFO=y

# BSD library
CONFIG_BSD_LIBRARY=y
CONFIG_BSD_LIBRARY_TRACE_ENABLED=n

# Library for buttons and LEDs
CONFIG_DK_LIBRARY=y
CONFIG_DK_LIBRARY_INVERT_LEDS=n

# Heap and stacks
CONFIG_HEAP_MEM_POOL_SIZE=16384
CONFIG_MAIN_STACK_SIZE=8192
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_HW_STACK_PROTECTION=y

# MCUBOOT
CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_IMG_MANAGER=y
CONFIG_MCUBOOT_IMG_MANAGER=y

# SPI
CONFIG_SPI=y
CONFIG_SPI_NRFX=y
CONFIG_SPI_2=y
CONFIG_SPI_2_NRF_SPIM=y
CONFIG_SPI_3=y
CONFIG_SPI_3_NRF_SPIM=y

# I2C
CONFIG_I2C=y
CONFIG_I2C_NRFX=y
CONFIG_I2C_1=y
CONFIG_I2C_1_NRF_TWIM=y
CONFIG_I2C_INIT_PRIORITY=60

# Flash
CONFIG_FLASH=y
CONFIG_IMG_ERASE_PROGRESSIVELY=y

# NVS
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_NVS=y
CONFIG_LOG=y
CONFIG_NVS_LOG_LEVEL_DBG=y
CONFIG_REBOOT=y
CONFIG_MPU_ALLOW_FLASH_WRITE=y

# UART
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_LINE_CTRL=y
#CONFIG_UART_0_NRF_UARTE=y
#CONFIG_UART_0_NRF_FLOW_CONTROL=n
CONFIG_UART_1_NRF_UARTE=y
CONFIG_UART_1_NRF_FLOW_CONTROL=n

# Use smaller buffers for net_buf as CANBUS packets are quite small.
CONFIG_NET_BUF_DATA_SIZE=64
CONFIG_NET_BUF_USER_DATA_SIZE=1&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i use 4 Serial peripheral interface on nrf9160</title><link>https://devzone.nordicsemi.com/thread/269778?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 08:16:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8fbcccf-81fe-4ba1-bb57-1596bc67fdc5</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;duxinglang,&lt;br /&gt;&lt;br /&gt;You may have some overlapping &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf9160%2Fmemory.html&amp;amp;cp=2_0_0_3_1_1&amp;amp;anchor=topic" rel="noopener noreferrer" target="_blank"&gt;memory areas for the peripherals.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;E.g.&amp;nbsp;UART&lt;strong&gt;0&lt;/strong&gt;,TWIM&lt;strong&gt;0&lt;/strong&gt;,SPIS&lt;strong&gt;0&lt;/strong&gt;,SPIM&lt;strong&gt;0&amp;nbsp;&lt;/strong&gt;has the same address, so you could only use one of them at the same time.&lt;/p&gt;
[quote user=""]I can&amp;#39;t get the binding of&amp;nbsp;SPI2, and when I use SPI2,SPI3,UART1 at the same time[/quote]
&lt;p&gt;&amp;nbsp;You should be able to get binding on SPI2, please verify in the application that you address the correct peripherals.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>