<?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>[nRF5340 + nRF7002] MbedTLS + WiFi BLE Provisioning</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118928/nrf5340-nrf7002-mbedtls-wifi-ble-provisioning</link><description>Hello, 
 Development Environment : 
 
 SDK version: nRF Connect SDK v2.7.0 
 Toolchain version: nRF Connect SDK Toolchain v2.7.0 
 Development environment: Ubuntu 22.04 
 Development tool: Visual Studio Code 
 Development board: nrf7002dk_nrf5340_cpuapp_ns</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Feb 2025 14:47:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118928/nrf5340-nrf7002-mbedtls-wifi-ble-provisioning" /><item><title>RE: [nRF5340 + nRF7002] MbedTLS + WiFi BLE Provisioning</title><link>https://devzone.nordicsemi.com/thread/523080?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 14:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e8d1cef-f274-4e39-895d-345b604e60ec</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Sagar,&lt;/p&gt;
&lt;p&gt;Thanks for checking with us.Let me explain you questions one by one.&lt;/p&gt;
[quote user=""]my question is that can we successfully build and run the mentioned sample application for&amp;nbsp;&lt;span&gt;&lt;strong&gt;nrf7002dk_nrf5340_cpuapp_ns&lt;/strong&gt; board or in general _ns board type ?&lt;/span&gt;[/quote]
&lt;p&gt;It should work with most Wi-Fi samples when built with &lt;code&gt;ns&lt;/code&gt;, but this option is not fully tested, and as you can see, it may not always work.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;SECURE FAULT&lt;/strong&gt; likely means that code from the non-secure domain is attempting to access secure memory.&lt;/p&gt;
&lt;p&gt;This is probably caused by memory restrictions since &lt;strong&gt;nrf7002dk/nrf5340/cpuapp&lt;/strong&gt; already consumes a significant amount of resources, as noted in the &lt;strong&gt;Memory requirements for Bluetooth LE-based provisioning&lt;/strong&gt;.&lt;/p&gt;
[quote user=""]&lt;p&gt;So, another question is can we build the project for secure board configuration (&lt;strong&gt;nrf7002dk_nrf5340_cpuapp&lt;/strong&gt;) when &lt;strong&gt;MbedTLS&lt;/strong&gt; is enabled ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In short what i want to ask is that can these two functionalities work together or not ?&lt;/p&gt;[/quote]
&lt;p&gt;You can refer to the sample&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/samples/cellular/nrf_cloud_multi_service/README.html"&gt;Cellular: nRF Cloud multi-service&lt;/a&gt;, it also support nRF7002DK. Here the combination of&amp;nbsp;&lt;span&gt;nrf7002dk/nrf5340/cpuapp/ns and MbedTLS are enabled, which are more commenly used due to&amp;nbsp;all the crypto operations are run on the secure side of the device.&amp;nbsp;&amp;nbsp;nrf7002dk/nrf5340/cpuapp and MbedTLS may be possible but we do not have much reference to share.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>