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

Combine the Wireless_uart example and the USB CDC example

I tried to combine the Wireless_uart example with the USB CDC example to be capable of using both but it doesn't seem to be working.

When I plug my board using the nrf USB port, my board is not recognized by Windows, nor Linux.

My goal is to be able to send commands to the board through the nrf USB port to manipulate the 802.15.4 library (A bit like HCI_USB zephyr project for Bluetooth).

Any ideas ?

Thanks !

Heru

Parents Reply
  • Hi,

    I modified the example so that it compiles. The following changes were done:

    In sdk_config.h I disabled the following configs:

    #define NRFX_PRS_ENABLED 0
    #define NRF_CLI_ENABLED 0
    #define NRF_LOG_BACKEND_UART_ENABLED 0

    In the project explorer, I excluded nrf_drv_uart.c, nrfx_uart.c, and nrfx_uarte.c.

    usbd_cdc_802.15.4_uart_removed.zip

    I'm not sure if you planned to use the CLI or logger library, but most of the libraries use UART0, which is also used inside the 802.15.4 stack. I'm not sure if there are any ways to share this resource.

    Best regards,
    Jørgen

Children
Related