We are trying to implement USB device on USB0 over ULPI USB3343. We already use this ULPI on other devices and we are sure that the HW level of design is fine.
Things that work:
- communication with endpoint0 works without problems
- pc recieves descriptor from endpoint0
- speed setting to HighSpeed USB works fine
Things that dont work:
- we would like to use endpoint1 as bulk transfer
- we set everything according to datasheet but we get transfer timeout everytime we try to send anything
- we use this register to turn on the endpoint1 ENDPTC[0] (addr 0xffc901c4) to value (UOTG_ENDPTC_TXE_MASK | UOTG_ENDPTC_TXR_MASK | UOTG_ENDPTC_RXE_MASK | UOTG_ENDPTC_RXR_MASK) | UOTG_ENDPTC_TXT(USB_ENDPOINT_BULK) | UOTG_ENDPTC_RXT(USB_ENDPOINT_BULK)
What else should we set to make this work?
Please do help.