STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! COMP triggered ADC too slow

Hi,1. [Part Number] NUCLEO-L432KC2. [Environment] STM32CubeIDE 1.14.13. [Schematics] NA4. [Details] I am trying to measure a fast pulse with the ADC (~3 us rise time). I would like to trip a comparator when the pulse starts to rise and then start an ...

icecats_0-1712437905076.bmp icecats_1-1712438593813.png
icecats by Associate II
  • 1526 Views
  • 3 replies
  • 1 kudos

SPI CRC via DMA dosen't work

Dear ST, I use STM32F777 and try to receive SPI Data as a slave via SPI DMA. That works only pretty fine, when I don't activate the CRC Checksum calculation. I receive after the DMA threshold the expected data, but when I set: .CRCCalculation = SPI_C...

UlfS by Associate II
  • 1440 Views
  • 10 replies
  • 0 kudos

Resolved! interrupt priority for I2C with DMA on STM32G4

When using I2C with DMA on an STM32G4, is there a recommended relative ordering of the I2C event, I2C error, and DMA interrupt preemption priorities?I have not been able to find anything in documentation about this (though I might have missed it). Wh...

mjones37 by Associate
  • 241 Views
  • 1 replies
  • 0 kudos

SPI slave on STM32U535

Hi,I'm trying to implement SPI slave on STM32U535 ( I have also NUCLEO-U575I). I need the SPI slave to have 4 bytes communication, 1st byte is a command byte, that has 2 options of command, the next 3 bytes the slave sends the content of one of 2 arr...

lFurm.1 by Associate II
  • 232 Views
  • 2 replies
  • 0 kudos

STM32F405 + tlv320aic3204 - Audio Driver

Hi everyone, I hope someone can help me find or create a driver to communicate the tlv320aic3204 with the stm32f405 on my own custom board. I have been trying to replicate this tutorial (STM32 I2S ADC DMA & Double Buffering - Digital Audio Processing...

Time-based input capture

Hi all, I have an application where I'm trying to use input capture to capture pulse intervals in a specific period of time.  At maximum, the pulses will happen frequently enough that I can't use the straight interrupt capture with HAL_TIM_IC_Start_I...