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

SPI Transmit only last word of byffer

HiI'm trying to transmit 4 16-bit words via SPI as slave using interrupts and HAL.I'm using STM32F107VCT6So I specified a buffer:uint16_t buf[] = {0x000F, 0x00F0, 0x0F00, 0x0004};And started to transmit in main:MX_SPI2_Init(); HAL_SPI_Transmit_IT(&hs...

0693W000000XIgzQAG.png
MAnik by Associate
  • 753 Views
  • 3 replies
  • 0 kudos

Resolved! STM32H7 - SAI sampling frequency is 45.5kHz instead of 44.4kHz

Dear all, I am using SAI in STM32H7 to control an external audio codec. Everything works fine except the fact that when I look at the actual sampling frequency (SAI FS signal ) I measure 45.5kHz rather than 44.1kHz as specified in the init. The clock...

Mdi c by Associate III
  • 1379 Views
  • 2 replies
  • 0 kudos

Question about DMA

I have few question about DMA.1)Is that callback function need to be register?2)During the memory copied the source to the destination using DMA is that necessary need include the callback function?CH

Cl.1 by Associate II
  • 346 Views
  • 0 replies
  • 0 kudos

RTC date update - Problem with VBAT / Low Power Mode

Hi all,I searched the forum for my specific problem, but i did not find any solution for this weird occurrence. On my STM32F103 i run the RTC, which is working fine, as long as it is connected to the USB power. I store the date on 2 backup registers,...

MMuts.1 by Associate II
  • 3120 Views
  • 8 replies
  • 0 kudos

memory to memory DMA transfer

Hi all, i want to ask about except from the reference manual where can i find out more question about the memory to memory DMA transfer.I want to figure out is there trade-off for memory to memory DMA transfer when the data size is big and small?Rega...

Cl.1 by Associate II
  • 982 Views
  • 4 replies
  • 0 kudos

Uart communication strucking

Hi, My self sai. Am working on stm32f745vg controller . In my application am transmitting 7byte data through uart.Sometimes entire uart transmission is blocking and untill power off my system is not responding to any command.Can i know why uart i...

steja by Associate II
  • 532 Views
  • 1 replies
  • 0 kudos

TS_CAL2 in 'G0x0

In the STM32G030/070 datasheets, TS_CAL2 is missing.However, as @Andreas Bolsch​ pointed out in this thread, RM0454 for the G0x0 (!) explicitly refers to TS_CAL1 *AND* TS_CAL2 values from DS, and the formula given in the RM makes no sense at all wit...

ADC STM32f0xx Hi everyone, I want to turn on LEDs whith a Potentiometer an ADC in STM32f091RC nucleo Board. I wrote this code, but it doesn't work. I am a beginner and I do not know where I have mistakes. I would be grateful if someone please help me.

#include <stdio.h> #include "diag/Trace.h" #include "stm32f0xx.h" #include "stm32f0xx_conf.h" #include "pin.h" #include "adc.h"   int main(int argc, char* argv[]) {   //(#) ADC pins (pA1) configuration --------------------------------------------...

Nmo.1 by Associate III
  • 3066 Views
  • 16 replies
  • 0 kudos