Search found 142 matches

by STM32ardui
Tue Dec 03, 2024 9:37 am
Forum: General discussion
Topic: BlackPill F411CEU6 I2S
Replies: 6
Views: 1169

Re: BlackPill F411CEU6 I2S

Miguel wrote: Tue Dec 03, 2024 8:19 am I have no idea what ''stm32_i2s' is not a namespace-name' does mean, since is defined at the begining of the 'stm32-i2s.cpp'.

PS: OK, now the code compiles, if I make this code work I will mark it as 'solved'.
Does error disappaer after restarting ArduinoIDE?
by STM32ardui
Tue Dec 03, 2024 7:21 am
Forum: General discussion
Topic: BlackPill F411CEU6 I2S
Replies: 6
Views: 1169

Re: BlackPill F411CEU6 I2S

I never made something with I2s on STM32.
Do you know this: https://github.com/pschatzmann/stm32-i2s ?
Do you connect SD-card on ESP32 as SPI or SD-MMC?
by STM32ardui
Thu Oct 24, 2024 4:00 am
Forum: Projects
Topic: Multi wire cutting machine
Replies: 1
Views: 2073

Re: Multi wire cutting machine


Where I'm now stuck is the I2C for OLED control . I've been reading many different post around the subject, but could not find any solution simple enough to run my screen as easily as if it was with a UNO or ESP32 board.
If you're using ArduinoIDE and STM32duino, methods of graphic libraries ...
by STM32ardui
Tue Oct 08, 2024 5:30 am
Forum: General discussion
Topic: Calibration of stm32f103 clock
Replies: 8
Views: 4317

Re: Calibration of stm32f103 clock

I don't used registers directly. So I can't say, if your example works or not. Have you tried it?

My code is like this:

#include <STM32RTC.h>
#include <stm32g0xx_hal_rcc_ex.h>

uint8_t ret;
STM32RTC& rtc = STM32RTC::getInstance();

void setup() {
rtc.setClockSource(STM32RTC::LSE_CLOCK);
rtc ...
by STM32ardui
Sun Oct 06, 2024 10:08 am
Forum: General discussion
Topic: Calibration of stm32f103 clock
Replies: 8
Views: 4317

Re: Calibration of stm32f103 clock

k008 wrote: Sun Oct 06, 2024 6:59 am But what is the correct way to do calibration if you use STM32RTC.h?
STM32RTC-libaray can't do it by itself.

You have to use getHandle() and then use this handle in HAL_RTCEx_SetSmoothCalib().
by STM32ardui
Sun Sep 29, 2024 9:55 pm
Forum: General discussion
Topic: STM32F103C8 and bad LSE clock
Replies: 4
Views: 3421

Re: STM32F103C8 and bad LSE clock

A crystal with 20 ppm should have a deviation of 1,7 s per day. May be more, if board is not working at room temperature.
You are not the first here with LSE problems on a STM32F103 ...

1. Sure you activated LSE?
2. May be crystal is damaged?
3. Stray capacity can have an effect. I would guess ...
by STM32ardui
Sun Sep 22, 2024 2:49 pm
Forum: General discussion
Topic: STM32F11CEU6 Black upload error Arduino IDE
Replies: 6
Views: 4158

Re: STM32F411CEU6 Black upload error Arduino IDE

BTW:
I don't think it's the reason for the problem. But if you want to use a BlackPill, you should select a BlackPill and not a generic F411.
BlackPill.jpg
BlackPill.jpg (57.08 KiB) Viewed 4014 times
by STM32ardui
Sun Sep 22, 2024 12:37 pm
Forum: General discussion
Topic: STM32F11CEU6 Black upload error Arduino IDE
Replies: 6
Views: 4158

Re: STM32F11CEU6 Black upload error Arduino IDE


I am using WeActStudio.MiniDebugger ST-LINK V2.1.
Yes it has flexible wires ...

I have impression, that MiniDebugger is getting really warm under shrinking tube when a STM32Hxxx is connected.
First upload works, after a while running the sketch a new upload don't work, second try don't work ...

Go to advanced search