Search found 36 matches
- Fri Jul 07, 2023 6:52 pm
- Forum: General discussion
- Topic: TIM2 PWM newbie needs help with bare metal code
- Replies: 26
- Views: 17025
Re: TIM2 PWM newbie needs help with bare metal code
Sure dannyf, is true.
- Wed Jun 07, 2023 1:38 am
- Forum: General discussion
- Topic: TIM2 PWM newbie needs help with bare metal code
- Replies: 26
- Views: 17025
Re: TIM2 PWM newbie needs help with bare metal code
Hello dannyf , sure, you are right. In my case at my age 68, having programmed (very skillfully and in absolute assembler) my first M6800 in the 70s, I have spent most of my life programming in the 8 bit world. And made a living out of it, despite being an analog and discrete digital design engineer ...
- Wed Jun 07, 2023 12:25 am
- Forum: General discussion
- Topic: SIMPLE QUESTION BLUE PILL COMMUNICATIONS SETTINGS
- Replies: 10
- Views: 7230
Re: SIMPLE QUESTION BLUE PILL COMMUNICATIONS SETTINGS
Yes, solves a problem !
- Tue Jun 06, 2023 2:52 am
- Forum: General discussion
- Topic: SIMPLE QUESTION BLUE PILL COMMUNICATIONS SETTINGS
- Replies: 10
- Views: 7230
Re: SIMPLE QUESTION BLUE PILL COMMUNICATIONS SETTINGS
Hello hobbya , thank you for this excellent information.
I will take a closer look tomorrow, but I find interesting the 6 pin ST-Link V2.1
However I understand that the VCOM port ends in TX/RX pins and that these pins need to be connected to TX/RX in the Bluepill (STM32F103C8T6) with 2 wires. If so ...
I will take a closer look tomorrow, but I find interesting the 6 pin ST-Link V2.1
However I understand that the VCOM port ends in TX/RX pins and that these pins need to be connected to TX/RX in the Bluepill (STM32F103C8T6) with 2 wires. If so ...
- Mon Jun 05, 2023 8:00 pm
- Forum: General discussion
- Topic: SIMPLE QUESTION BLUE PILL COMMUNICATIONS SETTINGS
- Replies: 10
- Views: 7230
Re: SIMPLE QUESTION BLUE PILL COMMUNICATIONS SETTINGS
Hello friends, after some time, I would like to add something about my newbie experience.
I started using the bootloader but...
I reached the point in which I had to reFLASH the HID bootloader each time before Arduino uploads , because the bootloader under certain conditions, got corrupted. Later ...
I started using the bootloader but...
I reached the point in which I had to reFLASH the HID bootloader each time before Arduino uploads , because the bootloader under certain conditions, got corrupted. Later ...
- Mon Jun 05, 2023 7:52 pm
- Forum: General discussion
- Topic: STM32 BluePill Newbie can't enable timer interrupts
- Replies: 1
- Views: 3085
Re: STM32 BluePill Newbie can't enable timer interrupts
Hello friends. This is an auto reply.
I could solve my problem.
Here is a link to my solution.
Case close from my side.
Roberto
I could solve my problem.
Here is a link to my solution.
Case close from my side.
Kind regards
Roberto
- Mon Jun 05, 2023 7:49 pm
- Forum: General discussion
- Topic: TIM2 PWM newbie needs help with bare metal code
- Replies: 26
- Views: 17025
Re: TIM2 PWM newbie needs help with bare metal code
Thank you all, dear friends, for your replies.
I am sorry for the delay in responding, but I am still travelling for business reasons, and sometimes I remain absent for a little while.
As I had to solve my problem fast because I need STM32 for new pending jobs, I decided to do the following:
1 ...
I am sorry for the delay in responding, but I am still travelling for business reasons, and sometimes I remain absent for a little while.
As I had to solve my problem fast because I need STM32 for new pending jobs, I decided to do the following:
1 ...
- Mon May 22, 2023 2:13 am
- Forum: General discussion
- Topic: STM32 timer interrupt
- Replies: 6
- Views: 15500
Re: STM32 timer interrupt
khoih-prog I will always take a look at your advices. But my problem is how to register an interrupt vector or pointer from an interrupt event generated by the timer, in my case F1 TIM! or TIM2 .
I already tested your library, but it was slow for my purposes and need to have some more control ...
I already tested your library, but it was slow for my purposes and need to have some more control ...
- Mon May 22, 2023 12:26 am
- Forum: General discussion
- Topic: TIM2 PWM newbie needs help with bare metal code
- Replies: 26
- Views: 17025
Re: TIM2 PWM newbie needs help with bare metal code
Hi dannyf , I need your help with this.
I spent almost the whole day to try to make this work.
Some values maybe wrong, but with my errors in the code, I can't make this thing interrupt.
Could you check my code, taken from the one you posted before?
Surely it must be simple solution. Excuse my ...
I spent almost the whole day to try to make this work.
Some values maybe wrong, but with my errors in the code, I can't make this thing interrupt.
Could you check my code, taken from the one you posted before?
Surely it must be simple solution. Excuse my ...
- Sun May 21, 2023 4:20 am
- Forum: General discussion
- Topic: TIM2 PWM newbie needs help with bare metal code
- Replies: 26
- Views: 17025
Re: TIM2 PWM newbie needs help with bare metal code
dannyf , I have your initialization function for TIM2 running, from you previous post:
https://www.stm32duino.com/viewtopic.php?p=12300#p12300
I will ask you to teach me how to use TIM2CH1toPIN()
The compiler complaints here:
RCC->APB2ENR |= RCC_APB2ENR_AFIOEN; //enable AFIO
AFIO->MAPR = (AFIO ...
https://www.stm32duino.com/viewtopic.php?p=12300#p12300
I will ask you to teach me how to use TIM2CH1toPIN()
The compiler complaints here:
RCC->APB2ENR |= RCC_APB2ENR_AFIOEN; //enable AFIO
AFIO->MAPR = (AFIO ...