wiced add usb ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

I'm try porting STM32F2xx USB function to wiced 311

and use STM32CubeMX get USB-HID sample code

but ,It's not work

anyone can help me?

0 Likes
4 Replies
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hi,

Wiced SDK development boards do not have USB connection from the host MCU and there is no sample app and Wiced APIs to support it.

Seyhan

0 Likes
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hi,

Is it possible to share your project? You can send me directly if you like.

Seyhan

0 Likes

Hi,

Looks like the external oscillator is used in your hardware and please check your external oscillator source "GLOBAL_DEFINES += HSE_VALUE=26000000" in platforms/xxx.mk makefile. Make sure it matches your hardware.

Clock setup is done in platform_config.h, perhaps your clock setup causing the expected delays and timeouts not to work as expected. The "#define PLL_M_CONSTANT ( 16 )" needs to be checked with your external oscillator definition.

The clock setup help from ST may help you to identify these key values, http://www.st.com/st-web-ui/static/active/en/st_prod_software_internet/resource/technical/software/u...

Seyhan

0 Likes

Have you had any luck porting USB functionality to WICED?

I'm looking at adding getting USB running on a custom PCB with a STM32F427 MCU. It seems to be a quite large task?

0 Likes