Resolved! how to only output stm32 pwm CH1N and disable CH1, in "pwm generation CH1 CH1N" mode
the below code is not working for me //HAL_TIM_PWM_Start(&htim15,TIM_CHANNEL_1);HAL_TIMEx_PWMN_Start(&htim15,TIM_CHANNEL_1);
Ask questions, find answers, and share insights on STM32 products and their technical features.
the below code is not working for me //HAL_TIM_PWM_Start(&htim15,TIM_CHANNEL_1);HAL_TIMEx_PWMN_Start(&htim15,TIM_CHANNEL_1);
Hi, I have STM32F091RCTx and want to send PWM generated signals on 2 PIN's.//... HAL_TIM_PWM_Start_DMA(&htim1, TIM_CHANNEL_1, (uint32_t*)LedData, LED_DATA_LENGTH); //... void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim) { if (htim ==...
I configured the EXTIs for 16 inputs from PD0 to PD15, rising and falling edge, IRQ1 for PD0, IRQ2 por PD1, and so on as must be for groups 5-9 and 10-15 IRQ Handler. I debug the program with a breakpoint in each EXTI_IRQ_HANDLER and all of them are ...
Hi Im using the stm32L4 , and if not coming out of standby mode I update the time variables. And all works as expected, It goes into standby mode using the following after a period of time. "HAL_PWREx_EnableSRAM2ContentRetention();HAL_PWR_EnterSTAN...
Posted on April 20, 2016 at 18:24This is a maybe stupid question but I cannot find a good (for me) explaination of how to use them. What the acronym is meant for?I see in the docs'The peripheral initialization is done through HAL_PPP_Init() while th...
Hello, I had a general inquiry about using SPI. We are trying to use the STM32F446xC as the microcontroller to control a SPI-to-CAN controller (TCAN4550) which does 32 bit transfers. The microcontroller can only perform 8 or 16 bit transfers through ...
Hello,I am trying to generate a complementary PWM with a timer in my STM32H723VGTx, I configured channel 1 on timer 1 with the PWM Generation CH1 CH1N mode.I set all the parameters of the base timer and the value for the pulse of PWM, but during the ...
HiAssume that i set up an H-bridge and and control it via the HRTIM block and use the build in deadtime features. I then also enable a couple of faults. The bridges safe state will be to set both lower transistors to be OFF and the two upper once to ...
I am using LPTIM1 of an STM32WB55 to read the outputs of a quadrature encoder.If I disconnect either of the two inputs, the timer continues to increment or decrement.Is there any way to stop the counter changing value when one of the in puts is missi...
Hi,Currently I am working on a stm32 & LTC4015 based smart charger project. When I followed the data sheet the smbus or i2c read & write operation is given as below:-SMBus WRITE WORD PROTOCOL:-S SLAVE ADDRESS Wr A COMMAND CODE A DATA BYTE LOW A DATA...