Question
USB connection ends with TXERR
Posted on September 23, 2015 at 21:04
Hi there forum,
I would like to connect a USB pen to my STM32F4-Discovery kit.I am using libraries from stsw-stm32068.zip, and the GPIO, USB initialization code and the usb_conf.h and usbh_conf.h files are from Audio_playback_and_record example.After connecting a USB disk to the system the host state machine idles in HOST_CTRL_XFER, polling the USB state, which is always URB_IDLE.Looking at the corresponding host channel interrupt register, I see, that TXERR flag has been set, which according the documentation can mean:- CRC check failure
- Timeout
- Bit stuff error
- False EOP