This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52832 HCI interface (zephyr HCI UART using seggar Embedded Studio)

Hello,

we are using NRF9160 +Nrf52832 in a project. NRf52832 has to be used as HCI interface..after searching for this, i came to know that zephyr based HCI uart sample needs to be build & programmed to the 52832. can i able to build the sample from zephyr rtos hci uart sample using seggar embedded studio. i tried "open nrf connect sdk" using nordic version of seggar.. after pointing to cmake,and boards, project not loaded. it gives out some errors..can anyone help me out with how to open & necessary conf files to use samples from zephyr rtos using seggar studio .Thank you

Parents Reply
  • Hi simon,

    Thanks for your reply. To reclarify you, i am trying to use Nordic version of embedded system studio, & trying to build the HCI UART sample which is in Zephyr master github. i doubt if NCS & zephyr both are same or different.

    i am trying to open build the HCI Uart Sample from zephyr master github, using the seggar embedded studio..help me how to load it,and build it. i am completely new to Zephyr, cmake & command line building, attached is the screenshot

Children
  • I don't see any faults with your nRF Connect Options. Could you try to check the box "Clean Build Directory"?

    I would recommend you to use NCS (which includes a modified version of Zephyr) since that is the one we are developing and maintaining. If you have Zephyr related questions you may get better answers here and here. I can see that you're using the master, which is not as stable as a tag and may break from time to time. I would recommend you to use an earlier and more stable version (no matter if you're using NCS or only Zephyr) if you're just getting started and want things to work.

    Please install the Toolchain Manager and NCS v1.3.0. If you follow the tutorial I provided in my earlier reply, you will be guided step by step how to do this.

    Best regards,

    Simon

  • Hello Simon,

    Thanks for your reply. i am already using tool chain manager,& NCS. i dont see any sample code for hci Uart  inside the ncs1.3.0 thats the reason i am trying to get it from zephyr as mentioned in many posts on this forum. have a look at the error, it says,something wrong with the cmake. also some config files is missing..help me correct it..

    i am already running so late, we need to push the product to market asap..Thank you

    if you have any properly configured sample of Hci Uart send it over, i will paste it in the ncs folder and try to open it.Thank you

  • Now, I see what's wrong. You chose the wrong board folder. Choose this:

    C:/Nordic/zephyr-master/zephyr-master/boards/arm/nrf52dk_nrf52832

    instead of this

    C:/Nordic/zephyr-master/zephyr-master/samples/bluetooth/hci_uart/boards/nrf52dk_nrf52832

    By the way, if you have opened SES from the Toolchain Manager, the Zephyr Base will be set automatically, and you should use the same Zephyr folder when building your projects. E.g. when I open NCS v1.3.0 through the Toolchain Manager and SES, the following Zephyr Base will be set in Tools-->Options-->nRF Connect-->Zephyr Base:

    C:\Users\<user name>\ncs\v1.3.0\zephyr

    Best regards,

    Simon

  • Hello,

    i followed your instructions, still same issue..

    i have one more point to let you know, i see that , the zephyr folder inside the ncs1.3.0 is just 23.5mb and i see only .git folder.. there is no other files.. likely i doubt some thing is wrong with the installation..i used tool chain manager only.

    look at the folder contents..

    let me know how to reinstall it..Thank you

    ..

  • Try to reinstall it.

    • First, remove it:

    • Then install it:

    Best regards,

    Simon

Related