Hi everyone,
I am currently working on developing a BLE + USB Mouse. I have started with the ble_app_hids_mouse example and I have tested it works fine on my custom board.
Now I am trying to include the usbd_hid_composite example and only use the mouse part of the code. I have an nrf52833 DK board, I have tested the code and it works fine.
While testing the same code, just changing the preprocessor settings to BOARD_CUSTOM and defined my own buttons and LEDs (which is what I usually do and gives me what I want) in the custom_board file, with the nrf52840 custom board I am not able to identify the USB device on windows. In the device manager it says "unknown device (device descriptor request failed)". I have debugged the code and I am able to get the power detected, power ready and power removed events as I plug in and out the USB connector. Button events also works fine. And the code runs without errors. But I am unable to move the cursor on my PC running windows 10.
Could it be a hardware issue?
I have connected the D+ and D- lines directly to the nrf52840 without any pullups on the D+ or D- with only the ESD protection with the USBLC6-2. I am using the Holiyot 18010 module which has the nrf52840. And my board runs at 3.0V. With multimeter I have tested and the D+ line show 0 and D- show 3.14V and on the nrf52833 DK board the D+ shows 3.11V and D- shows 0V (tested at idle no buttons pressed) I am a little confused here guys.
Any help would be highly appreciated.