<?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>Migration from NCS 3.0.2 to 3.2.1, device-tree and USB problems.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126561/migration-from-ncs-3-0-2-to-3-2-1-device-tree-and-usb-problems</link><description>Hi, 
 We are working on the nrf5340 and our current device firmware uses the NCS 3.0.2 (i.e. nRF Connect SDK 3.0.2). We wanted to try an upgrade to NCS 3.2.1 and followed both migration guides to 3.1.0 and 3.2.0 . However, we got plenty of problems with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Feb 2026 15:56:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126561/migration-from-ncs-3-0-2-to-3-2-1-device-tree-and-usb-problems" /><item><title>RE: Migration from NCS 3.0.2 to 3.2.1, device-tree and USB problems.</title><link>https://devzone.nordicsemi.com/thread/560700?ContentTypeID=1</link><pubDate>Mon, 09 Feb 2026 15:56:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fcb4247-24d1-4492-bc4a-06c75d0b7903</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;Ok, thanks for the info.&lt;/p&gt;
&lt;p&gt;Right now I&amp;#39;m not going to migrate up to 3.2.x due to the nrfx4 breaking changes, as I&amp;#39;ll have to redo a lot of code due to the NRFX_SUCCESS madness.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to at least get to 3.1.1 but even that is hard (flash size issues with wifi, especially WPA_ENTERPRISE.)&lt;/p&gt;
&lt;p&gt;See&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/126896/migration-from-ncs-2-9-0-to-ncs-3-2-1-is-hard-not-well-documented-and-will-break-all-nrfx-code"&gt;Migration from NCS 2.9.0 to NCS 3.2.1 is hard, not well documented and will break all nrfx code.&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from NCS 3.0.2 to 3.2.1, device-tree and USB problems.</title><link>https://devzone.nordicsemi.com/thread/560699?ContentTypeID=1</link><pubDate>Mon, 09 Feb 2026 15:49:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0c0be12-ab85-4369-905e-6a46003b0b5f</guid><dc:creator>David M. M.</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For the moment we stay with the old (deprecated) USB driver and it works.&lt;/p&gt;
&lt;p&gt;We use USB CDC ACM and the new &lt;a href="https://docs.zephyrproject.org/latest/connectivity/usb/device_next/usb_device.html#cdc-acm-uart"&gt;USB driver by Zephyr&lt;/a&gt; seems very similar for this use case.&lt;/p&gt;
&lt;p&gt;Good luck.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from NCS 3.0.2 to 3.2.1, device-tree and USB problems.</title><link>https://devzone.nordicsemi.com/thread/560570?ContentTypeID=1</link><pubDate>Fri, 06 Feb 2026 17:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7412d6d1-c9a1-4d15-88e3-b228a35cc264</guid><dc:creator>BrianW</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am going through the same pain (2.9.0 to 3.2.1) and agree the migration documents are lacking several breaking changes...&lt;/p&gt;
&lt;p&gt;What did you do about the USB driver depreciation?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;brian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from NCS 3.0.2 to 3.2.1, device-tree and USB problems.</title><link>https://devzone.nordicsemi.com/thread/559191?ContentTypeID=1</link><pubDate>Tue, 20 Jan 2026 16:02:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:746ac189-fe9f-4109-ad1f-711366224ec1</guid><dc:creator>David M. M.</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We figured out how to fix the upgrade. Below are some notes on our issues and solutions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;25% Zephyr/HAL footprint increase:&lt;/strong&gt; By upgrading from NCS 3.0.2 to 3.2.1, our minimal test project increased in size by 25%. 393kB is now used by Zephyr and Nordic HAL (nrf/nrfx) which is a lot since we don&amp;rsquo;t use much features, and the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/optimizing/memory.html"&gt;guide to reduce Zephyr footprint&lt;/a&gt; will not help in this case. I don&amp;rsquo;t know how Nordic could continue with nRF52 and nRF53 without dropping flash-heavy features such as bootloader or TF-M. It is also unfortunate that Nordic discourages the use of its HAL, which could be a solution to this flash-footprint problem. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/116428/zephyr-ncs-too-large-memory-footprint"&gt;This is not new.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Changes in partition&amp;rsquo;s DTSI location:&lt;/strong&gt; In the boards, the files that specify partitions have changed location. They are now located in &amp;ldquo;&lt;em&gt;\zephyr\dts\vendor\nordic&lt;/em&gt;&amp;rdquo; instead of &amp;ldquo;&lt;em&gt;\zephyr\dts\common\nordic&lt;/em&gt;&amp;rdquo;. However the &amp;ldquo;&lt;em&gt;vendor&lt;/em&gt;&amp;rdquo; folder can be omitted in the include, i.e. &amp;ldquo;&lt;em&gt;#include &amp;lt;nordic/nrf5340_cpuapp_partition.dtsi&amp;gt;&lt;/em&gt;&amp;rdquo; should be used instead of &amp;ldquo;&lt;em&gt;#include &amp;lt;common/nordic/nrf5340_cpuapp_partition.dtsi&amp;gt;&lt;/em&gt;&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;In NRFX HAL, the NRFX_SUCCESS return value is not used any more:&lt;/strong&gt; For NRFX modules such as TWIM, GPIOTE, PWM, return values have been modified. If you assume that the condition &amp;ldquo;&lt;em&gt;nrfx_twim_xfer(&amp;amp;i2c1_handle, &amp;amp;i2c_xfer_desc, 0) == NRFX_SUCCESS&lt;/em&gt;&amp;rdquo; is a valid condition, you&amp;rsquo;re wrong, you must test &amp;ldquo;&lt;em&gt;nrfx_twim_xfer(&amp;amp;i2c1_handle, &amp;amp;i2c_xfer_desc, 0) == 0&lt;/em&gt;&amp;rdquo;. Error codes have been changed such as &amp;ldquo;&lt;em&gt;-EALREADY&lt;/em&gt;&amp;rdquo; must be used instead of &amp;ldquo;&lt;em&gt;NRFX_ERROR_ALREADY&lt;/em&gt;&amp;rdquo;. The &lt;em&gt;NRFX_SUCCESS&lt;/em&gt; was already a strange definition with a value of &lt;em&gt;0x0BAD0000&lt;/em&gt;...&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;BLE connection interval in micro-seconds (not everywhere):&lt;/strong&gt; The connection interval is now given in u-seconds in the &amp;ldquo;&lt;em&gt;bt_conn_le_info&lt;/em&gt;&amp;rdquo; structure. However, the callback function for connection parameter update, still returns an interval in 1.25ms/LSB!&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Watchdog:&lt;/strong&gt; Without any sample for using NRFX watchdog, we had to reimplement it using the Zephyr watchdog. As I mentioned above, it is unfortunate that the use of the HAL is discouraged. I personally think that something like watchdog should be as simple as possible, and the Zephyr layer is a bad idea.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Good luck, and I hope Nordic engineers will reevaluate the role of their HAL.&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from NCS 3.0.2 to 3.2.1, device-tree and USB problems.</title><link>https://devzone.nordicsemi.com/thread/558903?ContentTypeID=1</link><pubDate>Fri, 16 Jan 2026 13:41:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e98356f8-ca88-4db8-a377-20bfb695787a</guid><dc:creator>David M. M.</dc:creator><description>&lt;p&gt;Another remark, in the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/migration/migration_guide_3.2.html"&gt;migration guide to 3.2.0&lt;/a&gt;, it is indicated to &amp;ldquo;Use CONFIG_NRFX_WDT instead of the following: CONFIG_NRFX_WDT0&amp;rdquo;. But, it seems that the NRFX_WDT is not configurable (has no prompt, see &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/a600317285ff82884055c2135a2ec39af7d42191/modules/hal_nordic/nrfx/Kconfig#L357"&gt;here&lt;/a&gt;). So, we&amp;rsquo;re also not sure how to use the NRFX watchdog after upgrade.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>