NUCLEO-L496ZG-P - USB Host Virtual Port Com - Issues to receive Data
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-08-30 5:32 AM
Hi,
I am trying to communicate with a modem via USB using NUCLEO-L496ZG-P.
I use CubeMX do to the setting, FreeRTOS and St USB Host library.
First, I init the USB "MX_USB_HOST_Init();".
Then to send I use this "USBH_CDC_Transmit(&hUsbHostFS,(uint8_t * )dataTx,strlen(dataTx));"
And this to receive "USBH_CDC_Receive(&hUsbHostFS,(uint8_t *)dataRx,100);"
The issue is that I don't receive the amont of data that I desire.
So is there more init to do ? or are those functions not enought do communicate.
Thank you for your time and answer.
Raphaël
Labels:
- Labels:
-
FreeRTOS
-
STM32L4 series
-
USB
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
