cancel
Showing results for 
Search instead for 
Did you mean: 

I am not able to get keyboard data on my USB Host(stm32f407- Discovery). void *USB_ReadPacket(USB_OTG_GlobalTypeDef *USBx, uint8_t *dest, uint16_t len) How this function is working?

Vivek yadav1
Associate III

I am not able to get keyboard data on my USB Host(stm32f407- Discovery).

> How this function is working in HAL Library?

void *USB_ReadPacket(USB_OTG_GlobalTypeDef *USBx, uint8_t *dest, uint16_t len);

When Ever I hit any key on my keyboard. My control goes here. But output of this function is not making sense to me.

Can anyone help me?

0 REPLIES 0