Is there a broadvoice32 sample project ?

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't support 16bit 16khz audio in I2S.

  

Best regards

  • Hi,

    thanks for reply,

    i think,i cannot transform code with ASM.

    # SPDX-License-Identifier: Apache-2.0

    cmake_minimum_required(VERSION 3.20.0)

    LINK_LIBRARIES(m)
    LINK_LIBRARIES(c)
    LINK_LIBRARIES(gcc)
    find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
    project(bv32_floating)

      
    set(CMAKE_BUILD_TYPE RELEASE)
    set(CMAKE_C_FLAGS "-O2 -ggdb")
    set(CMAKE_C_FLAGS_DEBUG "-O2 -ggdb")
    set(CMAKE_C_FLAGS_RELEASE "-O2 -ggdb")
    set(CMAKE_CXX_FLAGS "-O2 -ggdb")
    set(CMAKE_CXX_FLAGS_DEBUG "-O2 -ggdb")
    set(CMAKE_CXX_FLAGS_RELEASE "-O2 -ggdb")  

          

    Is that so? and cmake how to remove nano-lib?

    it still 58ms.

         

    Best regards

  • Hi 

    Are you saying those changes made no difference on the runtime? 

    What if you set CONFIG_SPEED_OPTIMIZATIONS=y in your project configuration?

    To remove nano-lib it should be sufficient to set the following configuration:

    CONFIG_NEWLIB_LIBC_NANO=n

    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't change then the configuration change has no effect. 

    Best regards
    Torbjørn

  • Hi,

    thanks for reply,

    CMakelists.txt

    remove_definitions(-O0)
    add_definitions(-w)
    add_definitions(-O2)

      

    prj.conf

    CONFIG_NEWLIB_LIBC_NANO=n
    CONFIG_SPEED_OPTIMIZATIONS=y
     
    runing the same 58ms
      
    Best regards
  • Hi 

    Then I am out of ideas unfortunately. 

    Have you been in touch with one of our regional sales managers? 
    Then you could contact him/her and ask if it is possible to get someone in R&D to investigate this further. 

    If you don't have a sales contact in Nordic just let me know, and I will send you the contact details. 

    Best regards
    Torbjørn

Related