STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

PWM with DMA, 8 bit

I am using STM32F401CCU. I am trying to generate PWM, using DMA. WHen i select DMA data size as word (16bit) it is working. But when I am trying to do Byte (8 bit) it is not working. Is it because the CCRx register 16 bit wide? Is there any way I can...

SumanB by Associate
  • 723 Views
  • 3 replies
  • 0 kudos

Regarding AD7768-4 FMCZ

Sir i am receiving Data for 1channel(8bit header + 24 bit Data ) using 16bit SPI and DMA in circular mode . i am not using AD7768 DRDY pin. I am recieving 1 vaild data after some grab data's (eg:0x00000000 , 0x008325DB) again somewhere vaild data(eg:...

SA  V.1 by Associate III
  • 297 Views
  • 0 replies
  • 0 kudos

Resolved! STM32L476 -- How to have a continuous timer that upon a button push can load a Compare Register with a debounce value and then generate an IRQ?

Hello....I have TIM1 clocking at 1ms. It rolls over at 1000 counts (ie 1 second). Within the pushbutton IRQ I add 50 to the timer register and disable the GPIO IRQ. I would also like to enable a compare IRQ here as well, such that after the counter c...

SWenn.1 by Senior III
  • 2305 Views
  • 14 replies
  • 0 kudos

Toggle led using external interrupt from push button

I want to toggle a led when an external interrupt happened. But I could not. That's my code using keil mdk for stm32f103c8t6 Any help, please?   #include "stm32f10x.h" void GPIO_Config (void) { RCC->APB2ENR |= (1<<2); // Enable GPIOA clock GPIOA-...

NNana.1 by Associate
  • 2992 Views
  • 7 replies
  • 0 kudos

Resolved! How to config the FIFO Threshold of OCTOSPI

According to my understanding, I can read/write data directly through the "DR" register. Why do I have to set the FIFO Threshold value? How to use the FIFO correctly during the reading and writing procedure?  And another question is that How to set ...

0693W00000WKyrJQAT.jpg
rsun.11 by Associate II
  • 1650 Views
  • 3 replies
  • 0 kudos