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

ADC Sampling Without Any Delay For 1 Minutes

I need to save adc data for 1 minutes. I am using ADC interrupt for 2651 sample per second. I have 2 buffer on adc interrupt. In main, in the while section if flag is 1 i am writing adc1 buffer values to sd card with dma. If flag is 2 i am writing ad...

D.K. by Associate II
  • 296 Views
  • 0 replies
  • 0 kudos

How to handle SPI DMA (50Mbits/s) and While() loop?

Hello!I use SPI DMA (NSS always down) communication between 2pcs H743ZI.Everything work fine, till I don't change SPI speed to higher frequency (6MBits/s)It seems like, the DMA interrupts don't let enough time for While() to run.EXAMPLE:... uint8_t p...

0690X00000AABxVQAX.png 0690X00000AABxLQAX.png 0690X00000AABxGQAX.png
SFeje by Associate II
  • 866 Views
  • 3 replies
  • 0 kudos

STM32F334 & SPI Modes

Hi,The ILI9341 display https://cdn-shop.adafruit.com/datasheets/ILI9341.pdfas on Page #35/233, is it using SPI MODE:3 ? Can someone clarify ?Slightly confused with the timing diagram for the 4 line Serial interface and hence my question.I am trying t...

0690X00000AARJOQA5.jpg

Hi I would like to use a COMP to do the following: 1) clear the output of a PWM (TIM2) 2) keep the original off time .

  ie: due to 1st request: dont finish a full PWM cycle, but make the PWM think that the cycle will end at the time that OUT was forced to low+ duty low time (shortening the cycle time).1st request was easy: I've connected COMP to TIM2_ETR.2nd request...

YWhit by Associate III
  • 427 Views
  • 0 replies
  • 0 kudos

STM32F407VET USART example

Hi community, I'm searching a USART example , STM32F407VET​First, I create code by using STM32CubeMX. ​I has try it but it is too hard to use that. ​I felt 'HAL UART' example of length of the array that receive and send , has limited. (or need more b...

BSang by Associate III
  • 966 Views
  • 5 replies
  • 0 kudos

FMC: Burst access fail with continuous clock ?

Hello,We are struggling for a while with bank2 access in continuous clock.We are using FPGA connected to bank2 in FMC bus.We work with FIFO access in FPGA (a single address for the FIFO)Single register access works fine, but with burst access there a...

ranran by Senior II
  • 573 Views
  • 2 replies
  • 0 kudos

Microcontroller stucks when uart not connected

i am using stm32L072I am using uart1 in the code I found that code doesn't works ,if i don't connect a usb to uart converter between PC and the microcontroller .When i connect usb to uart connector and reset microcontroller ,it starts working :wear...

SA.17 by Associate III
  • 451 Views
  • 0 replies
  • 0 kudos