<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>Is there a broadvoice32 sample project ?</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/87988/is-there-a-broadvoice32-sample-project</link><description>Hi, 
 NCS1.9, VScode, 
 Is there a broadvoice32 sample project for nRF52840? 
 my problem is: 
 encode one frame will takes 20ms (but decoding only takes 2ms), 
 so it can&amp;#39;t support 16bit 16khz audio in I2S. 
 
 Best regards</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Mon, 30 May 2022 07:40:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/87988/is-there-a-broadvoice32-sample-project" /><item><title>RE: Is there a broadvoice32 sample project ?</title><link>https://test-devzone.nordicsemi.com/thread/369887?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 07:40:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14971d06-d5b1-4c67-9e08-2cfda0a7509e</guid><dc:creator>user2116</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then I am out of ideas unfortunately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you been in touch with one of our regional sales managers?&amp;nbsp;&lt;br /&gt;Then you could contact him/her and ask if it is possible to get&amp;nbsp;someone in R&amp;amp;D to&amp;nbsp;investigate this further.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t have a sales contact in Nordic just let me know, and I will send you the contact details.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a broadvoice32 sample project ?</title><link>https://test-devzone.nordicsemi.com/thread/369836?ContentTypeID=1</link><pubDate>Sat, 28 May 2022 00:28:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a93aeda9-01b4-46c8-9f23-4f34c062f7d9</guid><dc:creator>user106325</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks for reply,&lt;/p&gt;
&lt;p&gt;CMakelists.txt&lt;/p&gt;
&lt;p&gt;remove_definitions(-O0)&lt;br /&gt;add_definitions(-w)&lt;br /&gt;add_definitions(-O2)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;prj.conf&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NEWLIB_LIBC_NANO&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SPEED_OPTIMIZATIONS&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;runing the same 58ms&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a broadvoice32 sample project ?</title><link>https://test-devzone.nordicsemi.com/thread/369746?ContentTypeID=1</link><pubDate>Fri, 27 May 2022 10:27:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76dff12f-80ae-42c5-95be-fcb8cab1dd68</guid><dc:creator>user2116</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you saying those changes made no difference on the runtime?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What if you set &lt;em&gt;CONFIG_SPEED_OPTIMIZATIONS=y&lt;/em&gt; in your project configuration?&lt;/p&gt;
&lt;p&gt;To remove nano-lib it should be sufficient to set the following configuration:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;CONFIG_NEWLIB_LIBC_NANO=n&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;For both of these changes please take a loot at your RAM and flash usage, to see if there is any change after you build. If the RAM or flash consumption doesn&amp;#39;t change then the configuration change has no effect.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a broadvoice32 sample project ?</title><link>https://test-devzone.nordicsemi.com/thread/369198?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 08:10:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92defb26-c667-46f4-bf2d-f80e3648ba52</guid><dc:creator>user106325</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks for reply,&lt;/p&gt;
&lt;p&gt;i think,i cannot transform code with ASM.&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;# SPDX-License-Identifier: Apache-2.0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;cmake_minimum_required(VERSION 3.20.0)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;LINK_LIBRARIES(m)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;LINK_LIBRARIES(c)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;LINK_LIBRARIES(gcc)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;project(bv32_floating)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;set(CMAKE_BUILD_TYPE RELEASE)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;set(CMAKE_C_FLAGS &amp;quot;-O2 -ggdb&amp;quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;set(CMAKE_C_FLAGS_DEBUG &amp;quot;-O2 -ggdb&amp;quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;set(CMAKE_C_FLAGS_RELEASE &amp;quot;-O2 -ggdb&amp;quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;set(CMAKE_CXX_FLAGS &amp;quot;-O2 -ggdb&amp;quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;set(CMAKE_CXX_FLAGS_DEBUG &amp;quot;-O2 -ggdb&amp;quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;set(CMAKE_CXX_FLAGS_RELEASE &amp;quot;-O2 -ggdb&amp;quot;)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Is that so? and cmake how to remove&amp;nbsp;&lt;span&gt;nano-lib?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;it still 58ms.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a broadvoice32 sample project ?</title><link>https://test-devzone.nordicsemi.com/thread/368934?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 08:21:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e13131d-2697-48a3-823d-873d3fae9380</guid><dc:creator>user2116</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The developer had some general advice you could try:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Check which compiler optimizations you are using. gcc -O2 without nano-lib would be best suited for performance.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- Try to find loops in the code where things like &amp;#39;multiply and accumulate&amp;#39; is handled, and replace this with ASM inline DSP instructions. The Cortex M4 and M33 has various different DSP SIMD instructions which can accelerate these things significantly. Please note that this is significantly more work, since it requires more of a code rewrite, and a good understanding of the DSP functionality in the ARM core.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a broadvoice32 sample project ?</title><link>https://test-devzone.nordicsemi.com/thread/368695?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 01:17:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54396410-c9b2-488b-9739-7470cf98b575</guid><dc:creator>user106325</dc:creator><description>&lt;p&gt;Hi,&lt;span&gt;Torbj&amp;oslash;rn&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;thank you very much.&lt;/p&gt;
&lt;p&gt;yes, encode one frame will&amp;nbsp;&lt;span&gt;&amp;nbsp;takes 58ms on the nRF52840 or on the nRF5340.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;decode only takes 5ms.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;zip is very simple test project.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a broadvoice32 sample project ?</title><link>https://test-devzone.nordicsemi.com/thread/368647?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 13:49:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f17a5b6d-9156-442c-ab47-d2d9122aa7ad</guid><dc:creator>user2116</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You mean it takes 58ms on the nRF52840 or on the nRF5340?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will try to get some input from one of the developers on this,&amp;nbsp;if they have some advice on ways to optimize the library.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a broadvoice32 sample project ?</title><link>https://test-devzone.nordicsemi.com/thread/368484?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 01:31:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:142db4db-ebe2-453d-b2a7-5a7dbeafa56e</guid><dc:creator>user106325</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;thanks for reply,&lt;/p&gt;
&lt;p&gt;i got b&lt;span&gt;roadvoice&amp;nbsp;&lt;/span&gt;source code from&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Reference-designs/nRFready-Smart-Remote-3-for-nRF52-Series"&gt;Smart Remote 3 reference design&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i created a project and build it for nRF5340-DK / nRF52840-DK,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;encode one frame take 58ms,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have no idea. I don&amp;#39;t know where to start,&lt;br /&gt;this problem has bothered me for a long time;&lt;br /&gt;if possible, please help me look at the code project zip.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1652923313511v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://test-devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/bv32_5F00_floating.zip"&gt;test-devzone.nordicsemi.com/.../bv32_5F00_floating.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there a broadvoice32 sample project ?</title><link>https://test-devzone.nordicsemi.com/thread/368319?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 11:48:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7c3f68a-a12f-48b3-9ad0-d7fce8c93428</guid><dc:creator>user2116</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There&amp;nbsp;is still no official Broadvoice32 support in NCS, no.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I mentioned in &lt;a href="https://test-devzone.nordicsemi.com/f/nordic-q-a/77852/how-to-play-52840-broadvoice"&gt;this case&lt;/a&gt; you would need to use the implementation from the smart remote 3 reference design.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>