cancel
Showing results for 
Search instead for 
Did you mean: 

usb library patch

spam
Associate II
Posted on January 09, 2012 at 10:47

Hi, where can I submit usb library patch(es)?

#stm32 #bluetooth
5 REPLIES 5
rosarium
Associate II
Posted on January 09, 2012 at 11:08

which type of usb library patches you want to submit?

Is it any official patch for STM32 USB host/device lib?

spam
Associate II
Posted on January 09, 2012 at 11:46

I have written usb bluetooth example app based on ST usb libs and btstack project, including usb host mode bluetooth class interface to btstack.

In the course of debugging I fixed several issues in usb library. These are quick fixes (may they need more careful approach) but the issues are real and my app didn't work until them applied.

So, the second answer is: no, they are not, but it would be nice to 😉

rosarium
Associate II
Posted on January 09, 2012 at 11:54

Oh thts good.

If it's not that bulky you can release it on e2e itself.

Other wise you can contact regional FAE to know where to release.

spam
Associate II
Posted on January 09, 2012 at 12:18

Contact regional FAE -- wow, it is supposed to be easy, no? 😉

Anyway, the patch (against stm32f4 fw 1.1.0) is attached. Couple comments:

USBH_InterruptSendData() prototype should probably be modified the same way as USBH_InterruptReceiveData(), anyway, BT HCI needs receiving events greater than 256 bytes.

USB_OTG_ResetPort_I() is not included, be it's definite that calling 200ms+ delay from ISR should be frowned upon.

And couple more fixes.

My greatest concern is actually usb toggling bits, which without doubt are fixed only partially.

________________

Attachments :

stm32f4discovery_fw.diff : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0aq&d=%2Fa%2F0X0000000bb2%2FsDIqRQvxldXhZ39NScG2XJs78ZrtB.UldHqjjLXcPd4&asPdf=false
ananda
Associate
Posted on March 06, 2013 at 00:39

Hello Bezymenko,

Are you willing to share your efforts/experiences with implementing bluetooth on ST processor? 

Thanks in advance.