Search found 36 matches

by saeed144
Tue Nov 24, 2020 10:43 am
Forum: General discussion
Topic: Problem with timer
Replies: 4
Views: 2200

Re: Problem with timer

Thank you so much, you're great :)
by saeed144
Tue Nov 24, 2020 8:53 am
Forum: General discussion
Topic: Problem with timer
Replies: 4
Views: 2200

Re: Problem with timer

Oh! you're right it blinks now , So sorry :roll:
I get presclaler factor and it returns 110.

Code: Select all

ans = MyTim->getPrescaleFactor();
110 is default?
by saeed144
Tue Nov 24, 2020 7:36 am
Forum: General discussion
Topic: Problem with timer
Replies: 4
Views: 2200

Problem with timer

Hello I tried to test my STM32F103C8T6 timer but it didn't work. Can you help me? #if !defined(STM32_CORE_VERSION) || (STM32_CORE_VERSION < 0x01090000) #error "Due to API change, this sketch is compatible with STM32_CORE_VERSION >= 0x01090000" #endif void Update_IT_callback(void) { digital...
by saeed144
Tue Nov 17, 2020 6:08 am
Forum: General discussion
Topic: STM32F1xx RTC date problem
Replies: 7
Views: 4812

Re: STM32F1xx RTC date problem

The STM32F1xx RTC only has one register that normally counts seconds, using the count of seconds modulo 86400 (number of seconds in a day) it can keep track of the time of day, when this count gets larger than 86400 we know that one day has passed. There is no information in the RTC hardware about ...
by saeed144
Tue Nov 17, 2020 6:08 am
Forum: General discussion
Topic: STM32F1xx RTC date problem
Replies: 7
Views: 4812

Re: STM32F1xx RTC date problem

ag123 wrote: Mon Nov 16, 2020 3:37 pm
saeed144 wrote: Sun Nov 15, 2020 3:53 pm You mean there is no solution? :cry:
connect VBAT to a 3v coin cell, keeps time for a long time
it keeps only time not date
by saeed144
Sun Nov 15, 2020 3:53 pm
Forum: General discussion
Topic: STM32F1xx RTC date problem
Replies: 7
Views: 4812

Re: STM32F1xx RTC date problem

You mean there is no solution? :cry:
by saeed144
Sun Nov 15, 2020 7:57 am
Forum: General discussion
Topic: STM32F1xx RTC date problem
Replies: 7
Views: 4812

STM32F1xx RTC date problem

Hi everyone
I heard HAL function in STM32F1xx series have a bug in RTC! when micro reset time value is correct but date value reset too and show 0
there are some modification stm32f1xx_hal_rtc to solve this problem, but what about Arduino IDE?
Howto solve this problem in Arduino_IDE?
by saeed144
Mon Nov 09, 2020 6:36 am
Forum: General discussion
Topic: How to use timer?
Replies: 9
Views: 10226

Re: How to use timer?

Can you explain this: "all the details with MCU/board setup." ?
For example which details in stm32 we can't configure in Arduino IDE?
by saeed144
Sun Nov 08, 2020 10:17 am
Forum: General discussion
Topic: How to use timer?
Replies: 9
Views: 10226

Re: How to use timer?

Thank you so much.

One more question:
If we have access to all stm features in Arduino IDE with this huge libraries, why we use other compilers like keil at all?
by saeed144
Sat Nov 07, 2020 8:38 am
Forum: General discussion
Topic: How to use timer?
Replies: 9
Views: 10226

Re: How to use timer?

Official, Stm32Duino

Go to advanced search