Search found 27 matches

by jcbuntu
Sat Sep 25, 2021 3:01 pm
Forum: STM32F1 based boards
Topic: Timers 15-16-17 on Blue Pill
Replies: 7
Views: 9092

Re: Timers 15-16-17 on Blue Pill

Timer.h in directorie .../hardware/Arduino_STM32-master/STM32F1/system/libmaple/stm323f1/include/series/timer.h limit the timers for low and medium integration at TIM1 -> TIM4 and TIM1->TIM17 for LSI. So, all is OK without RM 0041 which make me confusions ! ( fig 1 p.35 and table 1 p.36). Pitty !!! ...
by jcbuntu
Sat Sep 25, 2021 1:56 pm
Forum: STM32F1 based boards
Topic: Timers 15-16-17 on Blue Pill
Replies: 7
Views: 9092

Re: Timers 15-16-17 on Blue Pill

OK, confirmed by datasheet STM32F103X8 n°ID13587 §2.3.15. This STM32 have 4 timers ( + TIM6 and 7 for ADC). So, i don't understand why RM0041 says that TIM15, 16, 17 are for all devices : 15 General-purpose timers (TIM15/16/17) Low-density value line devices are STM32F100xx microcontrollers where th...
by jcbuntu
Wed Sep 22, 2021 3:37 pm
Forum: STM32F1 based boards
Topic: Timers 15-16-17 on Blue Pill
Replies: 7
Views: 9092

Re: Timers 15-16-17 on Blue Pill

Hello, mrburnette. Sorry for my later answer ... and thank you for your's. I've not seen where is the information ! Documentation say about timers on mapple, and it's only about timers 1 -> 8. I would know in witch folder is the code file that init the STM32F103 . It's mean that some registers are r...
by jcbuntu
Sun Aug 22, 2021 5:58 pm
Forum: STM32F1 based boards
Topic: Timers 15-16-17 on Blue Pill
Replies: 7
Views: 9092

Re: Timers 15-16-17 on Blue Pill

... sorry ! I've pushed submit function and not preview ... I've forgot -> Thank you for help.
by jcbuntu
Sun Aug 22, 2021 5:54 pm
Forum: STM32F1 based boards
Topic: Timers 15-16-17 on Blue Pill
Replies: 7
Views: 9092

Timers 15-16-17 on Blue Pill

Hello. I wish use the timer 15 on a Blue Pill, with STM32duino IDE based on Roger's Clark core. I would use this timer for internal loop in my code, without GPIO action. My informations are based on RM0041 (STM) and i prefer, for this, "bare metal" code. I've seen that it's impossible to m...
by jcbuntu
Sun Aug 22, 2021 5:26 pm
Forum: Projects
Topic: how catch interrupt in low level code ? ( STM32F4xx or F1xx)
Replies: 5
Views: 3442

Re: how catch interrupt in low level code ? ( STM32F4xx or F1xx)

Hello, ag123.
I'm in spirit to understand low level commands and links between software and hardware. So, if using libraries perfectly works, i prefer "bare metal" code.
About Systick, it's good now, in low level code.
Thank you for help
by jcbuntu
Tue Jul 13, 2021 5:13 pm
Forum: Projects
Topic: how catch interrupt in low level code ? ( STM32F4xx or F1xx)
Replies: 5
Views: 3442

Re: how catch interrupt in low level code ? ( STM32F4xx or F1xx)

Hello. It's OK, now, for all low level functions ! After reading object of your link, i've get informations about the exact name that sould have the SysTick handler. Always no official document ... but in my directories ! I've found .../arduino-1.8.13hardware/Arduino_STM32-master/STM32F4/cores/maple...
by jcbuntu
Tue Jul 13, 2021 9:08 am
Forum: Projects
Topic: how catch interrupt in low level code ? ( STM32F4xx or F1xx)
Replies: 5
Views: 3442

Re: how catch interrupt in low level code ? ( STM32F4xx or F1xx)

No ! i'm stupid ... my web requests was'nt the bests !
Your link seems really interesting and synthetic. I've a good work to understand and test these informations.
I'll post here when tests are in progress.
thank you.
by jcbuntu
Mon Jul 12, 2021 3:22 pm
Forum: Projects
Topic: how catch interrupt in low level code ? ( STM32F4xx or F1xx)
Replies: 5
Views: 3442

how catch interrupt in low level code ? ( STM32F4xx or F1xx)

Hello. I would, now, code without external libraries or others facilities. Documentation STM is very heavy and it's good for ... neurons ! :) I've tried, with success, to work with timers and theirs different channels on inputs and outputs pins. But for interrupts, i'm blocked ... I use Roger's core...
by jcbuntu
Mon Jul 12, 2021 1:56 pm
Forum: General discussion
Topic: How to measure the duty-cycle of an signal?
Replies: 4
Views: 2694

Re: How to measure the duty-cycle of an signal?

I've forgot : in Arduino IDE, pulseIn() work fine ...

Go to advanced search