How to use DMA to change PWM frequency?
hi guys. I want to use DMA to change the PWM frequency in the pwm running. I used DMA to change the ARR of Tim, but it was failed. So how to change the pwm frequency by DMA?
Ask questions, find answers, and share insights on STM32 products and their technical features.
hi guys. I want to use DMA to change the PWM frequency in the pwm running. I used DMA to change the ARR of Tim, but it was failed. So how to change the pwm frequency by DMA?
Hi,I bought a STM32L476 board. I started with the demo available in keil uVision and it worked fine easily, but it is closed, you cannot modify anything.My question is: may I follow the MOOC with this board? instructions require a different specific ...
Does anyone have the files or materials used in the MOOC STM32L4 workshop by any chance?thanks.https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-moocs/stm32l4-hands-on-workshop.html
I made a small wav-music player with a STM32L452. Reads data from SD card via SD 1 bit mode, and plays it over the DAC. Homemade jukebox, fun little project.My problem is: while all the small cards (up to 8 gig) I tested are o.k, larger cards do not ...
I'm implementing two channels of DMA in my STM32F302x using Timer 2 in input capture mode. Do I really need the HAL_DMA_RegisterCallback callback function? I'm using DMA interrupt mode so each channel has a DMA1_Channelx_IRQHandler that performs the ...
I need to receive signal information in percentage %.How can I convert/change received information ?Thank you
HI All,I Have the STM32F302R8. I am using comparator 2. What I want to do is have DACH1 feed a value to the inverting input and have PA7 connected to the non inverting input. For now, I am just wanting to generate an interrupt to get things working ...
I am using an NUCLEO-F429Zi to read a MPU over I2C ( 2C1, PB8, PB9). The applications works correct. The sensor returns the correct values. When the ST-Link is removed (cut away) from the board, the power supply Vin , the I2C connectivity fails. It ...
i can switch between all pin but this one is static, pin PC14 (I call it olcl).I think maybe one of the peripheral units in the card is catching it to me.this is the code and the setup.sbs_pol_Pin is swiching states properly. while (1) { HAL_GPIO_Wr...
I am using NUCLEO-G474RE as my hardware.STM32CubeIDE V1.3.1 and STM32G4 Fw V1.2.0.I am using ADC2 with 4 channels triggered by HRTIM CH B Compare 4 Injected.So these 4 channels are triggered interleaved, meaning that every HRTIM-CH-B Compare 4 only o...