Skip to main content
Associate
September 29, 2023
Solved

STM32F105 on board STM32F401 not working USB

  • September 29, 2023
  • 11 replies
  • 4424 views

Hello.

I buy board STM32F401Development Board V3.0 STM32F401CCU6  .

Board workin and work usb, but me need can bus.

I replase  SMM32F401 MCU on STM32F105RCT6.

Board work and programming bun not work USB ((. DFU mode not work.

I searching difference USB between SMM32F401 and  STM32F105. Not found ((.

Please help do work USB on STM32F105.

Best answer by waclawek.jan

One more difference: 'F105 requires VBUS (+5V from USB, possibly divided down to 3V to reduce risk of damage) to be connected to PA9; whereas 'F401 does not require that, so it's probably not connected on the board.

Read relevant chapters in AN2606.

JW

PS. Don't be scared by the datecode 937 issue - as there's only one digit for year in the datecode, this (from context) means chips made in 2009 week 37 and older, i.e. from the first batches of STM32. It's unlikely you have those.

11 replies

Tesla DeLorean
Guru
September 29, 2023

It would surprise me if it were a drop-in replacement, double check pins and power.

Pull Data Sheets for both and walk the pin lists.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
bithasherAuthor
Associate
September 29, 2023

I watched. There are no differences.
Show at least one difference in USBСнимок экрана 2023-09-29 в 20.52.20.pngСнимок экрана 2023-09-29 в 20.48.18.png

bithasherAuthor
Associate
October 2, 2023

stm32f105rc

Снимок экрана 2023-10-02 в 10.20.29.png

bithasherAuthor
Associate
October 2, 2023

STM32F401CCU6

Снимок экрана 2023-10-02 в 10.24.05.png

waclawek.jan
Super User
October 3, 2023

waclawekjan_0-1696319015890.png

What crystal is on the board?

JW

bithasherAuthor
Associate
October 5, 2023

Instaled 25 MHz.

I changed it to 8MHz, still doesn't work.

And what does crystal have to do with it if the STM32F401CCU6 works. STM32F401CCU6 also requires crystal!

waclawek.jan
Super User
October 5, 2023

> And what does crystal have to do with it if the STM32F401CCU6 works. STM32F401CCU6 also requires crystal!

Yes, but 'F401 DFU bootloader can work from a much wider selection of crystals.

I don't quite understand how did you use a QFP-64 chip ('F105RCT) on a QFN-48 board ('F401CCU).

JW

bithasherAuthor
Associate
October 5, 2023

@waclawek.jan wrote:

Both MCU have packaging QFP-64.

Sorry, wrong link to Aliexpress ((.

105105401401

 

bithasherAuthor
Associate
October 5, 2023

STM32F105RCT6 with crystal 25MHz

photo_2023-10-05_19-30-05.jpg

bithasherAuthor
Associate
October 6, 2023
waclawek.jan
waclawek.janBest answer
Super User
October 6, 2023

One more difference: 'F105 requires VBUS (+5V from USB, possibly divided down to 3V to reduce risk of damage) to be connected to PA9; whereas 'F401 does not require that, so it's probably not connected on the board.

Read relevant chapters in AN2606.

JW

PS. Don't be scared by the datecode 937 issue - as there's only one digit for year in the datecode, this (from context) means chips made in 2009 week 37 and older, i.e. from the first batches of STM32. It's unlikely you have those.