Hi all! As a disclaimer; I am a beginner with the Nordic SDK, so my understanding may be wrong. Please feel free to correct any holes in my theory. I am trying to use a custom PCB with an nRF52840 microprocessor with the nRF Connect for Desktop application, specifically the DTM module. The custom 52840 would be my DUT, and I would test it against an nRF52840 Development Kit. I am not sure if I am thinking of the setup correctly and would appreciate any guidance. Here's what I've got currently:
1. The nRF52840 DK can be programmed with the `<>\examples\dtm\direct_test_mode` module, which has the correct pin mappings, etc. Can I use the example as is, should I make modifications?
2. The custom nRF52840 can either be physically connected to the DK via 2 wire UART, by utilizing FTDI UART to USB converter, or by creating a UART to CDC ACM, which would allow the custom PCB to transfer it's UART comms to USB, where the application is running.
-In order to reduce dependency on any external hardware, I have chosen to go with the UART to CDC ACM option. This way, my custom board will communicate with the computer through the Virtual COM port.
-From what I understand, the requirements are to configure 2 wire UART, in my case I have used the nrfx_uarte library. What comes next? Am I to implement callbacks for both the uarte and usb serial, and exchange data between the two from main?
-How will this data go back to the nRF52840 DK once it goes from custom PCB UARTE to USB? Should they have direct communication established?
3. The DTM module should be able to detect my custom PCB once I have established the UARTE to USB communication and should be able to talk to it and the DK at the same time. Is this correct?