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

How to enable UART COM port on nRF52840 Dongle

Hi 

I am working on nRF52840 Dongle S140 SDK15.2.

i am developing BLE NUS application for dongle. but dongle is not supporting UART com port through USB connection.

What should be enabled to get COM Port over USB?

I tried to connect UART pin 10, 13 externally to get UART port. but we do not want to connect this way. we want to get UART console over USB itself.

Please guide.

Thanks

Rekha

Parents Reply
  • i have used UART as transport layer.  nrf_cli_fprint() and NRF_LOG_INFO() printf statements are printed over terminal. How to make these logs to print over virtual COM  Port (USB connection) ? 

    i am using app_usbd_cdc_acm_write() : 

     // Send data through CDC ACM

    char ar[] = "USB CDC Started";    

    ret = app_usbd_cdc_acm_write(&m_app_cdc_acm, ar, sizeof(ar));

            if(ret != NRF_SUCCESS)

            {

                NRF_LOG_INFO("CDC ACM unavailable, data received: %s", m_nus_data_array);

            }

    But i am unable to see this on USB CDC ACM.

    Thanks

Children
No Data
Related