NRF52840 as USB peripheral and USB host.

Hi Everyone,

                 I am using NRF52840 in my project and working on sdk 17.0.2. My application includes the following:-

1) Send aquired data from sensors to the desktop via USB.

2) Receive data from the desktop application via USB.

We are also using MAX3421E IC which is connected to NRF52840 via SPI interface. This IC is basically a USB Interface IC which can be configured as USB Peripheral/Host Controller with SPI Interface.

I am new to this USB development. I know I will have to include libraries of MAX3421e IC and configure it via SPI through the NRF52840. I am confused on the part of how will the data be sent from nrf52840 to the desktop application and vice versa. Do I need to add any peripheral libraries for nrf52840 so that it can send the data???

Or MAX342 will do the sending part. I am reading the documentation also but quite confused on the working. 

Can anyone please help?

Thank you,

Snehal.

Related