Search found 403 matches

by GonzoG
Thu Aug 24, 2023 8:35 pm
Forum: Projects
Topic: Voltage divider on Nucleo STM32L452RE bad accuracy
Replies: 8
Views: 4466

Re: Voltage divider on Nucleo STM32L452RE bad accuracy

1. Are you sure, the input voltage is exactly 3.3V ??
2. Are you sure that those resistors are exactly 4.7M and 2.2M ?
by GonzoG
Sat Aug 12, 2023 11:43 pm
Forum: General discussion
Topic: STM32F103C8T6 blue pill INPUT pullup issue
Replies: 2
Views: 959

Re: STM32F103C8T6 blue pill INPUT pullup issue

1. If you're using pullups, then with button pressed you get 0, and not pressed you get 1.
2. PC12-PC15 pins cannot source current, but they can sink, so pin provides GND to LED. 0 = on, 1= off
by GonzoG
Mon Aug 07, 2023 7:28 pm
Forum: IDE's
Topic: Arduino IDE Bootloader for STM32F072C8T
Replies: 1
Views: 2714

Re: Arduino IDE Bootloader for STM32F072C8T

F072C8 has DFU bootloader, so just reset it into bootloader and you can flash it using USB.

Also STM does not provide software USB bootloaders.
You can probably make one using this: https://github.com/Serasidis/STM32_HID_Bootloader
by GonzoG
Sat Jul 29, 2023 4:28 pm
Forum: Libraries & Hardware
Topic: PWM pin in STM32F103C8 blue pill
Replies: 8
Views: 5012

Re: PWM pin in STM32F103C8 blue pill

PWM does not control voltage. You cannot use PWM to lower voltage, it only controls time how long power is turned on and off.
Voltage reading will depend on your meter, PWM frequency, board hardware and MCU.
by GonzoG
Sat Jul 22, 2023 1:26 pm
Forum: General discussion
Topic: I want to create a 'hex' file via 'STM32Duino' (Arduino sketch).
Replies: 13
Views: 2185

Re: I want to create a 'hex' file via 'STM32Duino' (Arduino sketch).

No. .bin extension is for "binary". STM32 MCUs use binary files for firmware upload. You need .bin file if you want to upload firmware to STM32 MCU, unless you have an application that converts HEX file into binary format before uploading it.
by GonzoG
Tue Jul 18, 2023 11:10 pm
Forum: Projects
Topic: standalone board based on STM32F303K8T6
Replies: 4
Views: 2951

Re: standalone board based on STM32F303K8T6

dannyf wrote: Tue Jul 18, 2023 10:53 am don't those chips come with a ST bootloader? ST has an application note on that.
They do, but it only supports UART and IIC.
by GonzoG
Sun Jul 16, 2023 9:01 pm
Forum: STM32F4 based boards
Topic: Cannot upload Blackpill F411 v3.0 from Arduino IDE
Replies: 7
Views: 2462

Re: Cannot upload Blackpill F411 v3.0 from Arduino IDE

Ground UART1 RX (PA10) pin while you reset board.
If MCU gets anything on UART it will start bootloader with UART enabled, not USB.
by GonzoG
Sun Jul 16, 2023 5:22 pm
Forum: Projects
Topic: standalone board based on STM32F303K8T6
Replies: 4
Views: 2951

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: 1987

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: 1022

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 ...

Go to advanced search