There's nothing about usb host in F103 datasheet so I don't think it's possible.
You will need external USB host chip/module that uses SPI / UART to communicate with STM32.
There are USB host shields and modules for Arduino that should work without problems with stm32 core
Search found 408 matches
- Thu May 09, 2024 12:45 pm
- Forum: General discussion
- Topic: STM32F103 / As a ‘USB Host’, I would like to save a ‘txt’ file on USB.
- Replies: 2
- Views: 809
- Tue Apr 30, 2024 11:53 pm
- Forum: USB bootloader
- Topic: Flash and Serial usb f103
- Replies: 7
- Views: 2286
Re: Flash and Serial usb f103
You can use roger's bootloader (https://github.com/rogerclarkmelbourne/ ... bootloader) or HID bootloader (https://github.com/Serasidis/STM32_HID_Bootloader).
- Sun Apr 28, 2024 8:55 pm
- Forum: General discussion
- Topic: STM32 Pinout Polarity
- Replies: 5
- Views: 3174
Re: STM32 Pinout Polarity
Don't treat GPIO pins as power source. They are not meant for this.
And yes, they can be set to low state (GND) or high (usually 3.3V).
And yes, they can be set to low state (GND) or high (usually 3.3V).
- Sun Apr 28, 2024 12:42 pm
- Forum: General discussion
- Topic: STM32 Pinout Polarity
- Replies: 5
- Views: 3174
Re: STM32 Pinout Polarity
Depends on what you mean by "-".
1. Is it a negative voltage (in relation to GND) - then they are always >= 0V
2. or is it GND - then both. They can be + or -.
1. Is it a negative voltage (in relation to GND) - then they are always >= 0V
2. or is it GND - then both. They can be + or -.
- Sat Apr 27, 2024 5:05 pm
- Forum: General discussion
- Topic: Stumbling at the first connection...
- Replies: 7
- Views: 4129
Re: Stumbling at the first connection...
F103 does not have hardware USB bootloader. If there is no firmware with USB support there won't be a connection.
I recommend flashing HID bootloader, but you need USB-TTL adapter or ST-Link.
I recommend flashing HID bootloader, but you need USB-TTL adapter or ST-Link.
- Sat Mar 02, 2024 11:35 am
- Forum: General discussion
- Topic: Where to find "SysTick->VAL" is modified ?
- Replies: 2
- Views: 1689
Re: Where to find "SysTick->VAL" is modified ?
You won't find it. It's hardware counter. It's changed by hardware.
- Sat Jan 27, 2024 10:03 am
- Forum: STM32H7 based boards
- Topic: STM32H723
- Replies: 3
- Views: 2796
Re: STM32H723
SKR 3 uses 25MHz external oscillator, generic H723 is defined with internal oscillator, you might need to define new board variant: https://github.com/stm32duino/Arduino_Core_STM32/wiki/Add-a-new-variant-%28board%29 or redefine SystemClock_Config(void) Also, I think that HS USB needs external PHY th...
- Wed Jan 24, 2024 6:58 pm
- Forum: General discussion
- Topic: I failed to output PWM with PA7 and PA8 at the same time
- Replies: 4
- Views: 2231
Re: I failed to output PWM with PA7 and PA8 at the same time
analogWriteFrequency(1000);is to set the frequency of all PWM, how to set the frequency of 1 pin separately analogWriteFrequency(); changes frequency for next use of analogWrite(), but it will change frequency for all channels on a timer. If you use 2 or more pins that use same timer for PWM, frequ...
- Sat Nov 11, 2023 8:24 pm
- Forum: General discussion
- Topic: How to generate truly random numbers on STM32F401CCU6 in Arduino IDE?
- Replies: 4
- Views: 5614
Re: How to generate truly random numbers on STM32F401CCU6 in Arduino IDE?
Probably the same as for F407:
viewtopic.php?p=12993#p12993
viewtopic.php?p=12993#p12993
- Thu Oct 26, 2023 7:06 pm
- Forum: General discussion
- Topic: Speed Up your IO !!
- Replies: 16
- Views: 5949
Re: Speed Up your IO !!
digitalWriteFast and digitalReadFast are using LL functions. With O3 (fastest) optimization they can go this fast.
On F401 and F411 they need 1 MCU cycle.
This is what I get with F411CE: