Page 8 of 8

Re: STM32F407 + USB + ULPI Interface

Posted: Fri Jan 22, 2016 9:49 am
by Giovanni
Hi,

That assertion means that a new transaction has been started before the old one has been completed. You should verify in the code. The stack trace should indicate you where the problem happens, see the caller functions.

In 16.1.x there is a new synchronous API for endpoint I/O in the USB driver, using that would prevent this kind of errors.

Giovanni

Re: STM32F407 + USB + ULPI Interface

Posted: Mon Jan 25, 2016 12:55 am
by DeusExMachina
Thanks, I'll try

Re: STM32F407 + USB + ULPI Interface

Posted: Wed Jan 27, 2016 6:04 am
by DeusExMachina
My problem was related to a poor PCB design. It was interference between an MCU running on 48 MHz and a USB3300 PHY (they are too close). When I tried the same code on WaveShare board with the same STM32F407 MCU and the same PHY ULPI driver works well. So, I had to finagle with the MCU freq, and it works now on 64MHz.