<?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>Matter app development</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125770/matter-app-development</link><description>Hello, 
 i;m developing a matter over thread application on a Seeed board XIAO nRF54L15. 
 Currently the border router is set up on a Nrf52840 Dongle connected to a Rapberry Pi5 running Home Assistant. 
 The thread network is working fine and has some</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Dec 2025 12:17:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125770/matter-app-development" /><item><title>RE: Matter app development</title><link>https://devzone.nordicsemi.com/thread/556321?ContentTypeID=1</link><pubDate>Fri, 05 Dec 2025 12:17:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d45eaf71-6be6-4d41-adc4-a46968ca2270</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Great to hear that you solved it, and thank you for sharing the problems you encountered and how you resolved them!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter app development</title><link>https://devzone.nordicsemi.com/thread/556165?ContentTypeID=1</link><pubDate>Wed, 03 Dec 2025 16:26:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4d7b8e6-5650-421b-a774-a35bf1d7cf02</guid><dc:creator>ady</dc:creator><description>&lt;p&gt;Hello Marte and thank you for your support.&lt;/p&gt;
&lt;p&gt;I was having multiple issues at the same time and I will leave this here for the people running into same issues. So after 2 weeks and about 300+ builds / flash of different configurations I have managed to solve them.&lt;/p&gt;
&lt;p&gt;1. First error - the matter commissioning error&amp;nbsp;[FS]GeneralCommissioning: Received ArmFailSafe (0s) was because of ZAP tool. On editing the *.zap file the tool initialized some fields to null values and the one that was causing that error was Breadcrumb set to null in General Commissionig.&amp;nbsp; Conclusion: don&amp;#39;t trust the tools&amp;nbsp; - check the files before and after editing for unwanted changes&lt;/p&gt;
&lt;p&gt;2. There was some &amp;quot;stange values&amp;quot; internal capacitors for lfxo and hfxo on the board files&lt;/p&gt;
&lt;p&gt;3. This is the one made the mcu fail on boot with&amp;nbsp;E: 1056 [DL]Failed to parse factory data and is the strangest one.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For all the &amp;quot;newcomers&amp;quot; they should know about multimple comfigurations spread across multiple file types. This&amp;nbsp;will cause a lot of confusion.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I&amp;#39; m talking here about, for example, SB_CONFIG_MATTER_FACTORY_DATA_GENERATE ,&amp;nbsp;config , MATTER_FACTORY_DATA_GENERATE,&amp;nbsp;DSB_CONFIG_MATTER_FACTORY_DATA_GENERATE - they all do the same thing but are located in different files / commands:&amp;nbsp; (DSB_CONFIG_MATTER_FACTORY_DATA_GENERATE&amp;nbsp; - argument to west,&amp;nbsp;SB_CONFIG_MATTER_FACTORY_DATA_GENERATE in sysbuild.conf, MATTER_FACTORY_DATA_GENERATE in Kconfig.sysbuild for matter samples).&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The strangest thing was for me that all started to work after i removed&amp;nbsp;CONFIG_CHIP_FACTORY_DATA=y . I can&amp;#39;t say I understand why !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter app development</title><link>https://devzone.nordicsemi.com/thread/556149?ContentTypeID=1</link><pubDate>Wed, 03 Dec 2025 15:05:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11e179c7-a81c-4f3e-80ae-6ef5a1c4598e</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The partitions look correct.&lt;/p&gt;
&lt;p&gt;Since you are generating new certificates, can you try setting&amp;nbsp;CONFIG_CHIP_FACTORY_DATA_USE_DEFAULT_CERTS=n in prj.conf to disable the default certificates?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter app development</title><link>https://devzone.nordicsemi.com/thread/555918?ContentTypeID=1</link><pubDate>Mon, 01 Dec 2025 17:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:180b33c8-4492-43a9-a077-9c1fdc5edce1</guid><dc:creator>ady</dc:creator><description>&lt;p&gt;Yes, this is the defaul one for this board:&lt;/p&gt;
&lt;p&gt;mcuboot:&lt;br /&gt; address: 0x0&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0xD000&lt;br /&gt;mcuboot_pad:&lt;br /&gt; address: 0xD000&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0x800&lt;br /&gt;app:&lt;br /&gt; address: 0xD800&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0xD1800&lt;br /&gt;mcuboot_primary:&lt;br /&gt; orig_span: &amp;amp;id001&lt;br /&gt; - mcuboot_pad&lt;br /&gt; - app&lt;br /&gt; span: *id001&lt;br /&gt; address: 0xD000&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0xD2000&lt;br /&gt;mcuboot_primary_app:&lt;br /&gt; orig_span: &amp;amp;id002&lt;br /&gt; - app&lt;br /&gt; span: *id002&lt;br /&gt; address: 0xD800&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0xD1800&lt;br /&gt;mcuboot_secondary:&lt;br /&gt; address: 0xDF000&lt;br /&gt; orig_span: &amp;amp;id003&lt;br /&gt; - mcuboot_secondary_pad&lt;br /&gt; - mcuboot_secondary_app&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0x93000&lt;br /&gt; span: *id003&lt;br /&gt;mcuboot_secondary_pad:&lt;br /&gt; address: 0xDF000&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0x800&lt;br /&gt;mcuboot_secondary_app:&lt;br /&gt; address: 0xDF800&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0x92800&lt;br /&gt;factory_data:&lt;br /&gt; address: 0x172000&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0x1000&lt;br /&gt;settings_storage:&lt;br /&gt; address: 0x173000&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0xA000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter app development</title><link>https://devzone.nordicsemi.com/thread/555867?ContentTypeID=1</link><pubDate>Mon, 01 Dec 2025 13:29:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:512b499e-4c11-49ec-9f3a-e3d198d5474c</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I do not get the same errors when testing your configs on an nRF54L15 DK. Do you have a static partition file for the board, e.g., pm_static_&amp;lt;build_target&amp;gt;.yml? See&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.1.1/page/matter/nrfconnect_factory_data_configuration.html#preparing_factory_data_partition_on_a_device"&gt; Preparing factory data partition on a device&lt;/a&gt;&amp;nbsp;for more information.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter app development</title><link>https://devzone.nordicsemi.com/thread/555666?ContentTypeID=1</link><pubDate>Thu, 27 Nov 2025 17:43:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:698635a0-df45-4ff9-acb8-49def934701a</guid><dc:creator>ady</dc:creator><description>&lt;p&gt;Hello Marte,&lt;/p&gt;
&lt;p&gt;thanks for the suggestions. I have managed to make it work on the default configuration.&lt;/p&gt;
&lt;p&gt;But if I add to prj.conf:&lt;/p&gt;
&lt;p&gt;# Enable building the new factory data&lt;br /&gt;CONFIG_CHIP_FACTORY_DATA=y&lt;br /&gt;CONFIG_CHIP_FACTORY_DATA_BUILD=y&lt;br /&gt;CONFIG_CHIP_FACTORY_DATA_USE_DEFAULT_CERTS=y&lt;br /&gt;CONFIG_CHIP_FACTORY_DATA_MERGE_WITH_FIRMWARE=y&lt;br /&gt;CONFIG_CHIP_DEVICE_GENERATE_ROTATING_DEVICE_UID=n&lt;br /&gt;CONFIG_CHIP_FACTORY_DATA_GENERATE_ONBOARDING_CODES=y&lt;br /&gt;CONFIG_CHIP_FACTORY_DATA_CERT_SOURCE_GENERATED=y&lt;br /&gt;CONFIG_CHIP_FACTORY_DATA_GENERATE_CD=y&lt;/p&gt;
&lt;p&gt;# Set up the Factory Data&lt;br /&gt;CONFIG_CHIP_DEVICE_SERIAL_NUMBER=&amp;quot;74269132&amp;quot;&lt;br /&gt;CONFIG_CHIP_DEVICE_VENDOR_ID=65521&lt;br /&gt;CONFIG_CHIP_DEVICE_VENDOR_NAME=&amp;quot;Nordic Semiconductor ASA&amp;quot;&lt;br /&gt;CONFIG_CHIP_DEVICE_PRODUCT_ID=32781&lt;br /&gt;CONFIG_CHIP_DEVICE_PRODUCT_NAME=&amp;quot;Environment sensor&amp;quot;&lt;br /&gt;CONFIG_CHIP_DEVICE_MANUFACTURING_DATE=&amp;quot;2025-11-15&amp;quot;&lt;br /&gt;CONFIG_CHIP_DEVICE_HARDWARE_VERSION=1&lt;br /&gt;CONFIG_CHIP_DEVICE_HARDWARE_VERSION_STRING=&amp;quot;DTS&amp;quot;&lt;br /&gt;CONFIG_CHIP_DEVICE_DISCRIMINATOR=0x635&lt;br /&gt;CONFIG_CHIP_DEVICE_SPAKE2_PASSCODE=65286841&lt;br /&gt;CONFIG_CHIP_DEVICE_SPAKE2_IT=1000&lt;br /&gt;CONFIG_CHIP_DEVICE_SPAKE2_TEST_VERIFIER=&amp;quot;3kX890KClffU+BvLXQm68RDvXWlyuPofi8DEFkv74mQEnC+g02oLJTkItSDLBUvuYX87D1C7SnHZ7PuWvDziO57cHjPgUlkEhlRj+bvWKmE/FEwKuffl+VB7Dlx9HurJwQ==&amp;quot;&lt;br /&gt;CONFIG_CHIP_DEVICE_ROTATING_DEVICE_UID=&amp;quot;1566d6032a898e53f7d58133a19ac9d2&amp;quot;&lt;br /&gt;CONFIG_CHIP_DEVICE_ENABLE_KEY=&amp;quot;449eb9544ee3eef8d9fb7accb514fada&amp;quot;&lt;/p&gt;
&lt;p&gt;SB_CONFIG_MATTER_FACTORY_DATA_GENERATE=y to sysbuild.conf&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I get in the build:&lt;/p&gt;
&lt;p&gt;[11/23] Generating new Factory Data...&lt;br /&gt;[INFO] Generating SPAKE2+ Verifier...&lt;br /&gt;[INFO] Generating new Certification Declaration using chip-cert...&lt;br /&gt;[INFO] Generating new PAI and DAC certificates using chip-cert...&lt;br /&gt;[INFO] /home/ady/environment_sensor/build/environment_sensor/zephyr/PAI_cert.der&lt;br /&gt;[INFO] /home/ady/environment_sensor/build/environment_sensor/zephyr/PAI_key.der&lt;br /&gt;[INFO] /home/ady/environment_sensor/build/environment_sensor/zephyr/DAC_cert.der&lt;br /&gt;[INFO] /home/ady/environment_sensor/build/environment_sensor/zephyr/DAC_key.der&lt;br /&gt;[WARNING] KEY password has not been provided. It means that DAC key is not encrypted.&lt;br /&gt;[INFO] Validating JSON with schema...&lt;br /&gt;[INFO] Validate OK&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BUT the app fails on boot with&lt;/p&gt;
&lt;p&gt;*** Booting My Application v1.1.1 - unknown commit ***&lt;br /&gt;*** Using nRF Connect SDK v3.1.1-e2a97fe2578a ***&lt;br /&gt;*** Using Zephyr OS v4.1.99-ff8f0c579eeb ***&lt;br /&gt;D: 1025 [DL]Boot reason: 1&lt;br /&gt;I: 1029 [DL]BLE address: DD:E2:D7:49:45:62&lt;br /&gt;E: LED index out of the range&lt;br /&gt;I: 1042 [DL]CHIP task running&lt;br /&gt;I: Init CHIP stack&lt;br /&gt;I: 1046 [DL]OpenThread started: OK&lt;br /&gt;I: 1050 [DL]Setting OpenThread device type to MINIMAL END DEVICE&lt;br /&gt;E: 1056 [DL]Failed to parse factory data&lt;br /&gt;E: FactoryDataProvider::Init() failed [Error: 160]&lt;br /&gt;E: Exited with code a0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter app development</title><link>https://devzone.nordicsemi.com/thread/555541?ContentTypeID=1</link><pubDate>Wed, 26 Nov 2025 15:25:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b6578f5-755e-4c43-be90-9ddb47194f1b</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
[quote user="ady"]The test cerificates are bult only for the samples ? For example if i clone a sample and change it&amp;#39;s name, the test certificate won&amp;#39;t work anymore?[/quote]
&lt;p&gt;The samples use pre-generated certificates from matter/credentials/development/attestation (see&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-connectedhomeip/tree/master/credentials/development/attestation"&gt;https://github.com/nrfconnect/sdk-connectedhomeip/tree/master/credentials/development/attestation&lt;/a&gt;) that match the configured product ID. Even if you copy a sample and change its name, the test certificate should still work.&amp;nbsp;&lt;/p&gt;
[quote user="ady"]Or if I build an example with auto-generation of new CD, DAC and PAI certificates&amp;nbsp; (with chip_cert) the mater commissioning will fail ?&amp;nbsp; (We should use chip_cert from matter repository or the one from sdk ?)[/quote]
&lt;p&gt;If you auto-generate new CD, DAC, and PAI, it should work as well. However, if you are using chip-tool as the commissioner, you need to provide the new certificates to chip-tool. If not, it will try to use the default certificates, and the commissioning will fail.&lt;/p&gt;
&lt;p&gt;I am not sure what you mean by the Matter repository or the SDK, but the certificates used by the samples are from the nRF Connect SDK downstream of the Matter repository, i.e., under&amp;nbsp;matter/credentials/development/attestation.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have not tested Matter with Home Assistant, so I am not familiar with how it handles test certificates. However, if you have successfully commissioned the nRF52840 using test certificates, then it should also work with the nRF54L15. If commissioning still fails, can you provide logs from Home Assistant and complete logs from the device? Make sure to do a full erase or factory reset of the device before commissioning.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter app development</title><link>https://devzone.nordicsemi.com/thread/555507?ContentTypeID=1</link><pubDate>Wed, 26 Nov 2025 12:43:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9984f466-fabf-4255-8fb2-c010b53742ec</guid><dc:creator>ady</dc:creator><description>&lt;p&gt;Im building for xiao_nrf54l15/nrf54l15 and everything builds&amp;nbsp;fine but it seems that board type has some issues. Your first suggestion about the oscillator already helped - it seems there was a misconfiguration in&amp;nbsp;xiao_nrf54l15_nrf54l15_cpuapp.dts about capacitors (didn&amp;#39;t solved the problem).&lt;/p&gt;
&lt;p&gt;I have been reading this forum for a while and it seems you are the best person to ask for help!&lt;/p&gt;
&lt;p&gt;The test cerificates are bult only for the samples ? For example if i clone a sample and change it&amp;#39;s name, the test certificate won&amp;#39;t work anymore?&lt;/p&gt;
&lt;p&gt;Or if I build an example with auto-generation of new CD, DAC and PAI certificates&amp;nbsp; (with chip_cert) the mater commissioning will fail ?&amp;nbsp; (We should use chip_cert from matter repository or the one from sdk ?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter app development</title><link>https://devzone.nordicsemi.com/thread/555405?ContentTypeID=1</link><pubDate>Tue, 25 Nov 2025 14:31:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d551bc6-5bf2-4c99-b0f2-86f9e23bab1c</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From the event log, it seems like you marked the ticket as verified answer, which closed it. When you replied, it was reopened again.&lt;/p&gt;
&lt;p&gt;The thermostat sample should work out of the box, and it should not be necessary to change the certificates. The test certificates are already used by default in the sample.&lt;/p&gt;
&lt;p&gt;What board target are you using when building for the&amp;nbsp;Seeed board XIAO nRF54L15?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter app development</title><link>https://devzone.nordicsemi.com/thread/555362?ContentTypeID=1</link><pubDate>Tue, 25 Nov 2025 10:47:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abe7199d-8c56-4a9f-bf1d-ed18bc9ef603</guid><dc:creator>ady</dc:creator><description>&lt;p&gt;Why is this ticked closed ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter app development</title><link>https://devzone.nordicsemi.com/thread/555221?ContentTypeID=1</link><pubDate>Mon, 24 Nov 2025 13:16:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4590d454-1b1d-4dc7-bb10-21986c29a4fd</guid><dc:creator>ady</dc:creator><description>&lt;p&gt;It has the a 32768 kHz crystal between pin P1.00 and P1.01&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter app development</title><link>https://devzone.nordicsemi.com/thread/555214?ContentTypeID=1</link><pubDate>Mon, 24 Nov 2025 12:56:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72522aa1-6363-4b06-9e43-948984250dd3</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Does the&amp;nbsp;XIAO nRF54L15 have an external 32.768 kHz crystal? If not, you need to set this config:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>