Finding issues in initializing the USB as CDC in the STM324x9I-EVAL board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-12-18 5:26 AM
I am trying to establish communication between windows 10 and SMT324x9I-EVAL board through USB by setting USB in CDC class.
For starting with, i have used example application given with stm32f4 peripheral library package(en.stm32cubef4\STM32Cube_FW_F4_V1.23.0\Projects\STM324x9I_EVAL\Applications\USB_Device\CDC_Standalone\SW4STM32\STM324x9I-EVAL_USBD-FS).
Unfortunatly, the board is not getting detected in windows device manager and not receiving any interrupts in OTG_FS_IRQHandler.
After enabling VBUS detect, I am receiving OTG_FS interrupt for USB connect and disconnect events but after that no other activity is observed on the USB lines.
Please advice how to proceed further.
Note: JP16 is kept open.
- Labels:
-
STM32Cube MCU Packages
-
STM32F4 Series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-12-18 8:17 AM
Try other examples, double check all jumper, solder-bridge/resistor options.
Try different cables.
Instrument code to output to serial port and check malloc/free usage.
Try building with better tools. Use Keil or IAR evaluations to built the project(s)
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-12-19 4:37 AM
@Community member​ Thanks for the response, I have varified all the jumpers and resistors
- Based on intructions given in the user manual JP16 is removed.
- Resistor R117, R297 and R298 are installed in the board.
- Green LED LD7 is turning on once the USB is connected.
I have tried flashing this example and few others(Mass storage device examples) with Keil also but still the board is not getting detected in Windows as COM device.
