2016-02-22 08:00 AM
I am trying to use my custom board with a STM32F405 chip.
I am powering the board with the USB voltage, with an LDO that brings it down to 2.8V, and programming it through ST-Link using a Discovery board.I have set up my program using STM32cubeMX including the USB library. The USB pins are connected to PA12 and PA11 and I have checked their electrical connection.I have generated the software with cube, and loaded it with ST-Link (IAR). The problem is the device is not detected at all by my computer (it does not show up in the Device Manager) and the USB initialization fails. I can't figure out where to start, since all I can find on the forums is about not recognized devices, with problems concerning clock speed settings.Do you have any advice in how to fix this problem? #usb #stm32cube2016-02-22 10:01 AM
And you don't have a problem with your clocks, and their settings in the application?
Start with some of the SPL examples, try strapping BOOT0 high and confirm if DFU mode works.If it's not software you need to review the schematic with more rigour.2016-02-23 12:15 AM
2016-02-23 09:12 PM
2016-02-24 07:53 AM
I have checked all the circuit connections with a multimeter and they seem to be fine.
I had checked the STM32F405 documents and there is already a 1.5k pull-up resistor on PA12 pin, where I have connected the Data+ line.Today I have tried to change the LDO in order to have 3.3V instead of 2.8V, but the results are the same.I also have tried to connect my board to a Linux system and it does not get detected too.edit: SOLVEDChecking again and again I have finnally found out that D+ line was not correctly soldered to the USB connector pin.Thank you all for your answers