<?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>SPIM failed to read after NRF SDK updated to 1.6.x</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79308/spim-failed-to-read-after-nrf-sdk-updated-to-1-6-x</link><description>Hi all, 
 I am using NRF5340 in my custom board. The spims are working well, they are developed by nrfx lib in NRF SDK 1.5.1. 
 However, after I updated my sdk to 1.6.1, the spim cannot read correctly anymore. 
 The chip id I want to read by spim is supposed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Sep 2021 09:55:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79308/spim-failed-to-read-after-nrf-sdk-updated-to-1-6-x" /><item><title>RE: SPIM failed to read after NRF SDK updated to 1.6.x</title><link>https://devzone.nordicsemi.com/thread/328763?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 09:55:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:460fe278-efc9-4963-8424-981cee8c4083</guid><dc:creator>squwal</dc:creator><description>&lt;p&gt;We did use a&amp;nbsp;oscilloscope to check the signals of spim lines. In sdk 1.5.1 the signals are correct, and in sdk 1.6.1 there are no output at all. But I can reach the spim interrupt handler and got a NRFX_SPIM_EVENT_DONE event.&lt;/p&gt;
&lt;p&gt;I will read the porting guide.&lt;/p&gt;
&lt;p&gt;Thank you again!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM failed to read after NRF SDK updated to 1.6.x</title><link>https://devzone.nordicsemi.com/thread/328757?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 09:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5972fda-eb66-4a4c-a379-908b05e98f01</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Do you have a logic analyzer? It would be great to have some logic traces of the SPI lines on the different applications, both working and non-working.&lt;/p&gt;
&lt;p&gt;Which board files to modify depends on what is changed, but the board porting guide should be helpful: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/zephyr/guides/porting/board_porting.html"&gt;developer.nordicsemi.com/.../board_porting.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM failed to read after NRF SDK updated to 1.6.x</title><link>https://devzone.nordicsemi.com/thread/328601?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 12:25:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db6939bd-66b7-4857-9038-22ee452872ec</guid><dc:creator>squwal</dc:creator><description>&lt;p&gt;The pins I used on my custom board are the same pins on 5340DK board. The other differences between the two boards I guess maybe the power circuit. I use VREGH&amp;nbsp; for cpu cores and PIOs, and I have checked the high level of pins is 3.3V.&lt;/p&gt;
&lt;p&gt;I am not using overlay files yet since the program works well in sdk 1.5.1. And I don&amp;#39;t know&amp;nbsp;which file should be modified for my custom board, is there any guide for me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM failed to read after NRF SDK updated to 1.6.x</title><link>https://devzone.nordicsemi.com/thread/328591?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 12:02:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e27f5bf-ca8a-4721-ab92-2ceeb3ad6da2</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;We strongly recommend that custom boards do not use the default board files in zephyr/boards/arm/nrf5340dk_nrf5340. As these will not reflect any changes you have made on your custom board.&lt;/p&gt;
&lt;p&gt;If you are using overlay files to differentiate between the boards, it would be helpful to see these overlays.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM failed to read after NRF SDK updated to 1.6.x</title><link>https://devzone.nordicsemi.com/thread/328573?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 11:22:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd19bac1-226b-408d-a159-87fcdfc0e48a</guid><dc:creator>squwal</dc:creator><description>&lt;p&gt;Both SPIM2 and SPIM4 met the problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;custom board files? Do you mean the overlay files?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM failed to read after NRF SDK updated to 1.6.x</title><link>https://devzone.nordicsemi.com/thread/328571?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 11:17:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d64f6e9-cb6f-446e-888b-623394a37c01</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Does this happen on a specific SPIM instance (SPIM0, SPIM2, SPIM4 etc.) or on every instance?&lt;/p&gt;
&lt;p&gt;Since you are using a custom board, you are also using custom board files, correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM failed to read after NRF SDK updated to 1.6.x</title><link>https://devzone.nordicsemi.com/thread/328561?ContentTypeID=1</link><pubDate>Wed, 08 Sep 2021 11:02:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:637e0c04-4029-4e0f-9181-a70fcfb85521</guid><dc:creator>squwal</dc:creator><description>&lt;p&gt;I added&amp;nbsp;CONFIG_DISK_DRIVERS=n to prj.conf, but still got the same result.&lt;/p&gt;
&lt;p&gt;It is very strange, because I tested the program (built in sdk v1.6.1) on 5340 DK board, it worked well. The program(built in sdk v1.6.1) failed on my custom board.&lt;/p&gt;
&lt;p&gt;But the program(built in sdk 1.5.1) worked well on both 5340 DK and my custom board!&lt;/p&gt;
&lt;p&gt;So I&amp;nbsp;really want to know why and what is&amp;nbsp;the different between 1.5.1 and 1.6.1?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM failed to read after NRF SDK updated to 1.6.x</title><link>https://devzone.nordicsemi.com/thread/328437?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 14:31:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80ef2c08-a751-4868-82b3-14c5148588da</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;There was a change to the disk drivers in zephyr, I think that might be the issue. Try to add:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_DISK_DRIVERS=n&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM failed to read after NRF SDK updated to 1.6.x</title><link>https://devzone.nordicsemi.com/thread/328387?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 12:20:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe138735-9273-4e91-909a-0ad6a3cdd8ff</guid><dc:creator>squwal</dc:creator><description>&lt;p&gt;Hi Oivind,&lt;/p&gt;
&lt;p&gt;Is there any advice for me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM failed to read after NRF SDK updated to 1.6.x</title><link>https://devzone.nordicsemi.com/thread/328174?ContentTypeID=1</link><pubDate>Mon, 06 Sep 2021 11:53:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:443af386-d350-4016-ac7c-17b84e903eb7</guid><dc:creator>squwal</dc:creator><description>&lt;p&gt;No, I did not change any code, and I use the same board.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048

CONFIG_BOARD_ENABLE_DCDC_APP=y
CONFIG_BOARD_ENABLE_DCDC_NET=y
CONFIG_BOARD_ENABLE_DCDC_HV=y

CONFIG_BT=y
CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_SMP=y
CONFIG_BT_SIGNING=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DIS=y
CONFIG_BT_ATT_PREPARE_COUNT=5
CONFIG_BT_PRIVACY=y
CONFIG_BT_DEVICE_NAME=&amp;quot;Zephyr Peripheral&amp;quot;
CONFIG_BT_DEVICE_APPEARANCE=833
CONFIG_BT_DEVICE_NAME_DYNAMIC=y
CONFIG_BT_DEVICE_NAME_MAX=65
CONFIG_BT_KEYS_OVERWRITE_OLDEST=y
CONFIG_BT_SETTINGS=y

CONFIG_NVS=y
CONFIG_SETTINGS=y

CONFIG_DISK_ACCESS=y
CONFIG_LOG=y
CONFIG_FILE_SYSTEM=y
CONFIG_FAT_FILESYSTEM_ELM=y

CONFIG_FPU=y
CONFIG_NEWLIB_LIBC=y
CONFIG_NEWLIB_LIBC_NANO=n
CONFIG_CMSIS_DSP=y
CONFIG_CMSIS_DSP_MATRIX=y
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
CONFIG_GPIO=n
CONFIG_NRFX_GPIOTE=y
CONFIG_NRFX_DPPI=y
CONFIG_NRFX_SPIM=y
CONFIG_NRFX_SPIM2=y
CONFIG_NRFX_SPIM3=y
CONFIG_NRFX_SPIM4=y

CONFIG_NO_OPTIMIZATIONS=y
CONFIG_RESET_ON_FATAL_ERROR=n
CONFIG_NRFX_QSPI=n
CONFIG_LOG_PROCESS_THREAD_SLEEP_MS=100
CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=128
CONFIG_PPI_TRACE=y
CONFIG_NRFX_TIMER=y
# CONFIG_NRFX_TIMER0 is not set
CONFIG_NRFX_TIMER1=y
CONFIG_NRFX_TIMER2=y
CONFIG_NRFX_PWM=y
CONFIG_NRFX_PWM0=y
CONFIG_NRFX_UARTE=y
CONFIG_NRFX_UARTE0=y
CONFIG_UART_ASYNC_API=y
#CONFIG_UART_0_NRF_UARTE=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_0_INTERRUPT_DRIVEN=y
#CONFIG_UART_0_NRF_FLOW_CONTROL=n

CONFIG_SERIAL=n
#
CONFIG_CONSOLE=y
#CONFIG_RTT_CONSOLE=y
CONFIG_LOG_PRINTK=y
#CONFIG_LOG_DEFAULT_LEVEL=4
#CONFIG_USE_SEGGER_RTT=y
#CONFIG_LOG_BACKEND_RTT=y
#CONFIG_LOG_BACKEND_UART=n
#CONFIG_LOG_DEFERRED=n
CONFIG_UART_CONSOLE=n
CONFIG_RTT_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y
#

#i2c
CONFIG_I2C=n
CONFIG_I2C_NRFX=y
CONFIG_I2C_1=y
CONFIG_NRFX_TWIM1=y


CONFIG_HEAP_MEM_POOL_SIZE=65536
CONFIG_MAIN_STACK_SIZE=16384
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=16384
#CONFIG_IDLE_STACK_SIZE = 4096
#CONFIG_PRIVILEGED_STACK_SIZE = 4096
#CONFIG_APPLICATION_WORKQUEUE_STACK_SIZE=4096
#CONFIG_APPLICATION_WORKQUEUE_STACK_SIZE=2048
CONFIG_HW_STACK_PROTECTION=y


#USB related configs
CONFIG_USB=y
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT=&amp;quot;Zephyr MSC sample&amp;quot;
CONFIG_LOG=y
CONFIG_USB_DRIVER_LOG_LEVEL_ERR=y
CONFIG_USB_MASS_STORAGE=y
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
CONFIG_USB_MASS_STORAGE_LOG_LEVEL_ERR=y
CONFIG_MASS_STORAGE_DISK_NAME=&amp;quot;NAND&amp;quot;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM failed to read after NRF SDK updated to 1.6.x</title><link>https://devzone.nordicsemi.com/thread/328160?ContentTypeID=1</link><pubDate>Mon, 06 Sep 2021 11:17:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9ed6316-701e-4f2c-abff-cf3ae9f3fbdc</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you show me the prj.conf of the project?&lt;/p&gt;
&lt;p&gt;Did you make any changes, other than updating the SDK version?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>