Search found 406 matches

by GonzoG
Sun Jul 16, 2023 5:22 pm
Forum: Projects
Topic: standalone board based on STM32F303K8T6
Replies: 4
Views: 5396

Re: standalone board based on STM32F303K8T6

Nucleo boards do not have software bootloader. They use ST-Link programmer.
by GonzoG
Mon Jul 03, 2023 10:16 pm
Forum: General discussion
Topic: Program an STM32F411 with an Raspberry Pi
Replies: 13
Views: 2339

Re: Program an STM32F411 with an Raspberry Pi

@Sparky
mini/micro USB is just a connector. You don't need it to use USB. Just connect D+, D- and GND.
by GonzoG
Wed Jun 28, 2023 9:41 pm
Forum: General discussion
Topic: STM32F103C8T6 how to Thread?
Replies: 6
Views: 1513

Re: STM32F103C8T6 how to Thread?

myksj1105 Same thing. Parallel threads can be achieved only on multi core MCUs. Concurrent threads can be achieved using RTOS. There is a FreeRTOS for STM32duino: https://github.com/stm32duino/STM32FreeRTOS But concurrent multithreading should be used only if there is no other way. Jumping between ...
by GonzoG
Tue Jun 27, 2023 4:39 pm
Forum: General discussion
Topic: Program an STM32F411 with an Raspberry Pi
Replies: 13
Views: 2339

Re: Program an STM32F411 with an Raspberry Pi

Nucleo board have a built-in ST-Link programmer and you probably used it to flash board.
F411 board (probably "black pill") does not have one. You need to manually reset board into bootloader mode and use DFU as an upload method.
by GonzoG
Tue Jun 27, 2023 4:34 pm
Forum: General discussion
Topic: How to Program the STM32 "Blue Pill" with Arduino IDE
Replies: 9
Views: 1578

Re: How to Program the STM32 "Blue Pill" with Arduino IDE

It's saved into flash memory until it's rewritten. If you flash a big program that will need almost whole memory and without virtual EEPROM it may overwrite data saved in virtual EEPROM. Also: 1. Flash memory has limited (more then EEPROM) erase/write cycles. If you'll write lots of data or very oft...
by GonzoG
Tue Jun 27, 2023 4:26 pm
Forum: General discussion
Topic: STM32F103C8T6 how to Thread?
Replies: 6
Views: 1513

Re: STM32F103C8T6 how to Thread?

There are no threads without a RTOS that supports threads.
by GonzoG
Sun Jun 25, 2023 6:08 am
Forum: General discussion
Topic: 'STM32F103C8T6' not work PWM Function.
Replies: 9
Views: 1314

Re: 'STM32F103C8T6' not work PWM Function.

@myksj1105
If you use Roger's/Steve's core then with most hardware setup you are limited to standard setup.
With STM32 core all pins connected to timers work in PWM mode.
by GonzoG
Fri Jun 23, 2023 8:44 pm
Forum: General discussion
Topic: 'STM32F103C8T6' not work PWM Function.
Replies: 9
Views: 1314

Re: 'STM32F103C8T6' not work PWM Function.

@myksj1105
What do you mean by "desired results".
At 0 it's off, at 255, it's on.
by GonzoG
Thu Jun 22, 2023 9:52 am
Forum: General discussion
Topic: 'STM32F103C8T6' not work PWM Function.
Replies: 9
Views: 1314

Re: 'STM32F103C8T6' not work PWM Function.

There is no such thing as PWM mode for pins.
You can set pin in INPUT or OUTPUT (with pull-up or pull-down also) mode.
For analogWrite you don't need to set pin mode, as analogWrite does it.

How do you check if PWM works ??
by GonzoG
Wed Jun 21, 2023 6:55 pm
Forum: General discussion
Topic: I am curious about the function of STM32F103C8T6 'Pinmap'.
Replies: 7
Views: 1045

Re: I am curious about the function of STM32F103C8T6 'Pinmap'.

... By any chance, if you want to do Serial1 through 'PB6 and PB7', How should I set it as source code? can you give me an example? (You must be busy, sorry for asking.) With STM32 core it's easy: Serial1.setTX(pin); Serial1.setRx(pin); You'll find it on STM32duino wiki: https://github.com/stm32dui...

Go to advanced search