![]() |
nRF5 SDK
v14.2.0
|
Choose documentation: | nRF5 SDK | S112 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
This example uses the USB CDC ACM module. See the documentation of this module for links to relevant specification documents.
This example shows how to use the CDC ACM USB class, commonly known as Virtual COM port. After connecting the USB cable, the development kit will enumerate as a COMx port on Windows hosts or as a /dev/ttyACMx
device on Linux/Unix hosts. The port can be opened and closed just like a traditional serial port.
For Windows XP/7 hosts, you must manually install the driver that is located in the example directory:
Windows 8 (and later) hosts will pick the correct driver (usbser.sys) automatically.
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\peripheral\usbd_cdc_acm
LED assignments:
Button assignments:
Test the USB CDC ACM Example application by performing the following steps: