Pwm mode stm32
How can I use PWM output pulse in my program?Normally the PWM mode for instance for TIM1 will be generated on pin PA8, but I want to use the PWM signal internally in my code. How is it applicable?
Ask questions, find answers, and share insights on STM32 products and their technical features.
How can I use PWM output pulse in my program?Normally the PWM mode for instance for TIM1 will be generated on pin PA8, but I want to use the PWM signal internally in my code. How is it applicable?
I am using the QSPI (or dual-SPI) interface of the STM32L452 to create instructions for an LED driver using the HAL. I have managed to get it to work but I have to set quite absurd configuration options for the command to make it work.Here's my initi...
Hi guys, as the question suggests,Mentioned by many, to fully learn how the I2S behave I must use my own valid data, so I can see what happens to it.I am having a bit of problems getting this guy to worked, I want this to implement a DMA to emulate t...
Hi guys, been working on an I2S project for a while now and I am having such confusion on this bit registers "CHLEN" and "DATLEN". In Master mode it seems like CHLEN determines the frequency of the SLCK by 2 * CHLEN length * FS and data length I hav...
Hi,I have setup STM32F446 MCU such that, when pressing the user blue button, it will trigger an external interrupt. Inside the interrupt routine, it contains the I2S receive function:void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin){ int16_t audio_buff...
I wish to print "String recieved" if /r or /n is detecetd otherwise i wish to print "Error" .The problem is after detecting the first string i receive an output "String Received" After which i also receive error message. I have doubt if i have implem...
I have my clock configured to external crystal 80MHz but accidentally I connected another board without crystal. STM32 started OK using internal oscillator at 4 MHz - HAL_Delay works fine, UART works fine but I2C is very slow. It looks like I2C HAL l...
I know this is a very basic question, but I want to know to decide whether the polling method is better or the interrupt method is better for time-critical applications.Kindly help me ...
Hello I Have stm32f107vct6 And I Want to send data from master to slave I2C Protocol . I Wrote Some code But it didn't work.Do you Have complete Example for i2c?this is my code Master:while(1){ while(!__HAL_I2C_GET_FLAG(&hi2c1,I2C_FLAG_BUSY)) HAL...