STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

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
  • 1106 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 Senior
  • 596 Views
  • 0 replies
  • 0 kudos

Resolved! stm32L031K6T6 doesn't work, but it works in stm32L011K setting

I'm starting project with custom board that is controlled in STM32L031K6T6 MCU.I set up that with cube ide and wrote simple Timer code.Unfortunately, It isn't work. Not only that, Nothing is happend(uart, Hal_Delay, GPIO...)But oddly enough, it is wo...

0693W00000Y7AaiQAF.png
remoter by Associate III
  • 1526 Views
  • 5 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
  • 4147 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
  • 2802 Views
  • 3 replies
  • 0 kudos

Resolved! Possible to use TWO circular DMA buffers for same I2C rxd?

Hello,I would like to use TWO circular DMA buffers for ONE I2C interface.Depending on received address byte, in the ADDR interrupt I would always enable the correct circular buffer (disabling the other one - so at one time always only ONE buffer is a...

flyer31 by Senior
  • 1951 Views
  • 3 replies
  • 0 kudos