STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

CPOL & CPHA setting in NSS pulse mode.

RM0440 Rev 7 (STM32G4), 39.5.12 NSS pulse mode.It is written on the page 1753: “This mode is activated by the NSSP bit in the SPIx_CR2 register and it takes effect only if the SPI interface is configured as Motorola SPI master (FRF=0) with capture on...

AVasi.11 by Associate II
  • 1366 Views
  • 6 replies
  • 0 kudos

I want to DMA Input Capture (TIM1 CCR1) frequency values towards QSPI i/f (Single SPI Mode, W25Q128JV connected), store in Flash, DMA request being triggered by TIM6 ; on a STM32L412 based board. Need your help...

Hello All,I am adding parts of my code. Storing to flash is working if I DMA TIM1 CCR1 to memory and then copy from memory buffer to Flash.I assumed that writing to QSPI_DR will trigger transfer to Flash.Is it feasible to DMA to QSPI?////////////////...

BSam by Associate II
  • 600 Views
  • 2 replies
  • 0 kudos

Resolved! I2C DMA not triggering callback function

Hi,Could you please suggest a direction with my problem?I try to read and write data to a sensor via i2c with DMA1 in an STM32 Nucleo F401 board where a FreeRTOS is running.I can read the sensorata with polling methode, and next to the I2C an UART is...

DMedv.1 by Associate II
  • 3849 Views
  • 5 replies
  • 0 kudos

How to round division on STM32G0

I'm trying to implement an integer division with rounding. Obviously, by default integer division does floor and I was thinking I could use the remainder to determine if I should add 1 to my result.Processor cycles are at a premium in this solution (...

Konami by Senior II
  • 2343 Views
  • 7 replies
  • 0 kudos