2015-05-29 3:36 AM
Hi,
Having had a working USB VCP using the old non-cube drivers, I've spent the last week trying to get a reliable VCP with the new ones - and failing. In fact at one point just uncommenting some irrelevant and unused code made it work reliably, and commenting it made it fail when sending and receiving at the same time - which makes me think it's potentially something accessing out of bounds.I'm using USB only in FS mode, which should simplify things.I now have something that works, but that locks up when it is both sending and receiving (with TxState left at 1). The only solution seems to be to unplug USB and plug it back in. Does anyone know why it might get into this state?I have some questions related to the API. Is there any specific documentation that would help me? Documentation in the code seems very sparse at the moment.We’re moving the ST Community to a new platform to give you a better and more reliable community experience.