I've modified your program a little to give us more information with the LED flash.
Can you try this and let me know what the LED does?
Please ensure you use the STARM_CAL_RTC.c from the "STM32F QUESTIONS" thread...
https://www.flowcode.co.uk/forums/viewt ... 918#p18918
Into directory ...
C:\ProgramData\MatrixTSL\FlowcodeV10\CAL\STARM
BLACKPILL STM32F411 RTC
-
LeighM
- Valued Contributor
- Posts: 515
- http://meble-kuchenne.info.pl
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 88 times
- Been thanked: 273 times
Re: BLACKPILL STM32F411 RTC
I only see 1 flash of 1 second and then always off, if in the code I invert the position of the UART block with RTC no flashing always off
Re: BLACKPILL STM32F411 RTC
by entering the C code
__HAL_RCC_PWR_CLK_ENABLE();
HAL_PWR_EnableBkUpAccess();
__HAL_RCC_LSE_CONFIG(RCC_LSE_ON);
__HAL_RCC_RTC_CONFIG(RCC_RTCCLKSOURCE_LSE);
of the old "STM32F QUESTIONS" thread works still with the old STARM_CAL_RTC.c, now I try with the original FC10 one
__HAL_RCC_PWR_CLK_ENABLE();
HAL_PWR_EnableBkUpAccess();
__HAL_RCC_LSE_CONFIG(RCC_LSE_ON);
__HAL_RCC_RTC_CONFIG(RCC_RTCCLKSOURCE_LSE);
of the old "STM32F QUESTIONS" thread works still with the old STARM_CAL_RTC.c, now I try with the original FC10 one
Re: BLACKPILL STM32F411 RTC
even with the original FC10 STARM_CAL_RTC.c adding the lines of code works
Re: BLACKPILL STM32F411 RTC
Now I have another type of problem, everything works fine if I use serial 1 but if I put the software serial for example the tx port C13 nothing comes out, C14 arrives ......, C15 nothing comes out, A0 seems to work fine, are there preferable pins for the software serial? I haven't tried other pins yet
- Attachments
-
- Screenshot 2025-11-28 190048.png (80.23 KiB) Viewed 77 times
-
LeighM
- Valued Contributor
- Posts: 515
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 88 times
- Been thanked: 273 times
Re: BLACKPILL STM32F411 RTC
Well done, thanks for that.
I'll compare that with the modified CAL file, not sure when I'll next get some time to do that. But at least you now have a functional work around.
I'll compare that with the modified CAL file, not sure when I'll next get some time to do that. But at least you now have a functional work around.