This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB CDC ACM Sample in NRF5340DK

Hi.

We are working in a project that needs to exchange data via serial port. In this sample a virtual serial port is created in the nRF USB connector. Is it possible to configure the sample in order to create that virtual serial port in the main USB connector (the one used for the UART) along with the 3 virtual COM ports that the board has by default? The goal is to have working at the same time a shell module and that new virtual serial port.

Thanks.

Parents
  • Hi,

    No, that is not possible. What you refer to as "the main USB connector" (the one on the left hand side of the DK board) is connected to the onboard debugger, and not the nRF itself (though on revision 2 DKs the onboard debugger is also a nRF5340). We do not provide any solution for modifying the firmware on the onboard debugger, which is what you would need in this case. Also, it is connected to the nRF by UART, and not USB, so it acts as a USB - UART bridge.

    The USB CDC ACM Sample Application is for firmware that runs on the nRF5340, and that uses the USB peripheral in the nRF5340. This is connected to the USB port on the bottom of the DK board. This is the only USB connector that is connected directly to the nRF.

Reply
  • Hi,

    No, that is not possible. What you refer to as "the main USB connector" (the one on the left hand side of the DK board) is connected to the onboard debugger, and not the nRF itself (though on revision 2 DKs the onboard debugger is also a nRF5340). We do not provide any solution for modifying the firmware on the onboard debugger, which is what you would need in this case. Also, it is connected to the nRF by UART, and not USB, so it acts as a USB - UART bridge.

    The USB CDC ACM Sample Application is for firmware that runs on the nRF5340, and that uses the USB peripheral in the nRF5340. This is connected to the USB port on the bottom of the DK board. This is the only USB connector that is connected directly to the nRF.

Children
Related