Hello
In an Arduino program, I use DMA transfer to the timer. At the end of the transfer, I want to stop the timer. With STM32CubeIDE, I can do this using the "handler": HAL_TIM_PWM_PulseFinishedCallback.
But in STMduino, this callback doesn't seem to be called.
Here is my code:
extern "C" void ...
Search found 3 matches
- Tue Dec 17, 2024 7:44 am
- Forum: General discussion
- Topic: HAL_TIM_PWM_PulseFinishedCallback
- Replies: 1
- Views: 453
- Fri Mar 11, 2022 1:04 pm
- Forum: STM32G0 based boards
- Topic: serial UART1
- Replies: 2
- Views: 19412
Re: serial UART1
you must use PB6 instead of PB3 in the initialization! Yet the first in MX, we speak first of PB3??
- Fri Mar 11, 2022 12:52 pm
- Forum: STM32G0 based boards
- Topic: serial UART1
- Replies: 2
- Views: 19412
serial UART1
on a G041F8Px I can't use the UART1 (PB7, PB3)
Even if I initialize the port with
I can't send or receive.
What is strange is that the TX (PB3) is at idle low (and not high)??
Anyone have any idea, am I doing something wrong?
Even if I initialize the port with
Code: Select all
HardwareSerial Serial1(PB7,PB3); // RX, TX
What is strange is that the TX (PB3) is at idle low (and not high)??
Anyone have any idea, am I doing something wrong?