Search found 10 matches

by zapta
Tue Sep 01, 2020 4:20 pm
Forum: General discussion
Topic: Anybody using LVGL?
Replies: 3
Views: 4812

Anybody using LVGL?

I am considering using LVGL with STM32/arduino (Bluepill STM32F103, on platformio).

Anybody has any experience or hint? E.g. where to find a ported LVGL library, what displays are known to work (I am looking for 3.5" + touch, ISP 4 wires), and so on.
by zapta
Tue Sep 01, 2020 3:31 pm
Forum: General discussion
Topic: Asynchronous ADC start/read on bluepill STM32F103C8?
Replies: 6
Views: 5387

Re: Asynchronous ADC start/read on bluepill STM32F103C8?

A quick update, everything is working now. I am using Timer1 to generate output pulses for reference and internal triggers to ADC1 that acts as a master to ADC2 and IRQ handling on ADC1 completion. I first had it working with the CUBE IDE and then ported to the arduino framework.
by zapta
Tue Sep 01, 2020 3:25 pm
Forum: STM32 HID bootloader
Topic: Having problem to make HID bootloaded 2.2
Replies: 10
Views: 16641

Re: Having problem to make HID bootloaded 2.2

I ended up using STLINK V2 for development rather than bootloader. It's very reliable, fast, and allows to debug with break point, examining registers and peripherals and single stepping. Will address later how it can be updated in the field without an STLINK V2, maybe using the built in DFU bootloa...
by zapta
Mon Aug 17, 2020 10:29 pm
Forum: General discussion
Topic: Bluepill - is it OK to remove the 32K crystal?
Replies: 1
Views: 2524

Bluepill - is it OK to remove the 32K crystal?

Hi all, I plan to design a custom board with a circuit that is based on the bluepill board. Is it ok to not populate the 32K cyrstal? Do I need to change anything in software for this to work? The board will run at full power, no sleep and such, and does not need real time clock other than the stm32...
by zapta
Mon Aug 17, 2020 10:24 pm
Forum: General discussion
Topic: Asynchronous ADC start/read on bluepill STM32F103C8?
Replies: 6
Views: 5387

Re: Asynchronous ADC start/read on bluepill STM32F103C8?

Thanks fpiSTM that's very useful. I collected commands and came with the program below which seems to measure A0 using ADC1 inside the main loop (no sampling from interrupts yet), so that's a progress. A few question for you if you don't mind: 1. Does this program look reasonable so far? 2. How do I...
by zapta
Mon Aug 17, 2020 2:21 pm
Forum: General discussion
Topic: Asynchronous ADC start/read on bluepill STM32F103C8?
Replies: 6
Views: 5387

Re: Asynchronous ADC start/read on bluepill STM32F103C8?

> I've provide an example of a converted STM32Cube project here: viewtopic.php?f=41&t=110&p=669 Thanks fpiSTM. I will go through the example and try to understand. Will this involve just adding .h and .c file to my stm32duino project directory or will it also require to modify/add/replace lo...
by zapta
Mon Aug 17, 2020 3:50 am
Forum: General discussion
Topic: Asynchronous ADC start/read on bluepill STM32F103C8?
Replies: 6
Views: 5387

Asynchronous ADC start/read on bluepill STM32F103C8?

Hi all, [using bluepill, STM32F103C8, using vscode/platform.io with Arduino framework and stlink v2 uploading/debugging] My questions to you are: 1. Does the bluepill has a single or double ADCs? (I mean real two ADCs that can convert in parallel). 2. Is there an asynchronous API for the ADCs? Backg...
by zapta
Sun Aug 16, 2020 1:47 am
Forum: STM32 HID bootloader
Topic: Having problem to make HID bootloaded 2.2
Replies: 10
Views: 16641

Re: Having problem to make HID bootloaded 2.2

Thanks you everybody for the information. This was very useful and I can now program the board from the Arduino IDE using the HID 2.2 bootloader. I do have a couple of followup questions for you. 1. Before I program my blinky program from the Arduino IDE I move BOOT 1 to '1' and press the reset butt...
by zapta
Tue Aug 04, 2020 4:12 pm
Forum: STM32 HID bootloader
Topic: Having problem to make HID bootloaded 2.2
Replies: 10
Views: 16641

Re: Having problem to make HID bootloaded 2.2

Thanks for the quick responses. This is very helpful. I will give it a try in a few days once I will have again a functioning Blue Pill (I removed the clone MCU and waiting for a ST genuine from Digikey, hopping it will solve the problem). Also having another BP on order. Any suggestion for a good r...
by zapta
Sun Aug 02, 2020 11:45 pm
Forum: STM32 HID bootloader
Topic: Having problem to make HID bootloaded 2.2
Replies: 10
Views: 16641

Having problem to make HID bootloaded 2.2

Hi all, I am new year and to STM32. I got a blue pill and a ST Link V2 dongle from amazon and trying to make it to work with Arduino IDE. I was able to program it with a blinky from the arduino IDE using the V2 dongle and was able to see Serial output on the Arduino serial console so that's good. Th...

Go to advanced search