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.
Search found 404 matches
- Sat Apr 27, 2024 5:05 pm
- Forum: General discussion
- Topic: Stumbling at the first connection...
- Replies: 3
- Views: 196
- Sat Mar 02, 2024 11:35 am
- Forum: General discussion
- Topic: Where to find "SysTick->VAL" is modified ?
- Replies: 2
- Views: 788
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: 1622
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: 1969
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: 5066
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: 5511
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:
- Wed Oct 25, 2023 5:03 pm
- Forum: General discussion
- Topic: Speed Up your IO !!
- Replies: 16
- Views: 5511
Re: Speed Up your IO !!
I got 19MHz wit digitalReadFast and 33MHz with digitalWriteFast, but with typing 1000 lines of code. While loop needs few cycles. @GonzoG PLease give us your code ! (I do not pretend to get the fastest .. just starting to play) Sorry.. copied wrong values. Those were Mops/s, so frequency is half of...
- Mon Oct 23, 2023 7:27 pm
- Forum: General discussion
- Topic: Speed Up your IO !!
- Replies: 16
- Views: 5511
Re: Speed Up your IO !!
I got 19MHz wit digitalReadFast and 33MHz with digitalWriteFast, but with typing 1000 lines of code.ManX84 wrote: ↑Mon Oct 23, 2023 4:04 pm Need Faster ?
F = 7 MHz!Code: Select all
// Here use a digitalWriteFast ! do { digitalWriteFast(PC_13, 1); digitalWriteFast(PC_13, 0); } while (1);
While loop needs few cycles.
- Sat Oct 14, 2023 1:39 pm
- Forum: General discussion
- Topic: Load Firmware from sd
- Replies: 6
- Views: 2328
Re: Load Firmware from sd
It can be done, but not without using LL or CMSIS and it will need way more flash and RAM then code written in "pure" c/c++.
There are many open source bootloaders that use SD card to flash firmware. You might even find one for your MCU or might need to tweak few lines of code.
There are many open source bootloaders that use SD card to flash firmware. You might even find one for your MCU or might need to tweak few lines of code.
- Thu Oct 12, 2023 3:29 pm
- Forum: General discussion
- Topic: I2C Communication between DS3231 and STM32 BluePill
- Replies: 1
- Views: 1113
Re: I2C Communication between DS3231 and STM32 BluePill
Have you tried any DS3231 library ??