52840 usb can't be recognized

Hi support team,

customer is using 52840 usb, and when they did pressure test, they find out usb can't be recognized and set address.

below is normal usb sniffer.

and below is failure sniffer

i was suppect that out D+ and D- is not responding correctly;

and after failure happens, the usb hub can't recover this 840 usb slave(reboot 840 would not solve this issue), unless reboot usb hub.

there is no clue for me to analyse this problem, please help and give some suggestion.

Regards,

William.

Parents Reply Children
  • i mean set_address operation from host:

    normally, host will set a new address to usb after 840 reset. But here, host didn't do that action, and engineer from usb hub told me that our D+ D- is not responding correctly.

    normally D+ is 3.3v and D- is 0v,after we received C_PORT_RESET command from host,D+ will be 0v and D- will be 800mv as respond. 

    So,may i ask where is the source code in our driver, that D+ and D- change this status,.

    Regards,

    William.

  • Hi Turbo J,

    may i ask the where is the source of usb driver, that pc set address of our 840?

    i would suggest customer to do usb init first and get address, make sure usb is working normally, then do other task later.

    customer is using nrf5 sdk17.1.0

    i did see some source code ,but it never runs into here:

    Regards,

    William.

Related