Hi
Is there a Nordic example for using a nRF52840 to communicate with a peripheral using USB Serial?
I am using nRF Connect SDK v2.1.0
Thanks
Garrett
Hi
Is there a Nordic example for using a nRF52840 to communicate with a peripheral using USB Serial?
I am using nRF Connect SDK v2.1.0
Thanks
Garrett
Hi Garrett,
You can refer the Central UART sample in case you wish to communicate with a peripheral, or you can use the Peripheral UART sample according to your needs. For the peripheral UART sample, make sure to build it with prj_cdc.conf. I am not sure if the Central UART sample has similar support for USB CDC ACM, but you can add it similar to the prj_cdc.conf from the peripheral UART sample,
Best Regards,
Priyanka
Thanks for the reply Priyanka
I have to admit, that I only grasp a small amount of what I might need to do to get a working example.
To build with prj_cdc.conf, I found a post here, so I did something similar (currently for the nRF52833_DK, while I wait for my nRF52840 DK board to arrive):
The project builds/runs, but my PC does not detect the connection to the DK's nRF USB port.
What else do I need to do?
Install a driver on my PC?
Add something to the prj.conf file?
Any help, appreciated.
I have spend a few hours searching for anything that has some basic information - all the posts I find seem to require you to already know 99% of the solution etc.
Thanks
Garrett
garrettb said:The project builds/runs, but my PC does not detect the connection to the DK's nRF USB port.
Did you try connecting your kit to a terminal emulator, say, PutTY etc? Is it not visible there too?
Regards,
Priyanka
No I hadn't, and yes, the port was there, and working.
Thank you
No I hadn't, and yes, the port was there, and working.
Thank you