Search found 186 matches

by ozcar
Wed Oct 12, 2022 8:31 pm
Forum: General discussion
Topic: Serial communication hardware
Replies: 13
Views: 6066

Re: Serial communication hardware

CAN bus comes to mind. But that might be way off, as it is something I have never used.
by ozcar
Sat Oct 01, 2022 9:10 pm
Forum: General discussion
Topic: uploading error in stm32f103 blue pill
Replies: 6
Views: 3111

Re: uploading error in stm32f103 blue pill

I don't normally use the F103 "system memory" serial bootloader for programming, but in response to a recent thread here I did try it. I ran into two problems, as mentioned in that thread.

First problem was that it turned out that the USB-TTL serial converter I tried to use was locked to "8N1 ...
by ozcar
Wed Sep 28, 2022 8:25 pm
Forum: General discussion
Topic: using both i2c interfaces on stm32f104c8t6
Replies: 8
Views: 7831

Re: using both i2c interfaces on stm32f104c8t6


or with soft i2c - you can establish as many of them as you can.


That is one of the other possibilities I had in mind when I said this:


There are additional possibilities as you would have with other boards too, but what I can think of might be contrary to your speed goal.


The other that ...
by ozcar
Mon Sep 26, 2022 2:25 am
Forum: General discussion
Topic: BluePill:PB2 state change not detected when connecting to ground - is my core out of date?
Replies: 6
Views: 12293

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

Maybe leave your connection on the boot jumper pin, and just short the resistor out, either leaving it there or not. I'm not sure how useful the resistor is in the first place when there is no easy way to connect directly to the processor PB2 pin.

Edit:
For use as a button input (but not if you did ...
by ozcar
Sun Sep 25, 2022 11:16 pm
Forum: General discussion
Topic: BluePill:PB2 state change not detected when connecting to ground - is my core out of date?
Replies: 6
Views: 12293

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

Where are you getting access to PB2?

From the symptoms you describe, I would guess at the at the boot jumper pin. There is a 100k resistor between that and the pin on the processor.
by ozcar
Fri Sep 23, 2022 7:36 pm
Forum: General discussion
Topic: [Solved] Connectivity problems with Blue Pill and ST-Link v2
Replies: 14
Views: 18862

Re: [Solved] Connectivity problems with Blue Pill and ST-Link v2

Good to hear you are making progress.

I would not worry too much about what "Board info" shows. If you have still not loaded a sketch with USB support enabled, there will be no VID or PID to display.

As for Tools> Board part number, for whatever reason, the items are in a different order to what I ...
by ozcar
Fri Sep 23, 2022 6:10 am
Forum: General discussion
Topic: [Solved] Connectivity problems with Blue Pill and ST-Link v2
Replies: 14
Views: 18862

Re: Connectivity problems with Blue Pill and ST-Link v2

You previously mentioned choosing "Generic STM32F0 series" as the board type.

I'm not sure if you subsequently realised that was wrong, because your latest image still shows the same incorrect selection. You will not be able to select Blue Pill until you change that (which, presumably you must have ...
by ozcar
Thu Sep 22, 2022 1:29 am
Forum: General discussion
Topic: [Solved] Connectivity problems with Blue Pill and ST-Link v2
Replies: 14
Views: 18862

Re: Connectivity problems with Blue Pill and ST-Link v2

It has been a long time since I first installed the official STM core. I do have a vague recollection of having to install the programmer code and make sure that it was in the path.

I see in other threads here people saying that they have STM32_Programmer_CLI.exe in a directory somewhere under ...
by ozcar
Wed Sep 21, 2022 10:41 pm
Forum: General discussion
Topic: [Solved] Connectivity problems with Blue Pill and ST-Link v2
Replies: 14
Views: 18862

Re: Connectivity problems with Blue Pill and ST-Link v2

I don't think "Get Board info" is a definitive test.

What happens if you just try to upload something? Select Upload method: "STM32CubeProgrammer (SWD)" first.

That works for me regardless of whether the code already loaded in the board has USB support or not. Without USB support, no COM port ...
by ozcar
Wed Sep 21, 2022 1:53 am
Forum: General discussion
Topic: using both i2c interfaces on stm32f104c8t6
Replies: 8
Views: 7831

Re: using both i2c interfaces on stm32f104c8t6

Maybe you mean STM32F103C8T6? If so that has two I2C peripherals, and you should be able to define a second "TwoWire" as shown here https://github.com/stm32duino/wiki/wiki/API#i2C.

For your STM32F405 pyboard, maybe you can use STM32DUINO and forget python? You might have to create your own board ...

Go to advanced search