Resolved! Cannot set full PWM
If I set the Counter Period (AutoReload Register) to max 0xFFFF and the TIM capture/compare register to 0xFFFF too, I cannot get a full width output, I still get one tick on output.Is that expected?
Ask questions, find answers, and share insights on STM32 products and their technical features.
If I set the Counter Period (AutoReload Register) to max 0xFFFF and the TIM capture/compare register to 0xFFFF too, I cannot get a full width output, I still get one tick on output.Is that expected?
For example, sending a 1.5second on-time pulse? It would also be helpful to be able to set a delay before the pulse starts as well as the 'repetition' of the pulse. The TIMER1 does have the required features but not sure how to scale down the frequ...
I am not able to get pin PE9 to toggle using timer1 and Channel1 as a PWM Output. I have tried different configurations for the timer with no success. The timer does run as expected, and all parameters and interrupts work. The only issue is pin PE9 d...
#include "stm32l4xx.h"#include <stdint.h>#define SYS_FREQ 16000000#define APB1_CLK SYS_FREQ#define UART_BaudRate 115200#define GPIOAEN (1U<<0)#define UART2EN (1U<<17)#define CR1_TE (1U<<3)#define CR1_UE (1U<<0)#define ISR_TXE (1U<<7)static void u...
Hi All,I am developing the standby mode to achieve low power consumption due to the battery-operated device application.I have tested it with the eval kit and configured the wake source pin as well with the available user button(in blue color) connec...
I am currently working with the Nucleo - F410RB and am trying to get the following code to run on this MCU. The code can be found at: https://github.com/AlkaMotors/AM32-MultiRotor-ESC-firmware . I understand that this code is not written for this pa...
I have a STM32F7xx MCU connected to a Winbond W25Q01. The datasheet says the chip will run up to 133MHz. If I set the MCU clock to 108MHz and the quadspi clock prescaler to 0 so that they are running at the same frequency, the chip initializes and c...
Hello,I have 15ADC channel , I read the ADC channel when some external event is gnerated ,for eg when the battery is connected to one ADC channel then the interrupt gets generated then I have to read that channel , so in ADC interrupt handler I have ...
Timer2 uses timer input capture mode. The input is coming from a function generator and is a block signal. It triggers the capture callback on falling edge. On the capture Callback interrupt I read in the capture compare register of Timer2 and I chan...