Search found 49 matches

by hobbya
Fri Aug 25, 2023 9:29 am
Forum: Projects
Topic: Voltage divider on Nucleo STM32L452RE bad accuracy
Replies: 8
Views: 5387

Re: Voltage divider on Nucleo STM32L452RE bad accuracy

The internal resistance of common multi-meter is around 10M and can affect voltage measurement if you choose high values for the potential divider.
by hobbya
Sat Aug 19, 2023 11:41 am
Forum: General discussion
Topic: Missing SPI1 and SPI2 difinitions
Replies: 2
Views: 709

Re: Missing SPI1 and SPI2 difinitions

Please spend some time search and read properly before raising an unwise question.

https://github.com/stm32duino/Arduino_C ... ki/API#spi
by hobbya
Thu Jun 29, 2023 2:31 am
Forum: General discussion
Topic: Program an STM32F411 with an Raspberry Pi
Replies: 13
Views: 2113

Re: Program an STM32F411 with an Raspberry Pi

You are not alone regarding the frustration to enter DFU mode with STM32F411. There is a workaround below: https://www.stm32duino.com/viewtopic.php?t=1680 Here is a bit explanation about the problem associated with HSI. https://www.st.com/resource/en/application_note/an2606-stm32-microcontroller-sys...
by hobbya
Tue Jun 06, 2023 5:38 am
Forum: General discussion
Topic: SIMPLE QUESTION BLUE PILL COMMUNICATIONS SETTINGS
Replies: 10
Views: 1689

Re: SIMPLE QUESTION BLUE PILL COMMUNICATIONS SETTINGS

Yes your understanding is correct.
v2.1 has Tx/Rx pins which can be connected to the Bluepill serial port.
by hobbya
Tue Jun 06, 2023 2:19 am
Forum: General discussion
Topic: SIMPLE QUESTION BLUE PILL COMMUNICATIONS SETTINGS
Replies: 10
Views: 1689

Re: SIMPLE QUESTION BLUE PILL COMMUNICATIONS SETTINGS

I always use STLink v2.1. It comes with a virtual com port. STLink v2 do not have the virtual com port. Some more info here: https://stm32world.com/wiki/DIY_STM32_Programmer_(ST-Link/V2-1) Nucleo boards also has a built-in STLink v2.1 and it can be "broken off" from the board: https://jeel...
by hobbya
Thu Dec 15, 2022 2:25 am
Forum: STM32F1 based boards
Topic: tm1637 arduino ide library issues -----SOLVED----
Replies: 5
Views: 4031

Re: tm1637 arduino ide library issues -----SOLVED----

So you have used Maple core.
If you use STM32 core, the JTAG pins PB3, PB4, PA15 will be released once you set them as output port:

Code: Select all

pinMode(PB3, OUTPUT);
pinMode(PB4, OUTPUT);
pinMode(PA15, OUTPUT);
by hobbya
Sun Nov 20, 2022 10:39 am
Forum: General discussion
Topic: STM32F103C8T6 with u8g2 library problem
Replies: 1
Views: 3839

Re: STM32F103C8T6 with u8g2 library problem

Not sure if the core you used was up to date. You can install the up to date version below: Roger's original core: https://github.com/rogerclarkmelbourne/Arduino_STM32 or A fork of Roger's and is more frequently maintained: https://github.com/stevstrong/Arduino_STM32 When picking options in the u8g2...
by hobbya
Fri Nov 04, 2022 5:13 am
Forum: Custom design boards
Topic: Advice for baking STM32 ICs
Replies: 2
Views: 5250

Re: Advice for baking STM32 ICs

Although the chips are not moisture-proof, I have not heard of any failures due to moisture trapped inside the chip. I do not keep my development boards within enclosures and I have not encountered failures after prolonged storage. Since your boards are partially functional, I suggest to investigate...
by hobbya
Sun Sep 25, 2022 11:15 am
Forum: General discussion
Topic: BluePill:PB2 state change not detected when connecting to ground - is my core out of date?
Replies: 6
Views: 5030

Re: BluePill:PB2 state change not detected when connecting to ground - is my core out of date?

PB2 is Boot1 of the bluepill and generally a jumper is fitted. The Boot1 jumper is usually tied to LOW. You should either tie the jumper to HIGH or remove this jumper before running your code.
by hobbya
Sun Aug 28, 2022 6:56 am
Forum: General discussion
Topic: SPI1 is in use, how can I use SPI2 for a MicroSD card?
Replies: 3
Views: 1759

Re: SPI1 is in use, how can I use SPI2 for a MicroSD card?

Why have you made it so complicated? No need to anything on SPI1. Just need to define the pins of SPI2 for your board. #define SD_PIN PB12 #define SetSDSpeed 48 SPIClass SPI_2 (PB15, PB14, PB13); // for blackpill STM32F401 or bluepill STM32F103 #define SD_CONFIG SdSpiConfig (SD_PIN, DEDICATED_SPI, S...

Go to advanced search